respeakerd_client:Error when connect to the socket

info about ReSpeaker series products

Moderators: lily.li, violet, seth.welday

Post Reply
miaoxiaohu
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Fri Jun 22, 2018 9:17 pm

respeakerd_client:Error when connect to the socket

Post by miaoxiaohu » Fri Jun 22, 2018 9:20 pm

As the subject, when I run "python /home/respeaker/respeakerd/clients/Python/demo_respeaker_v2_vep_alexa_with_light.py", it shows "INFO:respeakerd_client:Start to connect to the socket: /tmp/respeakerd.sock ...
ERROR:respeakerd_client:Error when connect to the socket: [Errno 2] No such file or directory", how to resove this problem?

hong.jiang
Staff
Staff
Posts: 200
Joined: Tue Apr 17, 2018 11:03 am

Re: respeakerd_client:Error when connect to the socket

Post by hong.jiang » Thu Jun 28, 2018 2:38 pm

Hi Hu,

We try to simulate the issue, but we do not see the error. Do you see any error during excuting "curl https://raw.githubusercontent.com/respe ... ll.sh|bash"? Please use the latest image 0610 from onedriver. please let us know if the issue is not solved. thanks.

Seeed techsupport team
Bill

wangpenghao
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Fri Jan 18, 2019 11:01 pm

Re: respeakerd_client:Error when connect to the socket

Post by wangpenghao » Fri Jan 18, 2019 11:03 pm

INFO:respeakerd_client:Start to connect to the socket: /tmp/respeakerd.sock ...
ERROR:respeakerd_client:Error when connect to the socket: [Errno 111] Connection refused
INFO:respeakerd_client:Start to connect to the socket: /tmp/respeakerd.sock ...
ERROR:respeakerd_client:Error when connect to the socket: [Errno 111] Connection refused
INFO:respeakerd_client:Start to connect to the socket: /tmp/respeakerd.sock ...
ERROR:respeakerd_client:Error when connect to the socket: [Errno 111] Connection refused

I get the same problem

bill.yu
Junior-6
Junior-6
Posts: 691
Joined: Mon Apr 02, 2018 11:05 am

Re: respeakerd_client:Error when connect to the socket

Post by bill.yu » Tue Jan 29, 2019 6:08 pm

Hi there,

The root cause is that you do not run the respeakerd. you have to open another terminal to run the respeakerd, then run the python code. thanks.

respeaker@v2:~$ sudo systemctl start respeakerd
respeaker@v2:~$ sudo journalctl -f -u respeakerd

Post Reply