Percept audio device not responding

Chrsi H 31 Reputation points
2021-11-04T18:21:23.997+00:00

I have setup a Percept audio device, but the device does not respond to the keyword or any command. I looked at the speech log files and see a 401 error when I say the keyword (Computer). I also have the vision device set up and it is working (i.e. it is recognizing objects).

18:01:56 Info: Current keyword: , new keyword: computer
18:01:56 Info: Send length 48 telemetry to IoT App: {"telemetry":{"moduleState":"SpeechConfigured"}}
18:01:56 Info: From speech 52 bytes
18:01:57 Info: Send length 192 data to IoT App: {"properties":{"speechDeviceInfo":{"codecFirmwareVersion":"561","micArrayName":"Azure Ear SoM USB","micArrayType":"Linear4","moduleVerson":"0.0.10_04-Dec-2020","serialNumber":"000000000000"}}}
18:01:57 Info: From speech 196 bytes
Opening microphone PCM
18:01:57 Info: Send length 45 telemetry to IoT App: {"telemetry":{"moduleState":"SpeechStarted"}}
18:01:57 Info: Send length 34 telemetry to IoT App: {"telemetry":{"botState":"Ready"}}
18:01:57 Info: From speech 87 bytes
Opened microphone PCM
/dev/bus/usb/002/003-unbind-vid is null-vid is null
/dev/bus/usb/002/003-remove-vid is null-vid is null
/dev/bus/usb/001/005-add-03e7-2485
/dev/bus/usb/001/005-bind-03e7-2485
/dev/bus/usb/001/005-unbind-vid is null-vid is null
/dev/bus/usb/001/005-remove-vid is null-vid is null
/dev/bus/usb/002/004-add-03e7-f63b
/dev/bus/usb/002/004-bind-03e7-f63b
18:02:28 Info: Send length 46 telemetry to IoT App: {"telemetry":{"speechRecognizing":"computer"}}
18:02:28 Info: From speech 50 bytes
18:02:28 Error: Connection is failure
Connection was closed by the remote host. Error code: 1002. Error details: The server returned status code '401' when status code '101' was expected. SessionId: c411ab370de844b2a0f5bbacc557aa22

Any help is appreciated.

Azure Percept
Azure Percept
A comprehensive Azure platform with added security for creating edge artificial intelligence solutions.
72 questions
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,768 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,895 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Chrsi H 31 Reputation points
    2021-11-06T01:26:14.177+00:00

    I'm thinking this is just a bad device. It fails 99% of the time, but did recognize the keyword (Abigail) 1 time. After it recognized the keyword, it failed on the command.

    00:55:53 Info: Send length 43 data to IoT App: {"method":{"payload":"Ready","status":200}}
    00:55:53 Info: From speech 47 bytes
    00:55:53 Info: Speech -> IoT: {"payload":"Ready","status":200}
    00:55:53 Info: Method Response:{"status": 200, "payload": "Ready"}
    00:56:01 Info: Send length 45 telemetry to IoT App: {"telemetry":{"speechRecognizing":"abigail"}}
    00:56:01 Info: From speech 49 bytes
    00:56:02 Error: Connection is failure
    Connection was closed by the remote host. Error code: 1002. Error details: The server returned status code '401' when status code '101' was expected. SessionId: a01355510c8040658bcc30a00eb6ae8e
    00:56:27 Info: Send length 45 telemetry to IoT App: {"telemetry":{"speechRecognizing":"abigail"}}
    00:56:27 Info: From speech 49 bytes
    00:56:28 Error: Connection is failure
    Connection was closed by the remote host. Error code: 1002. Error details: The server returned status code '401' when status code '101' was expected. SessionId: a01355510c8040658bcc30a00eb6ae8e
    01:08:45 Info: Send length 45 telemetry to IoT App: {"telemetry":{"speechRecognizing":"abigail"}}
    01:08:45 Info: From speech 49 bytes
    01:08:47 Info: Send length 45 telemetry to IoT App: {"telemetry":{"speechRecognizing":"abigail"}}
    01:08:47 Info: From speech 49 bytes
    Playing WAVE 'listening.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
    playback_wave
    01:08:47 Info: Send length 38 telemetry to IoT App: {"telemetry":{"botState":"Listening"}}
    01:08:47 Error: Connection is failure
    Connection was closed by the remote host. Error code: 1002. Error details: The server returned status code '401' when status code '101' was expected. SessionId: a01355510c8040658bcc30a00eb6ae8e


  2. Bryan Roberts 31 Reputation points Microsoft Employee
    2021-11-12T15:46:12.473+00:00

    The custom commands speech studio seems to be down and is your root cause. I am getting this 401/101 error for the last 7 days. Not getting any signal to fix this. Percept does not work and the site does not work to test custom commands.

    https://learn.microsoft.com/en-us/answers/questions/615757/is-this-working-right-now.html


  3. António Sérgio Azevedo 7,671 Reputation points Microsoft Employee
    2021-11-17T16:00:53.437+00:00

    Hello @Chrsi H I have received confirmation that this issue is now resolved in Server Side. Can you please validate?

    I will update the answer with summary of the fix when I have it.

    Thank you!


  4. Quinn Tran 191 Reputation points
    2021-11-18T20:23:24.56+00:00

    Hello @Chrsi H ,
    To help us understand the issue a bit more, could you kindly confirm the following:

    1) Have you published your app?
    a) If so, can you provide the appid for our product team to investigate further? The below image show how you can obtain the appid
    b) if not, please do so and re-validate.
    2) Please kindly add the following tags to this issue for a timely response: azure-speech, azure-cognitive-services

    Thanks!

    150774-image.png

    0 comments No comments

  5. Chrsi H 31 Reputation points
    2021-11-21T15:37:03.417+00:00

    Hi Quinn,

    I reset the device by installing the latest firmware via USB. Now, when I try to deploy one of the sample voice assistant templates, I get the following error:

    151254-image.png

    Thanks,
    Chris


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.