Did the telegram plugin cause my printer to disconnect or is it just a coincidence?

What is the problem?

I was printing something just fine and then the printer just disconnected, after looking at the logs, this is what I got:

Log file
2022-04-12 03:32:14,190 - octoprint.plugins.action_command_notification - INFO - Got a notification: [##        ]  16%
2022-04-12 03:33:33,556 - octoprint.plugins.action_command_notification - INFO - Got a notification: [##        ]  17%
2022-04-12 03:34:44,099 - octoprint.plugins.action_command_notification - INFO - Got a notification: [##        ]  18%
2022-04-12 03:35:54,076 - octoprint.plugins.action_command_notification - INFO - Got a notification: [##        ]  19%
2022-04-12 03:37:17,069 - octoprint.plugins.action_command_notification - INFO - Got a notification: [##        ]  20%
2022-04-12 03:38:18,120 - octoprint.server.util.flask - INFO - Passively logging in user Deses from ::ffff:192.168.1.33
2022-04-12 03:38:18,122 - octoprint.access.users - INFO - Logged in user: Deses
2022-04-12 03:38:19,029 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.33
2022-04-12 03:38:19,203 - octoprint.server.util.flask - INFO - Passively logging in user Deses from ::ffff:192.168.1.33
2022-04-12 03:38:19,204 - octoprint.access.users - INFO - Logged in user: Deses
2022-04-12 03:38:22,012 - octoprint.server.util.sockjs - INFO - User Deses logged in on the socket from client ::ffff:192.168.1.33
2022-04-12 03:38:22,401 - octoprint.timelapse - INFO - Deleted old unrendered timelapse 04_Pared_cortina_ducha.aw_20220331184211
2022-04-12 03:38:23,241 - octoprint.plugins.tracking - INFO - Sent tracking event webui_load, payload: {'browser_name': 'Edge', 'browser_version': '100.0.1185.36', 'os_name': 'Windows', 'os_version': '10'}
2022-04-12 03:38:39,656 - octoprint.plugins.action_command_notification - INFO - Got a notification: [##        ]  21%
2022-04-12 03:39:36,102 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.33
2022-04-12 03:40:06,986 - octoprint.plugins.action_command_notification - INFO - Got a notification: [##        ]  22%
2022-04-12 03:41:26,584 - octoprint.plugins.action_command_notification - INFO - Got a notification: [##        ]  23%
2022-04-12 03:42:58,642 - octoprint.plugins.action_command_notification - INFO - Got a notification: [##        ]  24%
2022-04-12 03:44:11,219 - octoprint.plugins.action_command_notification - INFO - Got a notification: [##        ]  25%
2022-04-12 03:45:43,726 - octoprint.plugins.action_command_notification - INFO - Got a notification: [###       ]  26%
2022-04-12 03:46:55,978 - octoprint.plugins.action_command_notification - INFO - Got a notification: [###       ]  27%
2022-04-12 03:46:58,905 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2022-04-12 03:47:08,101 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 1051213, 'printer_state': 'PRINTING'}
2022-04-12 03:48:28,666 - octoprint.plugins.action_command_notification - INFO - Got a notification: [###       ]  28%
2022-04-12 03:49:40,778 - octoprint.plugins.action_command_notification - INFO - Got a notification: [###       ]  29%
2022-04-12 03:50:32,937 - octoprint.plugins.telegram - INFO - Will try to create a gif 
2022-04-12 03:50:33,134 - octoprint.plugins.telegram - INFO - test if nice exist
2022-04-12 03:50:33,135 - octoprint.plugins.telegram - INFO - test exist program 'nice', '--version'
2022-04-12 03:50:33,170 - octoprint.plugins.telegram - INFO - ret = 0
2022-04-12 03:50:33,171 - octoprint.plugins.telegram - INFO - test if cpulimit exist
2022-04-12 03:50:33,171 - octoprint.plugins.telegram - INFO - test exist program 'cpulimit', '--help'
2022-04-12 03:50:33,205 - octoprint.plugins.telegram - INFO - ret = 1
2022-04-12 03:50:33,206 - octoprint.plugins.telegram - INFO - test if ffmpeg exist
2022-04-12 03:50:33,207 - octoprint.plugins.telegram - INFO - test exist program 'ffmpeg', '-h'
2022-04-12 03:50:33,475 - octoprint.plugins.telegram - INFO - ret = 0
2022-04-12 03:50:33,640 - octoprint.plugins.telegram - INFO - sec=5
2022-04-12 03:50:33,641 - octoprint.plugins.telegram - INFO - timeSec=11:11:05
2022-04-12 03:50:33,641 - octoprint.plugins.telegram - INFO - limit_cpu=130.0 | used_cpu=2.0 | because nb_cpu=4
2022-04-12 03:50:33,642 - octoprint.plugins.telegram - INFO - will now create the video  'nice', '-n', '20', 'cpulimit', '-l', '130.0', '-f', '-z', '--', 'ffmpeg', '-y', '-threads', '2.0', '-i', 'http://localhost/webcam/?action=stream', '-t', '11:11:05', '-pix_fmt', 'yuv420p', '/home/pi/.octoprint/data/telegram/tmpgif/gif.mp4'
2022-04-12 03:51:00,198 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 3940, in _readline
    ret = self._serial.readline()
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 6605, in readline
    c = self.read(1)
  File "/home/pi/oprint/lib/python3.7/site-packages/serial/serialposix.py", line 596, in read
    'device reports readiness to read but returned no data '
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2022-04-12 03:51:00,262 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this.
2022-04-12 03:51:00,300 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Offline after error"
2022-04-12 03:51:23,476 - octoprint.plugins.telegram - INFO - Finish the video
2022-04-12 03:51:25,548 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2022-04-12 03:51:26,990 - octoprint.plugins.filamentmanager - INFO - Updating Filament usage for octoprint configured toolcount: 1
2022-04-12 03:51:26,991 - octoprint.plugins.filamentmanager - INFO - Filament tracked toolcount: 1
2022-04-12 03:51:26,992 - octoprint.plugins.filamentmanager - INFO - Filament tracked values: [1690.454279999999]
2022-04-12 03:51:26,992 - octoprint.plugins.filamentmanager - INFO - Filament used: 1690.454279999999 mm (tool0)
2022-04-12 03:51:27,102 - octoprint.plugins.filamentmanager - INFO - Updated remaining filament on spool 'Blanco frío - PLA+ (eSun)' from 331.54915293773024g to 326.4666291366249g (-5.082523801105367g)
2022-04-12 03:51:27,114 - octoprint.plugins.telegram - INFO - Will try to create a gif 
2022-04-12 03:51:27,127 - octoprint.plugins.tracking - INFO - Sent tracking event print_failed, payload: {'origin': 'local', 'file': 'fdf884c18cb2cbc2f2c9ffb543d087357f75aa7d', 'elapsed': 2502, 'reason': 'error', 'commerror_text': 'SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)'}
2022-04-12 03:51:27,289 - octoprint.plugins.telegram - INFO - test if nice exist
2022-04-12 03:51:27,290 - octoprint.plugins.telegram - INFO - test exist program 'nice', '--version'
2022-04-12 03:51:27,326 - octoprint.plugins.telegram - INFO - ret = 0
2022-04-12 03:51:27,327 - octoprint.plugins.telegram - INFO - test if cpulimit exist
2022-04-12 03:51:27,327 - octoprint.plugins.telegram - INFO - test exist program 'cpulimit', '--help'
2022-04-12 03:51:27,361 - octoprint.plugins.telegram - INFO - ret = 1
2022-04-12 03:51:27,363 - octoprint.plugins.telegram - INFO - test if ffmpeg exist
2022-04-12 03:51:27,363 - octoprint.plugins.telegram - INFO - test exist program 'ffmpeg', '-h'
2022-04-12 03:51:27,658 - octoprint.plugins.telegram - INFO - ret = 0
2022-04-12 03:51:27,841 - octoprint.plugins.telegram - INFO - sec=5
2022-04-12 03:51:27,842 - octoprint.plugins.telegram - INFO - timeSec=11:11:05
2022-04-12 03:51:27,842 - octoprint.plugins.telegram - INFO - limit_cpu=130.0 | used_cpu=2.0 | because nb_cpu=4
2022-04-12 03:51:27,843 - octoprint.plugins.telegram - INFO - will now create the video  'nice', '-n', '20', 'cpulimit', '-l', '130.0', '-f', '-z', '--', 'ffmpeg', '-y', '-threads', '2.0', '-i', 'http://localhost/webcam/?action=stream', '-t', '11:11:05', '-pix_fmt', 'yuv420p', '/home/pi/.octoprint/data/telegram/tmpgif/gif.mp4'
2022-04-12 03:51:55,167 - octoprint.plugins.telegram - INFO - Finish the video
2022-04-12 03:53:01,833 - octoprint.plugins.telegram - INFO - File Size is : 1.64 MB
2022-04-12 04:01:58,907 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2022-04-12 04:02:08,106 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 1052113, 'printer_state': 'OFFLINE'}
2022-04-12 04:16:58,909 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2022-04-12 04:17:08,103 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 1053013, 'printer_state': 'OFFLINE'}

What did you already try to solve it?

Nothing yet, really. Just print again and hope that this time works.

Have you tried running in safe mode?

Nope.

Systeminfo Bundle

octoprint-systeminfo-20220413010821.zip (88.9 KB)

Additional information about your setup

  • OctoPrint 1.7.3
  • Python 3.7.3
  • OctoPi 0.17.0
  • Ender 3 Skr Mini 1.2

It just happened again, exact same line heigh.

I'm going to try using safe mode now.

Nevermind, I'm stupid and forgot to remove a pause at height from Cura.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.