Page MenuHomePhabricator

Redirect handling issues with RB and mobile-sections
Closed, InvalidPublic

Description

Today I saw several entries in the log file of scb2001 with 404s for redirected pages:
na.wikipedia.org/v1/page/mobile-sections/User%3AV(g)
es.wikipedia.org/v1/page/mobile-sections/El_doce

some deleted pages:
bn.wikipedia.org/v1/page/mobile-sections/Bjoern_Borg
bn.wikipedia.org/v1/page/mobile-sections/বিয়ন_বরি

Since this is from a codfw machine this is probably a ChangeProp issue.
BTW: when I try to run this on my dev box it works:
http://localhost:6927/es.wikipedia.org/v1/page/mobile-sections/El_doce

INFO: mobileapps/192 on scb2001: 404: https://mediawiki.org/wiki/HyperSwitch/errors/not_found (status=404, detail="Page or revision not found.", levelPath=info/404, request_id=a3c05ebd-f1bc-11e7-9448-87de7b6035d0)
    message: 404: https://mediawiki.org/wiki/HyperSwitch/errors/not_found
    --
    type: https://mediawiki.org/wiki/HyperSwitch/errors/not_found
    --
    request: {
      "url": "/es.wikipedia.org/v1/page/mobile-sections/El_doce",
      "headers": {
        "x-request-id": "a3c05ebd-f1bc-11e7-9448-87de7b6035d0",
        "content-length": "0"
      },
      "method": "GET",
      "params": {
        "0": "/es.wikipedia.org/v1/page/mobile-sections/El_doce"
      },
      "query": {},
      "remoteAddress": "10.192.48.67",
      "remotePort": 49986
    }

I'm also seeing several entries of 504s with redirects:
Found /en.wikipedia.org/v1/page/mobile-sections/Erin_Morrow_Hawley in the log file
https://en.wikipedia.org/api/rest_v1/page/mobile-sections/List_of_law_clerks_of_the_Supreme_Court_of_the_United_States

Event Timeline

mobrovac subscribed.

This is all known and normal behaviour. When pages are deleted/moved/redirected, you are seeing these MCS logs because MediaWiki emits events for the old and new page names, all of which are processed by ChangeProp/RB and others. In your examples, the first title has been deleted, while the second correctly redirects to https://es.wikipedia.org/api/rest_v1/page/mobile-sections/Canal_12_(C%C3%B3rdoba) . What is the exact concern here?

Thanks. I was just going through the log files to see if anything is up. I guess we can ignore these.