-
Notifications
You must be signed in to change notification settings - Fork 603
AuthDelegate Error for installing AVS SDK for arm target #287
Comments
Hi @dhananjayj29, could you provide me your AlexaClientSDKConfig.json file? You can block out any sensitive information with asterisks. Also could you provide the logs from the start of the application? |
AlexaClientSDKConfig.txt Thanks for the reply... |
Hi again, You might need to fill out the config.json file a bit more. Check step 3.2 here. Namely, the lack of a CertifiedSender field could cause issues. |
Hi |
Hi but errors mentioned in the attached log files seems to be either HTTP2 connection issues or gstreamer issues . |
I'm not sure which logs you are referring to. Can you send me the logs again and also tell me what steps you took to reproduce it? Are the errors happening just as you start the app up or are you giving a command to listen to music or something? |
Hi Frozenberg,
But after that below issues are seen
########################### Thinking...###########################
2017-11-08 10:08:51.069 [ 9] 9 MediaPlayer:playCalled Please provide some pointers. |
Hello dhananjayj29, Sorry for the long delayed response. Do you know what version of the SDK you were using when you observed the
message? I am asking because an issue like this was addressed in the 1.1 release. Regarding the low volume issue, are you still experiencing it? If so, can you tell us more about your audio configuration? Thank you, |
Hi, This issue was reported on 1.0.x version and recently I moved to 1.2.1 version of SDK. Latest logs are as below: ########################### Listening...############################ 2018-01-08 23:12:51.661 [ 8] 9 MediaPlayer:getSpeakerSettingsCalled Thinking...########################### 2018-01-08 23:12:55.273 [ 11] I InProcessAttachmentReader:readFailed:reason=SDS is closed Alexa is currently idle!######################################## 2018-01-08 23:12:55.951 [ 2] 0 MediaPlayer:handleSetSourceCalled Also stack strace for this issue is changed: #5 0xb6c2d73c in __cxxabiv1::__cxa_throw (obj=0xb3e0d928, tinfo=, dest=) |
Closing in favor of #391 |
Hi
I am getting the following errors while running Sample App on My ARM target.
2017-10-31 12:01:31.470 [ 2] I AlertsCapabilityAgent:executeScheduleNextAlertForRendering::no work to do.
2017-10-31 12:01:31.470 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0xc9c70,policy=BLOCKING
2017-10-31 12:01:31.470 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=AudioPlayer,name=ClearQueue,handler=0xca1d8,policy=NON_BLOCKING
2017-10-31 12:01:31.470 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=AudioPlayer,name=Stop,handler=0xca1d8,policy=NON_BLOCKING
2017-10-31 12:01:31.470 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=AudioPlayer,name=Play,handler=0xca1d8,policy=NON_BLOCKING
2017-10-31 12:01:31.471 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0xc8340,policy=NON_BLOCKING
2017-10-31 12:01:31.471 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=StopCapture,handler=0xc8340,policy=NON_BLOCKING
2017-10-31 12:01:31.471 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Alerts,name=DeleteAlert,handler=0xcadd0,policy=NON_BLOCKING
2017-10-31 12:01:31.471 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Alerts,name=SetAlert,handler=0xcadd0,policy=NON_BLOCKING
2017-10-31 12:01:31.471 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=System,name=SetEndpoint,handler=0xdd708,policy=NON_BLOCKING
2017-10-31 12:01:31.471 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=System,name=ResetUserInactivity,handler=0xc8124,policy=NON_BLOCKING
2017-10-31 12:01:33.218 [ 3] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2017-10-31 12:01:33.218 [ 3] E AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2017-10-31 12:01:34.623 [ 3] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2017-10-31 12:01:34.623 [ 3] E AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2017-10-31 12:01:36.423 [ 3] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2017-10-31 12:01:36.423 [ 3] E AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2017-10-31 12:01:39.418 [ 3] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2017-10-31 12:01:39.418 [ 3] E AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2017-10-31 12:01:45.604 [ 3] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2017-10-31 12:01:45.604 [ 3] E AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
Failed to authorize SDK client!
2017-10-31 12:01:51.482 [ 1] I DirectiveSequencer:doShutdown
2017-10-31 12:01:51.483 [ 1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=System,name=SetEndpoint,handler=0xdd708,policy=NON_BLOCKING
2017-10-31 12:01:51.483 [ 1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=Alerts,name=DeleteAlert,handler=0xcadd0,policy=NON_BLOCKING
2017-10-31 12:01:51.483 [ 1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=Alerts,name=SetAlert,handler=0xcadd0,policy=NON_BLOCKING
2017-10-31 12:01:51.483 [ 1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0xc8340,policy=NON_BLOCKING
2017-10-31 12:01:51.483 [ 1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=SpeechRecognizer,name=StopCapture,handler=0xc8340,policy=NON_BLOCKING
2017-10-31 12:01:51.483 [ 1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=AudioPlayer,name=ClearQueue,handler=0xca1d8,policy=NON_BLOCKING
2017-10-31 12:01:51.483 [ 1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=AudioPlayer,name=Stop,handler=0xca1d8,policy=NON_BLOCKING
2017-10-31 12:01:51.483 [ 1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=AudioPlayer,name=Play,handler=0xca1d8,policy=NON_BLOCKING
2017-10-31 12:01:51.483 [ 1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=System,name=ResetUserInactivity,handler=0xc8124,policy=NON_BLOCKING
2017-10-31 12:01:51.484 [ 1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=SpeechSynthesizer,name=Speak,handler=0xc9c70,policy=BLOCKING
2017-10-31 12:01:51.484 [ 1] I DirectiveRouter:onDeregisteredCalled:handler=0xdd708
2017-10-31 12:01:51.484 [ 1] I DirectiveRouter:onDeregisteredCalled:handler=0xcadd0
2017-10-31 12:01:51.484 [ 1] I DirectiveRouter:onDeregisteredCalled:handler=0xc8340
2017-10-31 12:01:51.484 [ 1] I DirectiveRouter:onDeregisteredCalled:handler=0xca1d8
2017-10-31 12:01:51.484 [ 1] I DirectiveRouter:onDeregisteredCalled:handler=0xc8124
2017-10-31 12:01:51.484 [ 1] I DirectiveRouter:onDeregisteredCalled:handler=0xc9c70
(SampleApp:3433): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-31 12:01:51.489 [ 4] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(SampleApp:3433): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(SampleApp:3433): GLib-CRITICAL **: g_source_remove: assertion 'tag > 0' failed
(SampleApp:3433): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-31 12:01:51.491 [ 4] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(SampleApp:3433): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(SampleApp:3433): GLib-CRITICAL **: Source ID 583304 was not found when attempting to remove it
Failed to initialize SampleApplication
Failed to create to SampleApplication!
Note:
It looks like related to LWA
E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Peer certificate cannot be authenticated with given CA certificates
E AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
As I have built curl without-ca-bundle ,without-ca-path and disabling the authetication support.
After this Peer certificate cannot be authenticated with given CA certificates error went off.
But still getting the below errors:
HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2017-10-31 12:01:36.423 [ 3] E AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
I am not able to make out whether these errors are related to LWA or SSL ca certification authentication.
I have built curl with nghttp2 and openssl-1.1.0f versions.
Please let me know the way to fix this.
The text was updated successfully, but these errors were encountered: