30 sec before the Camera is ON ? in the Control menu

When I change to "control" window it can take up to 30 sec before I can see the camera working....if I go back to the "Temperatur" menue and stay there fo a while, and switch back to "Temperatur" it still take +30 sec before the camera is working agn in the "window"

at the webcam menu I use this setup : http://192.168.10.117:8080/?action=stream
and the camera I use is a small USB camera as this one :

https://www.ebay.com/itm/New-USB-Camera-for-Raspberry-Pi-2-Model-B-B-A-Not-Require-Drivers-HOT/162337159657?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2648

so my qustion is why do it take so long time bore there is "video" at control menu.... ???

Ben

Which Pi are you using? Can you share the octoprint.log?

HI Tedder42

I use a Raspberry pi 2.... where do I find the OCTOPRINT.LOG ???

Whenever I type octoprint.log here in this forum, it automatically creates a link to the instructions for how to find the octoprint.log. Okay, so it only does that the first time I say octoprint.log.

I found the octoprint.log..... at the moment I am printing parts:

here it is :

2019-05-13 07:36:53,428 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 07:36:53,436 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2019-05-13 07:36:53,437 - octoprint.server - INFO - OctoPrint 1.3.10
2019-05-13 07:36:53,443 - octoprint.plugin.core - INFO - 16 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
| Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking
| Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys
| Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/backup
| Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
| CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/cura
| Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
| Force Login (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/forcelogin
| Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
| Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support
| Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
| Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| PSU Control (0.1.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_psucontrol
| Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2019-05-13 07:36:53,470 - octoprint.environment - INFO - Detected environment is Python 2.7.13 under Linux (linux2). Details:
| hardware:
| cores: 4
| freq: 900.0
| ram: 918192128
| os:
| id: linux
| platform: linux2
| plugins:
| pi_support:
| model: Raspberry Pi 2 Model B Rev 1.1
| octopi_version: 0.16.0
| python:
| pip: 19.0.1
| version: 2.7.13
| virtualenv: /home/pi/oprint
2019-05-13 07:36:53,471 - octoprint.server - INFO - ------------------------------------------------------------------------------
2019-05-13 07:37:02,643 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 07:51:53,431 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 07:52:02,572 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 08:06:53,433 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 08:07:02,568 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 08:21:53,435 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 08:22:02,615 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 08:36:53,437 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 08:37:02,597 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 08:51:53,441 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 08:52:02,596 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 09:06:53,444 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 09:07:02,607 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 09:21:53,445 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 09:22:02,643 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 09:36:53,448 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 09:37:02,646 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 09:51:53,452 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 09:52:02,702 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 10:06:53,455 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 10:07:02,615 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 10:21:53,457 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 10:22:02,663 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 10:36:53,460 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 10:37:02,645 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 10:51:53,462 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 10:52:02,644 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 11:06:53,464 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 11:07:02,651 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 11:21:53,467 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 11:22:02,671 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 11:36:53,470 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 11:37:02,654 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 11:51:53,474 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 11:52:02,662 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 12:06:53,490 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 12:07:02,712 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 12:21:53,492 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 12:22:02,665 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 12:36:53,494 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 12:37:02,694 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 12:51:53,497 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 12:52:02,674 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 13:06:53,500 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 13:07:02,706 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 13:21:53,502 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 13:22:02,696 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 13:36:53,506 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 13:37:02,748 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 13:48:52,850 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.10.173
2019-05-13 13:48:53,013 - tornado.access - WARNING - 403 GET /api/files?recursive=true (::ffff:192.168.10.173) 20.58ms
2019-05-13 13:48:53,044 - tornado.access - WARNING - 403 GET /api/printerprofiles (::ffff:192.168.10.173) 22.12ms
2019-05-13 13:48:53,073 - tornado.access - WARNING - 403 GET /api/timelapse?unrendered=true (::ffff:192.168.10.173) 20.57ms
2019-05-13 13:48:53,105 - tornado.access - WARNING - 403 GET /api/plugin/pi_support (::ffff:192.168.10.173) 23.11ms
2019-05-13 13:48:53,141 - tornado.access - WARNING - 403 GET /api/connection (::ffff:192.168.10.173) 20.44ms
2019-05-13 13:48:53,170 - tornado.access - WARNING - 403 GET /api/printer/command/custom (::ffff:192.168.10.173) 20.47ms
2019-05-13 13:48:53,209 - tornado.access - WARNING - 403 GET /api/slicing (::ffff:192.168.10.173) 31.63ms
2019-05-13 13:48:53,250 - tornado.access - WARNING - 403 GET /api/settings (::ffff:192.168.10.173) 28.70ms
2019-05-13 13:48:53,295 - tornado.access - WARNING - 403 POST /api/plugin/psucontrol (::ffff:192.168.10.173) 181.97ms
2019-05-13 13:49:07,428 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.10.173
2019-05-13 13:49:07,770 - tornado.access - WARNING - 404 GET /favicon.ico (::ffff:192.168.10.173) 17.54ms
2019-05-13 13:49:07,803 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.10.173
2019-05-13 13:49:09,636 - octoprint.server.api - INFO - Actively logging in user Anycubic from ::ffff:192.168.10.173
2019-05-13 13:49:09,682 - octoprint.server.util.flask - INFO - Passively logging in user Anycubic from ::ffff:192.168.10.173
2019-05-13 13:49:09,948 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.10.173
2019-05-13 13:49:10,172 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.10.173
2019-05-13 13:49:10,300 - octoprint.server.util.flask - INFO - Passively logging in user Anycubic from ::ffff:192.168.10.173
2019-05-13 13:49:13,139 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2019-05-13 13:49:13,206 - octoprint.server.util.sockjs - INFO - User Anycubic logged in on the socket from client ::ffff:192.168.10.173
2019-05-13 13:49:14,111 - octoprint.plugins.psucontrol - INFO - Switching PSU On
2019-05-13 13:49:18,816 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2019-05-13 13:49:19,052 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port"
2019-05-13 13:49:19,058 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting"
2019-05-13 13:49:19,069 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-05-13 13:49:19,960 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-05-13 13:49:20,370 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational"
2019-05-13 13:49:20,384 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-05-13 13:49:50,433 - octoprint.util.comm - INFO - Communication timeout while idle, trying to trigger response from printer.
2019-05-13 13:49:50,459 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.9(Github, davidramiro)"
2019-05-13 13:49:50,476 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting
2019-05-13 13:49:50,501 - octoprint.util.comm - INFO - Firmware states that it supports emergency GCODEs M108 and M410 to be sent without waiting for an acknowledgement first
2019-05-13 13:49:50,845 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 250000, u'printer_port': u'AUTO', 'firmware_name': 'Marlin 1.1.9(Github, davidramiro)'}
2019-05-13 13:50:22,515 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Drawer_ThinHandle.gcode
2019-05-13 13:50:22,519 - octoprint.filemanager.analysis - INFO - Invoking analysis command: /home/pi/oprint/bin/python2 -m octoprint analysis gcode --speed-x=6000 --speed-y=6000 --max-t=10 --throttle=0.0 --throttle-lines=100 /home/pi/.octoprint/uploads/Drawer_ThinHandle.gcode
2019-05-13 13:50:22,597 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Printing"
2019-05-13 13:50:22,642 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-05-13 13:50:23,061 - octoprint.plugins.tracking - INFO - Sent tracking event print_started, payload: {'origin': 'local', 'file': 'ca333d5a545f1d27db9111213c3762e0553309d5'}
2019-05-13 13:51:53,509 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 13:52:02,717 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 13:54:27,668 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly
2019-05-13 13:54:32,482 - octoprint.util.comm - INFO - Telling the printer to set the busy interval to our "communicationBusy" timeout - 1s = 2s
2019-05-13 14:06:53,512 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 14:07:02,734 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 14:21:53,514 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 14:22:02,777 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 14:36:53,516 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 14:37:02,740 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 14:51:53,521 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 14:52:02,765 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 15:06:53,524 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 15:07:02,774 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 15:21:53,527 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 15:22:02,762 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 15:36:53,542 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 15:37:02,829 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 15:51:53,545 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 15:52:02,772 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 16:06:53,547 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 16:07:02,748 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 16:21:53,552 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 16:22:02,737 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 16:36:53,555 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 16:37:02,746 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 16:51:53,557 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 16:52:02,792 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 17:06:53,560 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 17:07:02,773 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 17:21:53,563 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 17:22:02,745 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 17:36:53,565 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 17:37:02,758 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 17:51:53,570 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 17:52:02,830 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 18:06:53,572 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 18:07:02,802 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 18:21:53,575 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 18:22:02,851 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 18:36:53,579 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 18:37:02,857 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}
2019-05-13 18:51:53,582 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-05-13 18:52:02,783 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {}

Include the log and a timestamp of when you've triggered the behavior you mention. Otherwise it looks kinda-okay, no red flags there.

You might want to look in Chrome's Dev Tools, network tab, and see if you can find a request that is slow. But I don't want to try to walk you through that if it's unfamiliar. You can probably google around or watch a Youtube video that explains it.

I see the same habit since a while. I did not take it seriously , but to me it seems it comes with a recent update of some addon. I did no update of OP or the OS in that time period..Once it started it works fine until you change view for some time or have the web gui out of sight. I will watch that more precise in the next future.