I've had Octopi running fine and printing for 10+ hours but it suddenly loses network connection so I can't login to it (either via web-browswer at octopi.local or via SSH).
As I can't access it, I can't (yet) post any logs.
It's still continuing to print fine so I don't want to do a hard reset on it until the print finishes. I assume withoiut being able to connect, there's no way to force it to reconnect to the network?
It turns out that why octopi.local has stopped working, I can access it directly via the IP address. Does that suggest some kind of bonjour issue or something?
I'm on a mac and octopi is running on a rasperberry pi 3b.
octooprint.log just says
2020-04-17 15:05:50,609 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 15:20:50,612 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 15:35:50,615 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 15:50:50,618 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 16:05:50,621 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 16:20:50,627 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 16:35:50,630 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 16:50:50,635 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 17:05:50,638 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 17:20:50,640 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 17:35:50,641 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 17:50:50,646 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 18:05:50,651 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 18:20:50,652 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 18:35:50,655 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 18:50:50,656 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 19:05:50,658 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 19:20:50,662 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 19:35:50,667 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 19:50:50,681 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 20:05:50,688 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 20:20:50,691 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 20:35:50,695 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 20:40:12,581 - octoprint.server.util.sockjs - INFO - Client connection closed: fe80::41e:400d:4ef5:fdfa
2020-04-17 20:50:50,697 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 21:05:50,700 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 21:20:50,706 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-04-17 21:35:50,710 - octoprint.server.heartbeat - INFO - Server heartbeat <3
This indicates that earlier your MacBook resolved octopi.local into an IPv6-based address and used that. So then you suggest that you then lost this connection (client to server) so it's possible that something changed for the IPv6 information or the broadcast address related to octopi.local during this period of time. Or maybe the MacBook cleared its arp cache during that same period.
Alright, so you've got something on your Pi which uses Docker. Did you install anything other than the flashed OctoPi IMG file?
I've always had issues when the RPI was running with IPV6 enabled. If you log into the pi and do "sudo nano /boot/cmdline.txt
And at the very end of the line add "ipv6.disable=1"
Do not press enter!!!
do a CTRL X then Y and reboot
I had spent weeks trying to debug network connection loss issues on my RPi 3B+ and what finally solved it for me were doing three things at the same time:
Setting a static IP address
Disabling WLAN power management
Disabling IPv6 as mentioned by 5ft24 earlier in the thread
Since then I haven't had a single issue with the network connection.