FormerLurker / Octolapse

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

Error Loading Webcam Settings - There was a problem retrieving webcam settings from the server #754

Open GesaP opened 3 years ago

GesaP commented 3 years ago

If this is a feature request describe it here

_REPLACE_THISFEATURE_REQUEST_DESCRIPTION_GOES_HERE

Version of Octolapse

Octolapse Version: 0.4.1

Version of OctoPrint

OctoPrint Version: 1.6.1

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

Diagnostic Logging was Enabled: NO but attached is normal log file

What were you doing when the problem occurred

  1. I set up Octoprint with an USB Webcam (not the default raspberry cam) following this guide: https://github.com/FormerLurker/Octolapse/wiki/V0.4---Enabling-Camera-Controls
  2. I try accessing the settings via clicking on the pen symbol in the Octolapse tab.

What should have happened?

The settings should have opened and shown the stream picture.

What happened instead?

At the step where I would access the settings via pressing the pen button, I get the error "Error Loading Webcam Settings - There was a problem retrieving webcam settings from the server"

Screenshot 2021-07-10 at 19 30 13 Screenshot 2021-07-10 at 19 03 16

Operating System running OctoPrint and Octolapse

OS Name: OctoPi Os Version: 0.18.0

Printer model & used firmware incl. version

Printer Model: Prusa Mk2.5s Printer Firmware Version: 3.8.1

Browser and version of browser, operating system running browser

Browser: _REPLACE_THISBROWSER_VERSION_GOES_HERE Browser OS: _REPLACE_THISBROWSER_OS_GOES_HERE

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

Link to Gcode File: _REPLACE_THISGCODE_FILE_LINK_GOES_HERE

Link to settings.json

Link to settings.json with all passwords removed: settings.json.zip

Link to plugin_octolapse.log

Link to plugin_octolapse.log:
https://pastebin.com/tg9Ve87U

Link to octoprint.log

Link to octoprint.log: https://pastebin.com/WgmGTZDb

Link to contents of Javascript console in the browser

Link to javascript console output: _REPLACE_THISLINK_GOES_HERE

Screenshots and/or videos of the problem:

Screenshot/Video Links: _REPLACE_THISLINKs_GO_HERE

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.

FormerLurker commented 3 years ago

Try navigating to the following URLs:

http://IP_OF_PIE_GOES_HERE/webcam/input.json

and

http://IP_OF_PIE_GOES_HERE:8080/input.json

Let me know if either of those work. If they do not, try these:

http://IP_OF_PIE_GOES_HERE/webcam/?action=snapshot

and

http://IP_OF_PIE_GOES_HERE:8080/?action=snapshot

You should see an image from your webcam from at least one of the above. Just let me know which ones work and which do not.

Thanks!

wrcqcn commented 1 year ago

I get the same error. http://IP_OF_PIE_GOES_HERE:8080/?action=snapshot http://IP_OF_PIE_GOES_HERE/webcam/?action=snapshot http://IP_OF_PIE_GOES_HERE/webcam/input.json http://IP_OF_PIE_GOES_HERE:8080/input.json all work.