-
Notifications
You must be signed in to change notification settings - Fork 205
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
Stream failing. Cause: Websocket transport not available #340
Comments
Try modifying stream_ig.py and replace "ConsoleLogLevel.INFO" with "ConsoleLogLevel.DEBUG". |
Thanks @dario-weswit ! looks like the issue with SSL certificate here:
I'm on mac m1 pro, is there anything specific to do with ssl? |
It is recommended to avoid using a self-signed certificate for a public server. sslcontext = ssl.create_default_context(cafile='cert.crt')
sslcontext.load_cert_chain(certfile='cert.crt', keyfile='cert.key')
LightstreamerClient.setTrustManagerFactory(sslcontext) In this example, 'cert.crt' is the path to the certificate in PEM format, and 'cert.key' is the path to the private key. |
Hi, anyone having issues with stream? I've tried sample 'stream_ig.py' with Live account credentials and looks like there is something with websocket connection.
The text was updated successfully, but these errors were encountered: