Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error please help #46

Open
Danivok222 opened this issue Jan 28, 2025 · 1 comment
Open

Error please help #46

Danivok222 opened this issue Jan 28, 2025 · 1 comment
Assignees

Comments

@Danivok222
Copy link

Hi can you please help me
this is the error i got:

Traceback (most recent call last):
File "...\trade.py", line 157, in
asyncio.run(main(yolo_mode=args.yolo, match_string=args.match, bro_address=args.bro, marry_mode=args.marry))
File "...Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "...\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "...\trade.py", line 139, in main
async with websockets.connect(WSS_ENDPOINT) as websocket:
File "...\Local\Programs\Python\Python310\lib\site-packages\websockets\legacy\client.py", line 490, in init
wsuri = parse_uri(uri)
File "...\Local\Programs\Python\Python310\lib\site-packages\websockets\uri.py", line 77, in parse_uri
raise exceptions.InvalidURI(uri, "scheme isn't ws or wss")
websockets.exceptions.InvalidURI: SOLANA_NODE_WSS_ENDPOINT isn't a valid URI: scheme isn't ws or wss

@akegaviar
Copy link
Member

SOLANA_NODE_WSS_ENDPOINT isn't a valid URI

Did you set an WEBSOCKET endpoint? (not an https:// but a wss:// one)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants