Subject: | Online check may not work anymore |
On one of my smoker systems online() reports false, which is wrong. Here's the state of the checks:
* http://www.msftncsi.com/ncsi.txt -> works
* http://google.com/ -> content is fetched, but the content check fails
* http://yahoo.com/ -> fails because of SSL certificate problems
* http://amazon.com/ -> returns a 503 Service Unavailable page
* http://cnn.com/ -> not checked, because we had already three bad results
Maybe Amazon does not like the User-Agent header. I get a 503 response also with:
lwp-request -H'User-Agent: LWP::Simple/6.15 libwww-perl/6.15' -eS http://www.amazon.com
The slightly different standard User-Agent header of lwp-request still works.
The reason for the SSL certificate problems is described here:
https://github.com/gisle/mozilla-ca/pull/5