Previously I have a problem where I kept getting SSL error bad write retry. I found out that the real problem was that my websocket connection keep getting closed after some time during audio streaming. I swear I didn't experience this problem before (3-4 months ago). I'm using Watson STT websocket interface and basing my code using this tutorial from IBM: https://www.ibm.com/blogs/watson/2016/07/getting-robots-listen-using-watsons-speech-text-service/The problem seems to come from "self.send(bytearray(data), binary=True)" line. I also attached a stripped down version of my code.
--
You received this message because you are subscribed to the Google Groups "ws4py" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ws4py+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "ws4py" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ws4py/kGr2dCN4A_E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ws4py+unsubscribe@googlegroups.com.