You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Webcam widget keeps opening new connections every time I switch to Dashboard tab, causing excessive network load.
In order to see the underlying problem, it is recommended to install Resource Monitor plugin to Octoprint or any plugin that shows network usage of the host. (It's probably irrelevant but my host is Raspberry Pi 5 running Octoprint and streaming video feed).
Steps to see the issue:
Enable Webcam widget on the Dashboard plugin, and set it up pointing to the video feed.
Go to the Dashboard tab, see that the video feed is properly displayed.
Switch to the Resource Monitor tab in order to measure the current host network usage (e.g. upload 8Mb/s since the Dashboard has connected to the video feed and the host is streaming the video feed to the client)
Go back to the Dashboard tab (apparently this is where it opens another connection to video feed, without dropping the initial one).
Switch back to the Resource Monitor - you will see that network usage has doubled (e.g. upload 16Mb/s)
Go back to the Dashboard tab (it will open yet another video feed connection, as if there are now 3 clients consuming the video feed)
Switch to the Resource Monitor - the network usage has tripled! (e.g. 24Mb/s)
... repeat as many times as you want
In other words, if I'm just clicking the tabs in Octoprint, and it happened that I switched to the Dashboard 4 times, the network usage will quadruple!
The plugin should not open extra connections but reuse the existing one.
Version of OctoPrint
1.10.1
Platform
Raspberry Pi 5b
Operating system running OctoPrint
Rasspberry OS 64 bit Bookworm
Dashboard version
1.19.11
Python version
3.11
Printer model & used firmware incl. version
Prusa i3 MK3S+
Browser and version of browser, operating system running browser
Safari and Chrome on MacOS, iPad OS
Logs and other files needed for analysis
Systeminfo Bundle (always include!) See here if you don't know where to find that.
Screenshots and/or videos showing the problem (always include in case of issues with the user interface)
GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour)
The problem
Webcam widget keeps opening new connections every time I switch to Dashboard tab, causing excessive network load.
In order to see the underlying problem, it is recommended to install Resource Monitor plugin to Octoprint or any plugin that shows network usage of the host. (It's probably irrelevant but my host is Raspberry Pi 5 running Octoprint and streaming video feed).
Steps to see the issue:
In other words, if I'm just clicking the tabs in Octoprint, and it happened that I switched to the Dashboard 4 times, the network usage will quadruple!
The plugin should not open extra connections but reuse the existing one.
Version of OctoPrint
1.10.1
Platform
Raspberry Pi 5b
Operating system running OctoPrint
Rasspberry OS 64 bit Bookworm
Dashboard version
1.19.11
Python version
3.11
Printer model & used firmware incl. version
Prusa i3 MK3S+
Browser and version of browser, operating system running browser
Safari and Chrome on MacOS, iPad OS
Logs and other files needed for analysis
File uploads & additional information
Screen.Recording.mov
octoprint-systeminfo-20240604135838.zip
The text was updated successfully, but these errors were encountered: