Octoprint freezes when I click either the control tab or the octolapse tab

Hello, can someone please help me figure out what is going on? Any guidance would be greatly appreciated.

What is the problem?

Octolapse freezes when I click either the control tab or the octolapse tab. So and I can't access the JPEG Streamer options to edit the camera's filters like brightness, focus, etc...It completely paralyzes me from moving any further, as I can't access anything else after it freezes. I have to click on the bowser tab just to shut down and use the instance in my network to reload the page.

What have you already tried to solve it?

I tried reinstalling, getting a new SD card, got a new PSU in case any devices were starving for more juice. The next thing I need to eliminate is getting a WiFi ex-pander to see if it's a latency issue. I've tried Angry IP scanner to see if it's connected to the network. Currently the ping is registering at 24 ms and showing the hostname as octopi.local with a port number of 80,443,8080. Also, I should mention that the little green light is not on, even though the scanner says its connected. After re-scanning, now it says it is pinging at 59 ms. Initially, the green light does come on when I power up the Rb Pi. But then, after about a minute, it stops blinking. Should I just invest in another Rb pi and replace this one. I've only had it a few months. When I first got it, I think the green light kept blinking, but I'm not sure. Should the green light always stay blinking? It's just strange that the scanner is indicating that octopi is alive when the green light doesn't blink. Is that normal?

Did you try running in safe mode?

Yes

Did running in safe mode solve the problem?

No

Systeminfo Bundle

browser.user_agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0
connectivity.connection_check: 8.8.8.8:53
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 1400
env.hardware.ram: 915718144
env.os.bits: 32
env.os.id: linux
env.os.platform: linux
env.plugins.pi_support.model: Raspberry Pi 3 Model B Plus Rev 1.3
env.plugins.pi_support.octopi_version: 0.18.0
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 20.3.3
env.python.version: 3.7.3
env.python.virtualenv: true
octoprint.safe_mode: true
octoprint.version: 1.5.2

Additional information about your setup , ... as much data as possible

OctoPrint 1.5.2, Python 3.7.3, OctoPi 0.18.0, Prusa I3 MK3S, PrusaSlicer-2.3.3, RP3 Model B PLus Rev 1.3, FireFox and Chrome, Windows 8.1 Pro.

Can you please share the octoprint.log

Hi Ewald, good to hear from you. I'm new to the systems log. I thought the log I add was the systems log? Can you please guide me on how to do that?

The words in blue are links (like this: octoprint.log).
When you klick them, you get further information

Yes, of course, I appoligize for my shortcomings, I will figure it out and get back to you asap! Thank you. Please bare with me.

Also just got the record, though probably unrelated to your issue, you are still on 1.5.2 from December of last year, the latest version is 1.7.0, you really should upgrade.

Thank you Foosel,
I believe this is the correct octoprint log? Can you please confirm? I will upgrade to 1.7.0 ASAP to see if that will fix the issue.
browser.user_agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0
connectivity.connection_check: 8.8.8.8:53
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 1400
env.hardware.ram: 915718144
env.os.bits: 32
env.os.id: linux
env.os.platform: linux
env.plugins.pi_support.model: Raspberry Pi 3 Model B Plus Rev 1.3
env.plugins.pi_support.octopi_version: 0.18.0
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 20.3.3
env.python.version: 3.7.3
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.5.2
printer.firmware: Prusa-Firmware 3.10.0 based on Marlin

No, it sadly not.
Please click this blue word: octoprint.log and you get further information how to obtain the log

octoprint(1).log (107.4 KB)
plugin_octolapse.log (1.2 KB)
serial.log (148 Bytes)

Hi Ewald,

I think these are the correct logs. Thank you for sharing the link.

1derman

1 Like

Looking through the logs, nothing seems to be amiss... Since there's a problem on the control and OctoLapse tabs, I'm enclined to think it's webcam streaming related. Could you please give us the contents of the /var/log/webcamd.log file, by connecting to your Pi using SSH?

Also, could you use the browser console (usually reachable by pressing the F12 key), and then click on one of those tabs, and make a screenshot of any error that would be shown ?

Thanks in advance

Hi SwHawk,

Here are the contents of the file. Regarding the browser console, no errors are shown. It just freezes, and I have to close the window and open a new one. Please let me know if this is the correct log. If anyone else stumbles onto this thread, please chime in if you can help. Thank you all for taking time to help me resolve the issue.

-- Logs begin at Fri 2021-10-15 23:57:06 BST, end at Sat 2021-10-16 00:42:32 BST
Oct 15 23:57:11 octopi systemd[1]: Starting the OctoPi webcam daemon with the us
Oct 15 23:57:11 octopi root[462]: Starting USB webcam
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: starting applica
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: MJPG Streamer Ve
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: Using V4L2 devic
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: Desired Resoluti
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: Frames Per Secon
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: Format..........
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: TV-Norm.........
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: www-folder-path.
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: HTTP TCP port...
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: HTTP Listen Addr
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: username:passwor
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: commands........
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: starting input p
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: starting output
Oct 15 23:57:12 octopi systemd[1]: Started the OctoPi webcam daemon with the use
lines 1-18/18 (END)
-- Logs begin at Fri 2021-10-15 23:57:06 BST, end at Sat 2021-10-16 00:42:32 BST. --
Oct 15 23:57:11 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Oct 15 23:57:11 octopi root[462]: Starting USB webcam
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: starting application
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: MJPG Streamer Version: git rev: 5554f42c35
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: Using V4L2 device.: /dev/video0
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: Desired Resolution: 1920 x 1080
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: Frames Per Second.: 30
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: Format............: JPEG
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: TV-Norm...........: DEFAULT
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: www-folder-path......: ./www/
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: HTTP TCP port........: 8080
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: HTTP Listen Address..: (null)
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: username:password....: disabled
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: commands.............: enabled
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: starting input plugin input_uvc.so
Oct 15 23:57:11 octopi mjpg_streamer[463]: MJPG-streamer [463]: starting output plugin: output_http.so (ID
Oct 15 23:57:12 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.

Unfortunately, the logs you've pasted here are truncated, so we can't really see what's happening. It would be easier if you could paste the output of the following command sudo tail -n 150 /var/log/webcamd.log

Also, when you paste this into your post, it would be easier to read if you enclosed the pasted contents with three backticks (```) on their own line so that the text shows as the quote below, like shown there, the code block part.

Although this line has me a bit worried, but it would be easier with the full logs.

Finally, what is the streaming URL in the settings ? Is it /webcam/?action=stream ? If so, can you open a browser and go to the following address http://octopi.local/webcam/?action=stream and tell us what you see ? Otherwise, can you open the streaming URL with your browser and tell us what is happening ?