alexa / avs-device-sdk

An SDK for commercial device makers to integrate Alexa directly into connected products.
https://developer.amazon.com/alexa/alexa-voice-service
Apache License 2.0
1.26k stars 604 forks source link

Sample App stopped Working #1396

Closed nox2213 closed 5 years ago

nox2213 commented 5 years ago

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.

Briefly summarize your issue:

I don´t really understand why he problem occoured. I restarted the Raspberry and after that the AVS Sample App fails to start....there are Errors with the SSL-Certificat and the Port Audio Wrapper. I already testet the Mic. It is working and if i record with it all works fine

What is the expected behavior?

Sample App should Run

What behavior are you observing?

Sample App fails to build

Provide the steps to reproduce the issue, if applicable:


Tell us about your environment:

Rasbian on Raspberry Pi, with USB Microphone

What version of the AVS Device SDK are you using?

  <x.y.z>

Tell us what hardware you're using:

Tell us about your OS (Type & version):

AVS-Log.txt

kjkh commented 5 years ago

Hi @nox2213,

Which version of the SDK are you using, and how did you install it? The failure seems to be related to PortAudioMicrophoneWrapper failing to initialize:

2019-06-17 18:19:32.252 [ 1] C PortAudioMicrophoneWrapper:Failed to open PortAudio default stream:errorCode=-9997

Did you make any changes to your microphone setup between restarts?

nox2213 commented 5 years ago

The SDK Version is 1.12.0. i didn´t changed any settings, thats why i´m some sort of clueless how to begin the troubleshooting I installed all with this tutoral https://developer.amazon.com/de/docs/alexa-voice-service/input-avs-credentials.html#

nox2213 commented 5 years ago

So. I reinstalled the whole Raspberry from the start. I now have SDK 1.13.0, but still the Problem with the Port Audio error -9997(Log attached) AVS-Log2.txt

scotthea-amazon commented 5 years ago

Hi nox2213,

Can you tell us a little more about your set-up:

Thank you, -SWH

thardbarger commented 5 years ago

I had this same problem after updating to the 4.19 kernel. All my microphone tests have passed. This issue has been reported several times with no real solution.

https://github.com/alexa/avs-device-sdk/issues/1359

Vaishnavikumara commented 5 years ago

I am facing the same issue . Please Help.

DMaiorino commented 5 years ago

Not a full solution, but in my case I needed to kill the running pulseaudio daemon first, after which avs was able to open the PortAudio default stream.

kclchan commented 5 years ago

I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.