octoprint-2.log (293.5 KB)
Greetings:
I have Octoprint working on a Raspberry Pi 4 with Pi Camera. the Pi is connected via ethernet and has a static IP.
Telegram was working properly, sending updates on events and Z changes which included a .GIF from the Pi Cam.
I now am getting the updates, but no image or .GIF. Instead, I get [ERR GET IMAGE]
testing the Pi Cam in Setup confirms it is producing an image. video is viewable on Control tab.
I have uninstalled/reinstalled Telegram using the Plugin Manager. I have updated the Pi using
sudo apt update -y
sudo apt full-upgrade -y
I note that Chromium browser on the Pi reports that it could not update via a pop up message when running the browser. I'm unsure if this is related.
looking at the logs, I see a lot of activity I did not see before, which I hope is a clue to identifying the problem/solution:
Log showing MANY repeats of:
2020-07-13 09:14:48,604 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 422825368...
Clearly, Telegram is unable to connect (see below) and is reporting a failure in name resolution:
A portion is below. Log is attached. I am surmising that Chromium might be having the same or related problem
octoprint-2.log|attachment](upload://pEt72dECl8G6zrHIQ8UXtKIXJCE.log) (293.5 KB)
The other, repeated Telegram related messages in log are:
2020-07-12 15:29:22,709 - octoprint.environment - INFO - Detected environment is Python 2.7.16 under Linux (linux2). Details:
| hardware:
| cores: 4
| freq: 1500.0
| ram: 1979600896
| os:
| id: linux
| platform: linux2
| plugins:
| pi_support:
| model: Raspberry Pi 4 Model B Rev 1.1
| octopi_version: 0.17.0
| python:
| pip: 19.3.1
| version: 2.7.16
| virtualenv: /home/pi/oprint
2020-07-12 15:29:22,709 - octoprint.server - INFO - ------------------------------------------------------------------------------
2020-07-12 15:29:25,941 - octoprint.plugins.telegram.listener - ERROR - Setting status: Got an exception while trying to connect to telegram API: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot882326858:AAHe-YuFG42GWM9H21nwtbko6XC6LCdiFyQ/getUpdates?timeout=30&offset=422825368 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xa6123db0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)). Waiting 2 minutes before trying again.
2020-07-12 15:31:26,020 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 422825368...
2020-07-12 15:31:46,047 - octoprint.plugins.telegram.listener - ERROR - Setting status: Got an exception while trying to connect to telegram API: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot882326858:AAHe-YuFG42GWM9H21nwtbko6XC6LCdiFyQ/getUpdates?timeout=30&offset=422825368 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xa61af690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)). Waiting 2 minutes before trying again.
I am unsure of how to approach the problem.
I know the Pi can ping public sites, like Google, for instance but I can't ping www.telegram.org (no response)
Perhaps I have a network setup problem that I can't figure out.
Any help is appreciated.
Thanks for any help!
I've JUST about got everything working.
Dave