camera feed no longer updating in Prusa Connect but still updating in Prusa Link
Hi,
yesterday I have set up Prusa Link and Prusa Connect with USB camera on an external RPi3 on an i3MK3s+, which initially worked flawlessly.
But, after a couple of hours printing the camera feed in Prusa Connect was no longer updating. The image feed said "The image is older than 5 minutes".
Printer status values were still updating, the print was running fine, it was just the camera feeed. In contrast to this and at the same time, in Prusa Link the camera feed was still updating as expected.
I could observe this behaviour on different devices (PC, mobile, also via mobile network), also tried to refresh the page, deleted browser cache, all without success.
But, after a while (~2 h?) it started working again, apparently for no reason.
Is there any idea why this could happen?
RE: camera feed no longer updating in Prusa Connect but still updating in Prusa Link
Hi, Connect is mighty unstable right now. We have turned off cameras to save the rest of the service. Now trying to restore full functionality. Sorry, you happened to join at crysis time 😅
RE: camera feed no longer updating in Prusa Connect but still updating in Prusa Link
Hi, thank you for your answer! So the error is not on me 😊
RE: camera feed no longer updating in Prusa Connect but still updating in Prusa Link
At this time I couldn't tell even if there was something wrong on your side 😅 but i'm pretty sure it's just connect
RE: camera feed no longer updating in Prusa Connect but still updating in Prusa Link
I recently started to have this same issue. My USB webcam/computer combo was working flawlessly but now after 5-10 seconds the screen goes black or says "camera connecting" or gives an error message. My iphone works when I scan the QR code and the camera functions the whole time. However, when I use a USB camera, I keep getting a black screen after 5-10 seconds. I tried two different USB webcams and two different computers. Same issue. It only works with the iphone camera. Please help.
RE: camera feed no longer updating in Prusa Connect but still updating in Prusa Link
How is the situation now? Should be improved a lot. If you are still having problems, you might be using a custom solution.
Please make sure the value Content-Length is being sent and is correct.
RE: camera feed no longer updating in Prusa Connect but still updating in Prusa Link
Hi Tojik, it works now. What is the "value-content-length" so that I can check? Thanks for the fix and update.
RE: camera feed no longer updating in Prusa Connect but still updating in Prusa Link
AGFAIR header Content-length should have a value of bytes sent in request, in here it should be a size of uploaded camera photo.
See my GitHub and printables.com for some 3d stuff that you may like.
RE: camera feed no longer updating in Prusa Connect but still updating in Prusa Link
Hi Tojik, works perfectly now, thank you very much!