alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 341 forks source link

failed to allocate SSL context #104

Open mradul17 opened 6 years ago

mradul17 commented 6 years ago

Hi Alumae, I am getting Exception 'failed to allocate SSL context' in code worker.py

try:
    logger.info("Opening websocket connection to master server")
    ws.connect()
    ws.run_forever()
except Exception, e:
    print str(e)
    logger.error("Couldn't connect to server, waiting for %d seconds", CONNECT_TIMEOUT)
    time.sleep(CONNECT_TIMEOUT)

only first time worker serve the service to client, again when worker try to make connection with master. i am getting following error

INFO 2017-12-06 04:59:24,268 Opening websocket connection to master server
('failed to allocate SSL context',)
 ERROR 2017-12-06 04:59:24,269 Couldn't connect to server, waiting for 5 seconds

It continuously print above error