Open MherMg opened 5 years ago
Sorry, I totally forgot to answer you. Is your problem still existing?
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
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