Open jupe opened 3 weeks ago
Probably the Prusa API isn't liking whatever image it tried to upload. Can you share your config (scrubbing any secrets, of course)? What type of camera are you using?
I'm using motion as camera source. config:
global_config:
connect_endpoint: "https://connect.prusa3d.com" # URL of Prusa Connect service
cameras: # List of cameras to relay snapshots from
- name: "cam" # Name of the camera
fingerprint: "abc" # Unique identifier of the camera, generated by you
token: "**" # Token of the camera, from Prusa Connect
interval: 30 # Interval between snapshots, in seconds
handler: "Camera.ImageUrl.ImageUrlHandler" # Handler to use for this camera
handler_config: # Configuration for the handler
url: "http://127.0.0.1:8081/0/current" # URL of the image to capture
printer_link: # Optional, if you want to limit snapshots to certain printer states
url: "**" # URL of the printer on the local network
username: "**" # Username for the printer
password: "**" # Password for the printer
snapshot_states: # You can remove items from this list to prevent snapshots from being taken in certain printer states
- IDLE
- BUSY
- READY
- PRINTING
- PAUSED
- FINISHED
- STOPPED
- ERROR
- ATTENTION
I think I've all configurations in place and started app with pdm, but got this when it tries to upload image.