Last modified: 2014-01-30 15:06:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59132, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57132 - mobile users can be redirected to a non-existent www.m.project.org domain
mobile users can be redirected to a non-existent www.m.project.org domain
Status: NEW
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: ops
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-16 08:39 UTC by jeremyb
Modified: 2014-01-30 15:06 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description jeremyb 2013-11-16 08:39:27 UTC
mobile users can be redirected to a non-existant www.m.project.org domain

Unsure if this is a new issue since switch from squid to varnish. Also, don't know who exactly to blame (varnish vcl or apache conf?)

$ curl -vsL -A ANDROID https://wikipedia.org/wiki/foo 2>&1 >/dev/null | egrep -e '^< HTTP/1' -e '^< Location: ' -e $'^\* (Issue another request to this URL:|getaddrinfo\(3\) failed for|Couldn\'t resolve host)'
< HTTP/1.1 301 Moved Permanently
< Location: http://www.wikipedia.org/wiki/foo
* Issue another request to this URL: 'http://www.wikipedia.org/wiki/foo'
< HTTP/1.1 302 Found
< Location: http://www.m.wikipedia.org/wiki/foo
* Issue another request to this URL: 'http://www.m.wikipedia.org/wiki/foo'
* getaddrinfo(3) failed for www.m.wikipedia.org:80
* Couldn't resolve host 'www.m.wikipedia.org'
Comment 1 jeremyb 2013-11-16 08:40:31 UTC
btw, does happen with both HTTP and HTTPS.
Comment 2 Liangent 2013-11-16 17:26:32 UTC
Why DNS?
Comment 3 MZMcBride 2013-11-16 17:31:44 UTC
Domain related? Seemed better than general. Or Cunningham's Law? I dunno.
Comment 4 Andre Klapper 2013-11-25 16:25:37 UTC
Confirming comment 0 (though I don't get the last two lines of output).
Comment 5 jeremyb 2013-11-25 17:00:45 UTC
back to general. it's not dns. probably is varnish (VCL) but I haven't checked.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links