respeakerd_client:Error when connect to the socket

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?

Hi Hu,



We try to simulate the issue, but we do not see the error. Do you see any error during excuting “curl <LINK_TEXT text=“https://raw.githubusercontent.com/respe … ll.sh|bash”>https://raw.githubusercontent.com/respeaker/respeakerd/master/scripts/install_all.sh|bash</LINK_TEXT>”? Please use the latest image 0610 from onedriver. please let us know if the issue is not solved. thanks.



Seeed techsupport team

Bill

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

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

My issue is, that I can connect to the socket, only after a reboot.
And only if I start directly with “/usr/bin/respeakerd” and not with “/usr/bin/respeakerd_safe”.
Is there any support for Respeaker Core V2.0? The latest comments on this device is from 2019.
If I want to restart the client, then connection is refused.