-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find octopi.local #1234
Comments
Could you maybe post a screenshot / photo of the error so I can check where exactly OctoDash has an issue? |
Will try to get a picture asap. But it is right after boot. To be clear, I live in an apartment which is why I have a different network in my garage (~100m away) |
Does the pi have an internet connection if it's in the garage? Please aslo try pinging octopi.local from the Pi itself. If OctoPrint and OctoDash are running on the same machine you can also just set your host in the settings to either localhost or 127.0.0.1 then OctoDash doesn't require the internet connection. |
Yes it has another network so I can remote control it. Haven't tried pinging octopi.local but as I said it works with web browser on both computer and phone. Will probably reinstall octopi, octoprint and octodash. Hopefully it will work then. Would still be interested if you could figure out why I had problems though. I'm reiterating now but the only difference is the network, I have both networks enabled in the octopi config which does work, that I am certain of. My gut feeling was probably wrong, even if the API key would change when switching network, wouldn't octodash just ask for the new one? |
If the API Key was wrong OctoDash would throw a number of 403 errors. To get behind this I'd need the exact error message, this way I can check which part of the code isn't happy with your setup. |
From a networking perspective you really shouldn't use "octopi.local". Instead use "localhost". The reason being that octopi.local resolves to your primary external network interface whereas localhost will resolve to the loopback interface. Also being able to connect to octopi.local from the web browser proves that the mDNS server (avahi-daemon) works on the Pi. It does not prove that the pi itself is correctly able to send out mDNS requests. The only way to prove that is to open up a console on the pi and try to ping octopi.local. But regardless you should always use localhost or the ipaddress 127.0.0.1 to connect to yourself. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@erra-ch that all points to an underlying issue with Octopi / Linux networking. "getaddressinfo EAI_AGAIN" is the error returned when the DNS server cannot resolve the requested name. This is corroborated with your inability to ping octopi.local Unfortunately that's not an Octodash issue, there's an underlying problem with your Octopi that multicastDNS addresses (those ending with .local) are not resolving. Using "localhost" works around this issue since localhost is not multicastDNS but the problem likely still remains. There's a few things we can do to look at the underlying network.
|
Thanks for chiming in here @thegarbz! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
What doesn't work?
Octodash says it can't connect to octopi.local
What did you already try?
I can access it with a browser, so the problem doesn't seem to be my router.
General Information:
Additional context
The only difference is I set it up on my home network, does the API key change when switching network?
To be clear, OctoPrint is working as it should on my other network
The text was updated successfully, but these errors were encountered: