FormerLurker / Octolapse

Stabilized timelapses for Octoprint
GNU Affero General Public License v3.0
639 stars 99 forks source link

"CAMERA TEST FAILED - Errors were detected (read timeout)" on the first print attempt, every time #938

Open NTPanaccio opened 9 months ago

NTPanaccio commented 9 months ago

If this is a feature request describe it here

_REPLACE_THISFEATURE_REQUEST_DESCRIPTION_GOES_HERE

Version of Octolapse

Octolapse Version: Octolapse 0.4.5

Version of OctoPrint

OctoPrint Version: OctoPrint 1.9.3 (Build 2023.10.09.154319 with "camera-streamer", based on OctoPi 1.0.0, running on Raspberry Pi 4 Model B Rev 1.4)

When you ran into the problem, did you have diagnostic logging enabled?

Diagnostic Logging was Enabled: Yes

What were you doing when the problem occurred

  1. Slice the print in OrcaSlicer 1.8.1, and send the print job directly to OctoPrint
  2. OctoPrint receives the print job and immediately fails with a 'CAMERA TEST FAILED - Errors were detected - A read timeout occurred while connecting to http://octopi.local/webcam/?action=snapshot for the 'Webcam - Default OctoPi 0.16.0' camera profile. Are you using the video stream URL by mistake?
  3. If I go into Octolapse's settings and test the webcam, it works fine
  4. If I resend the print job from OrcaSlicer, or click on the Print button on the original job in OctoPrint, the print then starts immediately and Octolapse works fine

What should have happened?

When I send the print job to OctoPrint, it should immediately bring up the Octolapse preview to show how the timelapse will look.

What happened instead?

When I send the print job to OctoPrint, it errors out the first time every time I connect to my printer with the same error. Re-sending/printing the job without making any changes works fine.

Operating System running OctoPrint and Octolapse

OS Name/Version: Build 2023.10.09.154319 with "camera-streamer", based on OctoPi 1.0.0, running on Raspberry Pi 4 Model B Rev 1.4

Printer model & used firmware incl. version

Printer Model: Voxelab Aquila X2 Printer Firmware Version: Alex Marlin v1.3.5.1 (BLTouch 5x5 N32)

Browser and version of browser, operating system running browser

Browser: Firefox 122.0.1 Browser OS: Windows 10 22H2

Link to the gcode file you were printing when the problem occurred

Link to Gcode File: https://drive.google.com/file/d/1SZNMOePOd_pF0JUUdhxfT2QSAmCVybcA/view?usp=sharing

Link to settings.json

Link to settings.json with all passwords removed: https://drive.google.com/file/d/1iMCMVn9D97YfjrENaUszc6JOteaC81Mr/view?usp=sharing

Link to plugin_octolapse.log

Link to plugin_octolapse.log: https://drive.google.com/file/d/1YUV8pm7zQe_lqQpify38PAQUouvCa0MY/view?usp=sharing

Link to octoprint.log

Link to octoprint.log: https://drive.google.com/file/d/1pAJ_BdQ-_oTfaVPSWmkUlIMBkzW2aLOv/view?usp=sharing

Link to contents of Javascript console in the browser

Link to javascript console output:

Screenshots and/or videos of the problem:

Screenshot/Video Links:

Please consider becoming a patron

If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.

You can find various videos and tutorials by subscribing to my Youtube channel. You can also follow me on Twitter.