espressif / esp-va-sdk

Espressif's Voice Assistant SDK: Alexa, Google Voice Assistant, Google DialogFlow
Other
282 stars 82 forks source link

Not Working for amazon_alexa #77

Open PoojaG20 opened 4 years ago

PoojaG20 commented 4 years ago

After flashing and provisioning(Wifi Configuration successful) also, its giving error as - [alexa]: Waiting for time to be updated [alexa]: Done getting current time: 1576775963 [alexa]: Authentication done [dialog]: Entering VA_IDLE [speaker]: Volume changed to 40 [capabilities]: Capabilities unchanged [endpoint_handler]: Cannot find endpoint URL in NVS. Setting default: https://avs-alexa-eu.amazon.com [endpoint_handler]: AVS endpoint: https://avs-alexa-eu.amazon.com W (3179) I2S: I2S driver already installed E (3189) esp-tls: mbedtls_ssl_set_hostname returned -0x7100 E (3189) esp-tls: Failed to open new connection E (3189) httpc: Failed to create a new TLS connection E (3189) [auth-delegate]: Failed to connect to Auth URL "https://api.amazon.com/auth/O2/token" W (3199) I2S: I2S driver already installed E (3199) [auth-delegate]: Error receiving refresh token response: -1 [auth-delegate]: Token will be refreshed after 60 seconds. E (7089) [http_transport]: Failed to setup downchannel stream [endpoint_handler]: Cannot find endpoint URL in NVS. Setting default: https://avs-alexa-eu.amazon.com [endpoint_handler]: AVS endpoint: https://avs-alexa-eu.amazon.com E (8759) [http_transport]: Failed to setup downchannel stream [endpoint_handler]: Cannot find endpoint URL in NVS. Setting default: https://avs-alexa-eu.amazon.com [endpoint_handler]: AVS endpoint: https://avs-alexa-eu.amazon.com On flashing and resetting device I get this log too - E (3330) esp-tls: mbedtls_ssl_set_hostname returned -0x7100 E (3330) esp-tls: Failed to open new connection E (3330) httpc: Failed to create a new TLS connection E (3330) [auth-delegate]: Failed to connect to Auth URL "https://api.amazon.com/ auth/O2/token" E (3340) [auth-delegate]: Error receiving refresh token response: -1

Please help am i missing something?

PoojaG20 commented 4 years ago

With esp-idf v 3.3.1 was getting the above issue, when tried with v3.3 its working.

avsheth commented 4 years ago

As mentioned in the Getting started guide it should be compiled with v3.2 branch.

tcpipchip commented 4 years ago

works nice on 3.2