certstream server connection error (SSL: Unknown protocol)
Closed this issue · 1 comments
june5079 commented
Hi,
I set certstream server with exilir on cent OS 7 and seems to work fine.
(Web page works)
At another server, I set certstream-python and chaned wss server from calidog to my local server like below
certstream.listen_for_events(callback, url='wss://10.10.10.10:8080/') --> I changed port number
when I run the python code, error occur like this.
certificate_update: 0cert [00:00, ?cert/s]Error connecting to CertStream - [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:1123) - Sleeping for a few seconds and trying again...
Do you have any idea to solve this?
Fitblip commented
Yeah this is likely not listening on a secure socket.
Try this:
certstream.listen_for_events(callback, url='ws://10.10.10.10:8080/')
Note wss
-> ws