Closed freeoptions closed 5 months ago
Is this happening constantly or occasionally?
You should make sure to run on the newest version. We have switch over to using OkHttp to send requests.
This might also be caused by the goverment blocking connections to telegram.org.
Is this happening constantly or occasionally? It's not accidental, it's always reporting this error
You should make sure to run on the newest version. We have switch over to using OkHttp to send requests. The version I am using is 6.1.0. Following your suggestion, I changed to 6.9.7.1
This might also be caused by the goverment blocking connections to telegram.org. Maybe it was intercepted by the government, but I'm not sure.
thank you~
The current version is 7.2. Checkout the docs on how to update: https://rubenlagus.github.io/TelegramBotsDocumentation/how-to-update.html#to-version-7-0-0
The current version is 7.2. Checkout the docs on how to update: https://rubenlagus.github.io/TelegramBotsDocumentation/how-to-update.html#to-version-7-0-0
Oh, are you talking about Telegram Bots Meta? The latest version of Telegram Bots Meta is indeed 7.2.1. I am currently using the latest version of Telegram Bots 6.9.7.1. Then I will try version 7.2.1 of Telegram Bots Meta first. Thank you.
No. I'm talking about the whole library. It is split into multiple modules now. The teleframbots dependency is deprecated
No. I'm talking about the whole library. It is split into multiple modules now. The teleframbots dependency is deprecated
So the latest dependency is Telegram Bots Meta 7.2.1? It seems that I need to change the Telegram Bots dependency to Telegram Bots Meta.
thank you!
Why does my code keep reporting this error?
2024-05-15 19:55:29.394 ERROR 426 --- [gram Connection] o.t.t.u.DefaultBotSession: api.telegram.org:443 failed to respond org.apache.http.NoHttpResponseException: api.telegram.org:443 failed to respond
Below is my code
I just want to use Java to send some messages to Telegram regularly. Although it does not affect the use, the program will keep reporting errors, which makes me very unhappy. How should I solve it? Please help me solve my doubts, thank you!