aston668334 / nodepay-socks-python

Automated mining for Nodepay.
10 stars 1 forks source link

Error #1

Closed Solana0x closed 3 weeks ago

Solana0x commented 1 month ago

image

aston668334 commented 1 month 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.

Solana0x commented 1 month ago

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

Solana0x commented 1 month ago

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

aston668334 commented 1 month ago

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.

Solana0x commented 1 month ago

Getting error only image

Solana0x commented 1 month ago

image

aston668334 commented 1 month ago

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.

Solana0x commented 1 month ago

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 ?

aston668334 commented 1 month ago

I use self host proxy maybe you can try curl -x http://login:password@address:port -L ifconfig.me first for testing

Solana0x commented 1 month ago

tried its working in the curl command but not working in the code :(

Solana0x commented 1 month ago

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

aston668334 commented 1 month ago

Which type of proxy do you use?

Solana0x commented 1 month ago

i tried everything Socks5 , http, https

aston668334 commented 4 weeks ago

later I will test some proxy to find this problem

muggle69 commented 3 weeks ago

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.

aston668334 commented 3 weeks ago

done