fabianonline/OctoPrint-Telegram

ERR GET IMAGE with WebCam

Opened this issue · 1 comments

Hello, I'm running Octo4a on a tablet. I’ve directed my computer's camera over IP using the Yawcam application. There’s no issue with live or snapshot images on Octoprint, and I can also view them in my browser. However, the Telegram bot is not transmitting any images and instead sends the message '[ERR GET IMAGE]'. Could you please help me with this?

chrome_45ggK06MvK
chrome_i5LbJ9AVFi
chrome_lAdjZ8ZmC7

Telegram:
Telegram_iwuiE2mHjL

I'm getting the same errors using octoprint for windows and yawcam. In addition to what @cankurall is getting, here are also the logs:

2024-11-21 10:00:07,429 - octoprint.settings - WARNING - DeprecationWarning: Detected access to deprecated settings path ['webcam', 'snapshot'], returned value is derived from compatibility overlay. Please use the webcam system introduced with 1.9.0, this compatibility layer will be removed in a future release.
2024-11-21 10:00:07,430 - octoprint.plugins.telegram - DEBUG - Snapshot URL: http://192.168.1.11:1111/api/frame.jpeg?src=webcam1
2024-11-21 10:00:07,560 - octoprint.plugins.telegram - DEBUG - Image transformations [H:None, V:None, R:None]
2024-11-21 10:00:07,561 - octoprint.plugins.telegram - DEBUG - message so far: [ERR GET IMAGE]

2024-11-21 10:00:07,561 - octoprint.plugins.telegram - DEBUG - Sending without image.. 605302509

It takes my snapshot url as http://192.168.1.11:1111/api/frame.jpeg?src=webcam1 whereas the actual one is http://192.168.1.11:8888/out.jpg?action=snapshot