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

Could not parse WebSocket url. (Url workable in python/web browser) #63

Open
williambug217 opened this issue Dec 5, 2017 · 2 comments

Comments

@williambug217
Copy link

williambug217 commented Dec 5, 2017

ERROR: Could not parse WebSocket url: wss://api.gemini.com/xxx/xxx

This url is from API of a third party, it has been tested scripting languages and web brower(chrome)

It looks like in easywsclient::WebSocket::pointer from_url, it only tried to parse ws:// urls with a xxx:xxx:xxx:xxx format ip? Is it intended?

@fa7eme
Copy link

fa7eme commented Apr 25, 2022

I got the same error, I changed the code of easywcclient.cpp to resolve it.
search "parse", there are some if/else statements above it with only check urls starting with 'ws'. you can change it to 'wss' manually.

@graysuit
Copy link

graysuit commented Oct 6, 2022

Anyone in future, it seems it doesn't supports SSL (means wss:// links).
Try for ws:// links instead. or use: IXWebSocket

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

3 participants