Octoprint: WIFI fine, but no internet connection to install plugins

Created on 10 Mar 2018  路  10Comments  路  Source: OctoPrint/OctoPrint

What were you doing?

Attempting to install plugins via the plugin manager. Indicates no internet access.

What did you expect to happen?

Able to browse/install plugins from within Octoprint.

What happened instead?

Octoprint reports no internet connection. I was able to verify via SSH that Octopi/Raspberian(?) does in fact have an internet connection using PING, I can get a connection to any external site via both IP and and name resolution (i.e. google.com). WIFI connection is seemingly fine as I can run the printer without a problem via any browser on the local network.

Did the same happen when running OctoPrint in safe mode?

Yes. There is no difference.

Version of OctoPrint

OctoPrint 1.3.6

Operating System running OctoPrint

OctoPi 0.14.0 (running on Pi Zero W)

Printer model & used firmware incl. version

Rostock Max V2, Repetier 0.91

Browser and Version of Browser, Operating System running Browser

Chrome 64.64.0.3282.186, Windows 10

Link to octoprint.log

https://pastebin.com/g6YBrEuZ

Link to contents of terminal tab or serial.log

https://pastebin.com/TKeH00FY

Link to contents of Javascript console in the browser

https://pastebin.com/cK6Q6Wqv

Screenshot(s)/video(s) showing the problem:

image

I have read the FAQ.

bug needs information triage

Most helpful comment

What do you have configured under Settings > Server > Connectivity Check? Because it looks like whatever you have configured there isn't reachable by OctoPrint and hence it has to assume it's offline. Could be caused by some firewall configuration. If push comes to shove, disable the connectivity check by unchecking the box that says "enable regular connectivity check" and save. OctoPrint will then assume it's always online.

All 10 comments

Hi @dseebauer,

It looks like there is some information missing from your bug report that will be needed in order to solve the problem. Read the Contribution Guidelines which will provide you with a template to fill out here so that your bug report is ready to be investigated (I promise I'll go away then too!).

If you did not intend to report a bug but wanted to request a feature or brain storm about some kind of development, please take special note of the title format to use as described in the Contribution Guidelines.

Please do not abuse the bug tracker as a support forum - if you have a question or otherwise need some kind of help or support refer to the Mailinglist or the G+ Community instead of here.

Also make sure you are at the right place - this is the bug tracker of the official version of OctoPrint, not the Raspberry Pi image OctoPi nor any unbundled third party OctoPrint plugins or unofficial versions. Make sure too that you have read through the Frequently Asked Questions and searched the existing tickets for your problem - try multiple search terms please.

I'm marking this one now as needing some more information. Please understand that if you do not provide that information within the next two weeks (until 2018-03-24 17:40 UTC) I'll close this ticket so it doesn't clutter the bug tracker. This is nothing personal, so please just be considerate and help the maintainers solve this problem quickly by following the guidelines linked above. Remember, the less time the devs have to spend running after information on tickets, the more time they have to actually solve problems and add awesome new features. Thank you!

Best regards,
~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being, so don't expect any replies from me :) Your ticket is read by humans too, I'm just not one of them.

What do you have configured under Settings > Server > Connectivity Check? Because it looks like whatever you have configured there isn't reachable by OctoPrint and hence it has to assume it's offline. Could be caused by some firewall configuration. If push comes to shove, disable the connectivity check by unchecking the box that says "enable regular connectivity check" and save. OctoPrint will then assume it's always online.

Thanks you very much for the response. Disabling the connectivity check did fix the repository access. The check was configure to use google (8.8.8.8) on port various ports (22, 53, 5000, etc. Not sure the default). I do not have any firewall set up outgoing, unless it is buried in the Raspberian install that I am not aware of. I saw a couple others with same issue out there and a re-flash was suggested, which may indicate something is setup/changed incorrectly in Raspberian.

It could be a firewall at ISP level. Rasbpian/OctoPi doesn't come with anything like that included and in fact the connectivity check on stock OctoPi works flawlessly under normal circumstances. My money would definitely be on some kind of filtering on your network being the cause here. As I said, that could also be outside of your control at ISP level.

I stumbled across this issue with the same problem, and I fixed the connectivity check by changing the IP to OpenDNS Cloudflare with 1.1.1.1 instead of the Google DNS 8.8.8.8 set by default.

I have the same issue https://discourse.octoprint.org/t/octoprint-claims-to-not-have-a-connection-to-the-internet-but-it-does/177
I turrned off the check and instantly I got notified of 3 months of updates. During the time of the issue the pi was able to access the internet (Astroprint plugin for Octo worked fine)

For me this issue was resolved when I update Date+Time on the raspberry...

I stumbled across this issue with the same problem, and I fixed the connectivity check by changing the IP to OpenDNS with 1.1.1.1 instead of the Google DNS 8.8.8.8 set by default.

I changed the setting to 1.1.1.1 and now it works fine. Thanks @IntegersOfK

Had the same issue, realized I wasn't getting update notifications and investigated, found it said I had no internet, then learned it checked if it was online via ping, and then remembered "oh right, the admins at this college block ping".... Changed it to ping an IP over my site to site VPN and bam a ton of update messages lol. Thanks :)

I stumbled across this issue with the same problem, and I fixed the connectivity check by changing the IP to OpenDNS with 1.1.1.1 instead of the Google DNS 8.8.8.8 set by default.

For the record, 1.1.1.1 (and 1.0.0.1) is operated by CloudFlare, not OpenDNS (208.67.222.222 and 208.67.220.220).

Was this page helpful?
0 / 5 - 0 ratings