chainstacklabs / pump-fun-bot

A fully functional pump.fun trading and sniping bot not relying on any 3rd party APIs
101 stars 49 forks source link

Proxy error? #3

Closed teletonn closed 1 month ago

teletonn commented 1 month ago

Hi! Thanks for your code, its very helpful for me. When I starts trade.py, it can get the new token, but after 15 seconds when it tries to buy it (as I undertstand) script ends with this error: File "/home/al/bots/pump-fun-bot/venv/lib/python3.12/site-packages/httpx/_config.py", line 338, in init raise ValueError(f"Unknown scheme for proxy URL {url!r}") ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:2080/')

What is wrong? I'm using chainstack node & both https and wss are in my config.

teletonn commented 1 month ago

Ok, I've found out what it was. Even with turned off proxy in ubuntu it tries to take it from there, so I've had to clear proxy settings, restart terminal and its go. Butt now its another problem, I'll open an issue with it next. Anyway, Thanks.