Hi all,

I am trying to use watson cloud speech to text api with NAO robot v4 (NAOQI version = 2.1.4) so that when I speak to robot, it records my sound and send it to watson API for transcribing.

Similar to this: https://youtu.be/IpJySHGpVMI

Now the problem is, my robot runs python 2.7.3, when I try to run this code: https://www.ibm.com/blogs/watson/2016/07/getting-robots-listen-using-watsons-speech-text-service/#

it throws me following error:

[Errno 8] _ssl.c:504: EOF occurred in violation of protocol

I tried every possible way to tackle this issue but wasn't successful so far.

you can read some useful links here:

https://community.ald.softbankrobotics.com/en/forum/python-version-279-required-nao-11081

http://ptspts.blogspot.com/2016/11/how-to-fix-python-ssl-errors-when.html

please help

More Tahir Abbas's questions See All
Similar questions and discussions