-
Notifications
You must be signed in to change notification settings - Fork 45
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
Websocket connection failure for realtime data #30
Comments
Looks like you need certificates installed, this thread has some suggestions: https://stackoverflow.com/questions/50236117/scraping-ssl-certificate-verify-failed-error-for-http-en-wikipedia-org |
I had this last night. MacOS Sierra uses OpenSSL 0.9.8 which is deprecated and doesn't support TLS 1.1 or TLS 1.2. High Sierra and later uses LibreSSL, which fixed the problem when I upgraded OS. |
seen on Raspberry PI with Python 3.7.3:
|
referring to this 'fix': https://github.com/kennethreitz/requests/issues/4775#issuecomment-478198879 and ability to set this within the websocket connection code: In
Setting 'ciphers' for sslopt 'fixes' it, but I'd be cautious about patching this in anything more than a non-production use. |
I can connect and see historical data, but invoking update_realtime() returns this error: ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)
The text was updated successfully, but these errors were encountered: