OctoPrint Web Page Becomes Unresponsive

What is the problem?

The OctoPrint web page becomes unresponsive after a few minutes. Temperatures, terminal, and the camera feed stop updating. Refreshing the web page or reloading the link will allow the page to update again for a few minutes. I think this behavior started in version 1.9.0 and persists in version 1.9.1. Sometimes taking an action (like setting a temperature) works on the printer, but does not show on the web page. Some commands (like restart) appear to work as expected.
octoprint-systeminfo-20230716222102.zip (881.2 KB)

What did you already try to solve it?

Refresh the browser web page, restart the Raspberry Pi.

Have you tried running in safe mode?

Yes.

Did running in safe mode solve the problem?

No.

Systeminfo Bundle

octoprint-systeminfo-20230716222102.zip (881.2 KB)

WRITE HERE

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

OctoPrint version 1.9.1, OctoPi version 0.18, Creality Ender 3 (heavily modified) with BigTreeTech SKR Mini E3 V3.0, Klipper firmware, Safari browser version 16.5.1, macOS Ventura 13.4.1

Hello @pigaro !

You may update the webcam settings:

2023-07-14 00:25:51,279 - octoprint.settings - WARNING - DeprecationWarning: Detected access to deprecated settings path ['webcam', 'snapshot'], returned value is derived from compatibility overlay. Please use the webcam system introduced with 1.9.0, this compatibility layer will be removed in a future release.

The octoprint.log is quite full with this.


There is also this:

2023-07-14 07:36:02,967 - octoprint.util.comm - ERROR - Error while processing hook dashboard for phase sending:
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 4754, in _process_command_phase
    tags=tags,
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/__init__.py", line 1686, in wrapper
    return f(*args, **kwargs)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_dashboard/__init__.py", line 799, in process_gcode
    current_layer_progress = int((self.layer_moves / self.layer_move_array[self.current_layer]) * 100)
IndexError: list index out of range

A problem with Dashboard. But could be a result of the first one.

This is a deprecation warning for plugin developers that are using the old webcam system rather than the new one in 1.9.0+. There's unfortunately nothing a user can do about these warnings, it's plugins that need updating for the new API. It should still work OK for the moment.

1 Like

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