Hi, I have mycodo 8.9.2 running nicely on a Pi Zero W, and from this pi I can ping google.com and other URLs without issue - what should I look into if I’m seeing the “No internet connection detected. To upgrade Mycodo automatically, you will need an internet connection. Refresh the page when one is connected.” message when I try to upgrade?
(I’m also looking into this on my own and will update if I fix it!)
Looking at this, I see we’re using 22.214.171.124 as the test IP; I can go on the CLI and ping that IP no problem, though:
pi@casepi:~ $ ping 126.96.36.199
PING 188.8.131.52 (184.108.40.206) 56(84) bytes of data.
64 bytes from 220.127.116.11: icmp_seq=1 ttl=117 time=32.0 ms
64 bytes from 18.104.22.168: icmp_seq=2 ttl=117 time=90.5 ms
64 bytes from 22.214.171.124: icmp_seq=3 ttl=117 time=29.5 ms
(no outcomes yet, just adding more info…)
Since this is a Pi Zero, it may be too slow to receive a response before the timeout. Try increasing Internet Test Timeout in the configuration.
I changed the timeout to 300s and still see no ability to upgrade (although ping times for same IP are under 100ms).
I’ll keep looking around, maybe change the test IP. Thanks for the suggestions and help!
A ping is not analogous to what it’s doing, so I would not rely on that to suggest it is able to connect. Let me know if you find any issues.
I think I resolved it, although I don’t understand why the error happened to manifest as “can’t connect to internet”.
I forgot that this Pi was one I had previously upgraded to 8.10.0 and then quickly restored from a backup because of some other 8.10.0 change. So for me, going to Configure->Diagnostics->Delete “update” allowed me to load the Updates page successfully again.
Thanks for the quick help!
Thanks for the update. I’ll look into the update file potentially interfering with the internet test.