[Bug]: Possible stack of the octoprint after changing the IP of a WLED device
Closed this issue · 1 comments
Description of the bug
I cannot clearly blame (in quotes) OctoPrint-WLED but i think it traced it to it:
Last change: changed the WLED device to a new IP, changed also the IP on the octoprint settings (and didn't do anything else)
24 hours or so later i started a print and it stopped mid print after 4-5 hours, last errors on octoprint.log are the following
2023-01-04 15:24:30,889 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2023-01-04 15:26:07,796 - octoprint.plugins.wled.wled - INFO - Backing off _request(...) for 0.4s (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:26:10,175 - octoprint.plugins.wled.wled - INFO - Backing off _request(...) for 0.9s (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:26:13,127 - octoprint.plugins.wled.wled - ERROR - Giving up _request(...) after 3 tries (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:26:13,127 - octoprint.plugins.wled.runner - ERROR - Can't connect to WLED, WLEDConnectionTimeoutError('Timeout occured while connecting to WLED device at 172.31.1.22')
2023-01-04 15:39:30,890 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2023-01-04 15:40:25,778 - octoprint.plugins.wled.wled - INFO - Backing off _request(...) for 0.2s (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:40:27,981 - octoprint.plugins.wled.wled - INFO - Backing off _request(...) for 0.1s (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:40:30,133 - octoprint.plugins.wled.wled - ERROR - Giving up _request(...) after 3 tries (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:40:30,134 - octoprint.plugins.wled.runner - ERROR - Can't connect to WLED, WLEDConnectionTimeoutError('Timeout occured while connecting to WLED device at 172.31.1.22')
2023-01-04 15:43:51,844 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2023-01-04 15:43:54,850 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2023-01-04 15:43:57,856 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2023-01-04 15:44:00,863 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2023-01-04 15:44:03,869 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2023-01-04 15:44:06,875 - octoprint.util.comm - INFO - No response from printer after 6 consecutive communication timeouts, considering it dead.
2023-01-04 15:44:06,904 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Offline after error"
2023-01-04 15:44:06,921 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2023-01-04 15:44:07,000 - octoprint.plugins.DisplayLayerProgress - INFO - Printing stopped. Detailed progress stopped.
The log is full of octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError
I have connected an hour before or so just to check the print (no issued)
2023-01-04 14:25:45,332 - octoprint.server.util.flask - INFO - Passively logging in user octoprint from ::ffff:172.31.0.2 and it was active
Eventually i had to reboot completely the pi, since the interface didn't allow me to restart it just the octoprint service
This is the last plugin i had installed. Of course i can provide more details if needed
Software versions
OctoPrint 1.8.6 Python 3.7.3 OctoPi 0.18.0 WLED 0.2.1
Logs and screenshots
2023-01-04 15:24:30,889 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2023-01-04 15:26:07,796 - octoprint.plugins.wled.wled - INFO - Backing off _request(...) for 0.4s (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:26:10,175 - octoprint.plugins.wled.wled - INFO - Backing off _request(...) for 0.9s (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:26:13,127 - octoprint.plugins.wled.wled - ERROR - Giving up _request(...) after 3 tries (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:26:13,127 - octoprint.plugins.wled.runner - ERROR - Can't connect to WLED, WLEDConnectionTimeoutError('Timeout occured while connecting to WLED device at 172.31.1.22')
2023-01-04 15:39:30,890 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2023-01-04 15:40:25,778 - octoprint.plugins.wled.wled - INFO - Backing off _request(...) for 0.2s (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:40:27,981 - octoprint.plugins.wled.wled - INFO - Backing off _request(...) for 0.1s (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:40:30,133 - octoprint.plugins.wled.wled - ERROR - Giving up _request(...) after 3 tries (octoprint_wled.wled.exceptions.WLEDConnectionTimeoutError: Timeout occured while connecting to WLED device at 172.31.1.22)
2023-01-04 15:40:30,134 - octoprint.plugins.wled.runner - ERROR - Can't connect to WLED, WLEDConnectionTimeoutError('Timeout occured while connecting to WLED device at 172.31.1.22')
2023-01-04 15:43:51,844 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2023-01-04 15:43:54,850 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2023-01-04 15:43:57,856 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2023-01-04 15:44:00,863 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2023-01-04 15:44:03,869 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
I am closing it since it happened again with the WLED plugin disabled. so for sure it is not WLED related