You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
(Failed to register bot due to error Error remov ing old webhook
I/O exception (java.net.SocketException) caught when processing request to {s}->https://api.telegram.org:443: Connection reset
)
From what can this error be?
locally everything works!
but the server gives this error
I have a server in Yandex Cloud
The text was updated successfully, but these errors were encountered:
Sorry, I totally forgot to answer you. Is your problem still existing?
I had this error too while trying to enable proxy for bot, but now I have another error, can you help, please?
So, I set up proxy type, host, port (application.yml), made default constructor and initialized DefaultBotOptions. In debug I see that this context has proxyType, proxyHost and proxyPort properties set like I wanted. But when I start application, it either can't connect to SOCKS5 proxy with this error "I/O exception (java.net.SocketException) caught when processing request to {s}->https://api.telegram.org:443: Malformed reply from SOCKS server" or if I try another proxy it just hangs and then I get error by connection timeout. If I ping this proxy in cmd, it responds.
So, can you help me please enable proxy connection for bot?
UPD: i tried other socks5 proxies and I found that my code is working actually, but I can't connect to proxy on 1080 port, looking for solution now. Example proxy that's not working: 46.4.96.137:1080
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi @xabgesagtx
I get this error.
(Failed to register bot due to error Error remov ing old webhook
I/O exception (java.net.SocketException) caught when processing request to {s}->https://api.telegram.org:443: Connection reset
)
From what can this error be?
locally everything works!
but the server gives this error
I have a server in Yandex Cloud
The text was updated successfully, but these errors were encountered: