Sry for my very late reply, I missed your answers somehow.
I came back because I remembered this issue and I have a new issue that seems very similar.
Lately I don't face the reload issues any more (very very rare, probaly fine). Two things that I can think of that I changed in the last months:
- Switched from Apple Airport to Unifi network.
- Restored a octopi backup, because of another issue (lagging prints)
This is interesting:
I have an iPhone and I use Safari. I use the same said for 2,4GHz and 5Ghz. So could this be the issue? It only works if the device chooses the 2,4Ghz network?
Now to my new issue:
Sometimes I cannot connect to octoprint from my iphone or my mac.
Some minutes ago I experienced this:
- I wasn't able to connect using my phone (using the IP adress in safari and the app "octo". BTW Octo often using a few tries to connect.
- Tried several times.
- Used an app to ping octopi from my phone. Ping was fine
- Went to my mac and tried it there. Did not connect
- Went to my iPad, which I use very often with octorprint and it worked immediately.
- After that my iPhone and Mac where able to connect again without issues.
What could cause this? Seems like the iPad stuck it somehow and I needed to connect with it, to make it work again.
I couldn't find a way to reproduce this, to this happens totally fortuitously.
And this is my logfile (changed the username).
192.168.0.100 is my iPhone
192.168.0.106 is my iPad
192.168.0.102 is my Mac
192.168.0.2 is my home assistant raspi
2019-12-16 16:34:16,373 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:34:40,195 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 16.19ms
2019-12-16 16:34:40,369 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 17.89ms
2019-12-16 16:34:44,449 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.22ms
2019-12-16 16:34:44,597 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.14ms
2019-12-16 16:34:44,711 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.27ms
2019-12-16 16:34:46,427 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:34:46,521 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.100) 17.76ms
2019-12-16 16:34:48,657 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2019-12-16 16:34:48,667 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2019-12-16 16:34:48,671 - octoprint.plugins.nautilus - INFO - >>>> Sending notification type [error] to 1 device(s)
2019-12-16 16:34:48,673 - octoprint.plugins.stats - INFO - Printer Stats - on_event
2019-12-16 16:35:10,105 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.11ms
2019-12-16 16:35:10,144 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.05ms
2019-12-16 16:35:15,210 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 8.14ms
2019-12-16 16:35:15,234 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 8.60ms
2019-12-16 16:35:15,259 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 8.36ms
2019-12-16 16:35:16,530 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:35:16,694 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2019-12-16 16:35:16,711 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2019-12-16 16:35:16,716 - octoprint.plugins.nautilus - INFO - >>>> Sending notification type [error] to 1 device(s)
2019-12-16 16:35:16,717 - octoprint.plugins.stats - INFO - Printer Stats - on_event
2019-12-16 16:35:23,363 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.100) 8.20ms
2019-12-16 16:35:26,878 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2019-12-16 16:35:26,895 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2019-12-16 16:35:26,900 - octoprint.plugins.nautilus - INFO - >>>> Sending notification type [error] to 1 device(s)
2019-12-16 16:35:26,901 - octoprint.plugins.stats - INFO - Printer Stats - on_event
2019-12-16 16:35:33,556 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.100
2019-12-16 16:35:40,352 - tornado.access - WARNING - 404 GET /apple-touch-icon-precomposed.png (192.168.0.100) 7.34ms
2019-12-16 16:35:40,362 - tornado.access - WARNING - 404 GET /apple-touch-icon.png (192.168.0.100) 6.44ms
2019-12-16 16:35:40,373 - tornado.access - WARNING - 404 GET /favicon.ico (192.168.0.100) 6.41ms
2019-12-16 16:35:40,411 - tornado.access - WARNING - 404 GET /apple-touch-icon-precomposed.png (192.168.0.100) 6.74ms
2019-12-16 16:35:40,422 - tornado.access - WARNING - 404 GET /apple-touch-icon.png (192.168.0.100) 6.67ms
2019-12-16 16:35:40,432 - tornado.access - WARNING - 404 GET /favicon.ico (192.168.0.100) 6.37ms
2019-12-16 16:35:41,060 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 9.65ms
2019-12-16 16:35:41,091 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 8.19ms
2019-12-16 16:35:45,439 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.0.100
2019-12-16 16:35:45,609 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.0.100
2019-12-16 16:35:46,074 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.100
2019-12-16 16:35:46,096 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 8.10ms
2019-12-16 16:35:46,122 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 8.22ms
2019-12-16 16:35:46,212 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 9.74ms
2019-12-16 16:35:46,561 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:35:50,696 - octoprint.server.util.sockjs - INFO - User myusername logged in on the socket from client 192.168.0.100
2019-12-16 16:35:54,057 - tornado.access - WARNING - 409 POST /api/printer/command (192.168.0.100) 19.70ms
2019-12-16 16:35:54,072 - tornado.access - WARNING - 409 POST /api/printer/command (192.168.0.100) 30.68ms
2019-12-16 16:35:59,891 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.100
2019-12-16 16:36:00,167 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.0.100
2019-12-16 16:36:12,136 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.74ms
2019-12-16 16:36:12,334 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.32ms
2019-12-16 16:36:16,618 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:36:16,685 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.0.100
2019-12-16 16:36:17,352 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 19.03ms
2019-12-16 16:36:17,591 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 16.62ms
2019-12-16 16:36:17,742 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.24ms
2019-12-16 16:36:43,156 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.22ms
2019-12-16 16:36:43,296 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 17.19ms
2019-12-16 16:36:46,690 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:36:48,214 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 18.74ms
2019-12-16 16:36:48,507 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.68ms
2019-12-16 16:36:48,672 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 16.49ms
2019-12-16 16:37:14,242 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 18.32ms
2019-12-16 16:37:14,371 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.51ms
2019-12-16 16:37:16,745 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:37:19,374 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 8.42ms
2019-12-16 16:37:19,523 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 8.22ms
2019-12-16 16:37:19,635 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 9.88ms
2019-12-16 16:37:45,089 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 16.39ms
2019-12-16 16:37:45,222 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.73ms
2019-12-16 16:37:46,799 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:37:50,199 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 16.28ms
2019-12-16 16:37:50,257 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 18.43ms
2019-12-16 16:37:50,301 - tornado.access - WARNING - 409 GET /api/printer (192.168.0.2) 15.66ms
2019-12-16 16:38:05,010 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.0.106
2019-12-16 16:38:05,240 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.106
2019-12-16 16:38:05,266 - octoprint.server.util.sockjs - INFO - User myusername logged in on the socket from client 192.168.0.106
2019-12-16 16:38:07,351 - octoprint.server.api.system - INFO - Performing command for custom:pon
2019-12-16 16:38:08,255 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2019-12-16 16:38:08,287 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port"
2019-12-16 16:38:08,291 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting"
2019-12-16 16:38:08,302 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-12-16 16:38:08,305 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-12-16 16:38:09,214 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-12-16 16:38:13,839 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational"
2019-12-16 16:38:13,852 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-12-16 16:38:13,871 - octoprint.plugins.stats - INFO - Printer Stats - on_event
2019-12-16 16:38:16,852 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:38:21,988 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.100
2019-12-16 16:38:28,625 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.0.100
2019-12-16 16:38:28,790 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.100
2019-12-16 16:38:30,482 - octoprint.server.util.sockjs - INFO - User myusername logged in on the socket from client 192.168.0.100
2019-12-16 16:38:46,884 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:39:16,944 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:39:24,761 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.0.100
2019-12-16 16:39:47,005 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:40:17,064 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:40:47,123 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:41:17,183 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:41:47,240 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:42:02,795 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-12-16 16:42:17,300 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:42:47,357 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:42:49,823 - octoprint.printer.standard.job - INFO - Print job selected - origin: local, path: Test/cube.gcode, owner: myusername, user: myusername
2019-12-16 16:42:49,833 - octoprint.plugins.DisplayLayerProgress - INFO - File selected. Determining number of layers.
2019-12-16 16:42:49,921 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Starting"
2019-12-16 16:42:49,982 - octoprint.printer.standard.job - INFO - Print job started - origin: local, path: Test/cube.gcode, owner: myusername, user: myusername
2019-12-16 16:42:49,998 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-12-16 16:42:50,037 - octoprint.util.comm - INFO - Changing monitoring state from "Starting" to "Printing"
2019-12-16 16:42:50,883 - octoprint.plugins.DisplayLayerProgress - INFO - Printing started. Detailed progress started.{'origin': 'local', 'name': u'cube.gcode', 'file': u'/home/pi/.octoprint/uploads/Test/cube.gcode', 'owner': 'myusername', 'path': u'Test/cube.gcode', 'user': 'myusername', 'size': 1106065L, 'filename': u'cube.gcode'}
2019-12-16 16:42:50,897 - octoprint.plugins.stats - INFO - Printer Stats - on_event
2019-12-16 16:42:53,504 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly
2019-12-16 16:43:06,466 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.100
2019-12-16 16:43:07,418 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.0.100
2019-12-16 16:43:07,617 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.100
2019-12-16 16:43:09,148 - octoprint.server.util.sockjs - INFO - User myusername logged in on the socket from client 192.168.0.100
2019-12-16 16:43:13,791 - octoprint.util.comm - INFO - Telling the printer to set the busy interval to our "communicationBusy" timeout - 1s = 2s
2019-12-16 16:43:17,416 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:43:47,479 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:44:15,249 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.0.100
2019-12-16 16:44:17,537 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:44:47,594 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:44:55,797 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.0.106
2019-12-16 16:45:17,651 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:45:47,706 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:46:17,762 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:46:47,816 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:47:17,871 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:47:47,927 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:48:17,959 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:48:47,991 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:49:18,022 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:49:48,068 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:50:18,100 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:50:48,132 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:51:18,164 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:51:48,222 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:52:18,278 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:52:48,333 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:53:18,378 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:53:48,439 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:54:18,495 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:54:43,863 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.0.100
2019-12-16 16:54:44,013 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.100
2019-12-16 16:54:44,098 - octoprint.server.util.sockjs - INFO - User myusername logged in on the socket from client 192.168.0.100
2019-12-16 16:54:48,551 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:55:18,582 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:55:20,914 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.0.100
2019-12-16 16:55:48,615 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:56:18,646 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:56:48,678 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:57:02,798 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-12-16 16:57:18,733 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:57:48,766 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:58:18,825 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:58:48,875 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:59:18,910 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 16:59:48,965 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 17:00:19,036 - octoprint.plugins.navbartemp - INFO - Checking SoC internal temperature
2019-12-16 17:00:20,440 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.102
2019-12-16 17:00:20,987 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.0.102
2019-12-16 17:00:21,144 - octoprint.server.util.flask - INFO - Passively logging in user myusername from 192.168.0.102
2019-12-16 17:00:23,539 - octoprint.server.util.sockjs - INFO - User myusername logged in on the socket from client 192.168.0.102
BTW I run Unifi controller as an addon in home assistant. And I sometimes also can't connect to the Unifi controller. Could be the same issue.