#Failed to connect to WebSocket:
1 messages · Page 1 of 1 (latest)
Sorry, don't know why the post got deleted.
Error 401 .. seems to be a issue with my token. Is the token bound to a specific region?
I will provide detailed logs in ~ 3 hours.
This is for AxiomTradeAPI?
Yes. Seems to be the response on we socket connection.
Can I specify the backend to connect to (for example us or eu-c).
Not sure, I would need to double check and let you know
test
my mesages in this chat are removed automatically?
login_example.py is not working, too
in github:
raise ValueError("Either username/password or auth_token/refresh_token must be provided")
Its wierd sometimes it happends
Let me check
Okey
Now it should work
Did you provide the auth token and refresh token?
Okay, i got some more: After login in a private browser and get acces s + refresh token from cookie the ws.start() is working.
I didnt: Bases on docs this is not requried in the construct call:
Yeah
Initialize client (no credentials required in constructor)
client = AxiomTradeClient()
this is on github.com/ChipaDevTeam/AxiomTradeAPI-py
but based on my observation it is mandantory 🙂
Do you have any up 2 date docs?
Ah yes, I meant that you can put the creds on a .env file
I havnt updated the docs yet
okay no problem.
first of all can i donate some minor amount of money to you for your support?
github or something else?
the next thing i found:
print(f":rotating_light: New Token: {token['tokenName']} - ${token['marketCapSol']} SOL")
Yeah sure, that would be really appreciated!
thisis not working, too:
2026-01-04 21:44:57,984 - AxiomTradeWebSocket - ERROR - Error handling WebSocket message: string indices must be integers, not 'str'
Yeah this is real time data and creds are needed
Ah yeah
And you got the latest version by doing pip install?
root@crypto01:/opt/axiom-bot# pip install axiomtradeapi
Requirement already satisfied: axiomtradeapi in ./.venv/lib/python3.11/site-packages (1.0.4)
Requirement already satisfied: websockets>=10.0 in ./.venv/lib/python3.11/site-packages (from axiomtradeapi) (11.0)
Requirement already satisfied: python-dotenv in ./.venv/lib/python3.11/site-packages (from axiomtradeapi) (1.2.1)
Requirement already satisfied: solders in ./.venv/lib/python3.11/site-packages (from axiomtradeapi) (0.27.1)
Requirement already satisfied: requests>=2.25.1 in ./.venv/lib/python3.11/site-packages (from axiomtradeapi) (2.32.5)
Requirement already satisfied: base58>=2.1.0 in ./.venv/lib/python3.11/site-packages (from axiomtradeapi) (2.1.1)
Requirement already satisfied: cryptography>=3.4.8 in ./.venv/lib/python3.11/site-packages (from axiomtradeapi) (46.0.3)
Requirement already satisfied: cffi>=2.0.0 in ./.venv/lib/python3.11/site-packages (from cryptography>=3.4.8->axiomtradeapi) (2.0.0)
Requirement already satisfied: charset_normalizer<4,>=2 in ./.venv/lib/python3.11/site-packages (from requests>=2.25.1->axiomtradeapi) (3.4.4)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.11/site-packages (from requests>=2.25.1->axiomtradeapi) (3.11)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./.venv/lib/python3.11/site-packages (from requests>=2.25.1->axiomtradeapi) (2.6.2)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.11/site-packages (from requests>=2.25.1->axiomtradeapi) (2026.1.4)
Requirement already satisfied: typing-extensions>=4.2.0 in ./.venv/lib/python3.11/site-packages (from solders->axiomtradeapi) (4.15.0)
Requirement already satisfied: jsonalias==0.1.1 in ./.venv/lib/python3.11/site-packages (from solders->axiomtradeapi) (0.1.1)
Requirement already satisfied: pycparser in ./.venv/lib/python3.11/site-packages (from cffi>=2.0.0->cryptography>=3.4.8->axiomtradeapi) (2.23)
You can do PayPal or crypto or ass you wish
Yeah I see
Let me test it in my end
And let you know
paypal is fine, let me check if I will use something on a regular base. I am using somethig else and spend there 5€ a months. not much but better than nothing 🙂
Sure
Go to paypal.me/ChipaCL and type in the amount. Since it’s PayPal, it's easy and secure. Don’t have a PayPal account? No worries.
Thank you very much!
No problem. As long as I use it (if I can get it run) I will donate monthly.
My auth_access_token is outdated. What is the correct way to update it?
I think I can dig into the classes/function a bit deeper. But how to update the Access Token? This is a problem for me? Login via Browser every few minutes? 😄