Closed Solana0x closed 3 weeks ago
it seems some problem in proxy one. I justt update a new version. Not sure fix it all ,because i don't have proxy server to test it.
You also didnt added any proxy auth methods we need some proxy auth method because max proxy have some username and pass
async def main():
http_proxy = ["http://172.0.0.1:3124",
"http://172.0.0.2:3124",
"http://172.0.0.3:3124"
]
we need proxy to be in formate as
protocol://USername:pass@ip:port
2024-06-04 19:18:32.009 | ERROR | main:connect_socket_proxy:101 - Connection error: 407 Proxy Authentication Required
i am trying to solve this error for now
According to https://github.com/racinette/websockets_proxy It should be support like this format. http://login:password@address:port For not Authentication proxy I test it work well.
Getting error only
The error message indicates that the WebSocket connection is being closed with a code 1011 (internal error) due to a keepalive ping timeout. This suggests that the WebSocket server isn't responding to ping messages within the expected time frame, causing the connection to be closed.
you can try
Increase Ping Interval: Increase the time between ping messages to give the server more time to respond.
can this be because my proxy provider didnt opened that port for me ? and also to run this which port we neeed to open websocket? or whats the port number ?
could you tell which Proxy provider you are using ?
I use self host proxy maybe you can try curl -x http://login:password@address:port -L ifconfig.me first for testing
tried its working in the curl command but not working in the code :(
May be proxy provider not opened the port? for the server may be we need port nub - 4576 ??
or so ? otherwise idk whats the issue
Which type of proxy do you use?
i tried everything Socks5 , http, https
later I will test some proxy to find this problem
Please add file proxy instead, async def main(): http_proxy = ["http://172.0.0.1:3124", "http://172.0.0.2:3124", "http://172.0.0.3:3124" ] Thank you bro.
done