AlexaAndroid icon indicating copy to clipboard operation
AlexaAndroid copied to clipboard

Nothing came back Issue

Open abhijagtap73 opened this issue 8 years ago • 8 comments

Hi, thanks you for your code, actually i am testing app with alexa skill set, it working fine but some time frequently it gives Nothing came back error, and take too long time from record.start(); to request body, is there any way to call alexa request synchronously for efficient result. can you share synchronous alexa request and response.

abhijagtap73 avatar Feb 25 '17 11:02 abhijagtap73

I am also seeing some lag time. Anyone have any ideas to fix them? Maybe doing the processing in C++ Native will help?

vkreal avatar Feb 25 '17 20:02 vkreal

This is happening to me also, but haven't had time to try and debug. If anyone has any ideas, I'm up for help on implementing.

KushtrimPacaj avatar Feb 26 '17 16:02 KushtrimPacaj

@willblaschko This is happening way to often to me, and I haven't had any luck debugging. I don't really know where to start the debugging. Any ideas why Amazon returns 204 sometimes ?

KushtrimPacaj avatar Apr 18 '17 08:04 KushtrimPacaj

204 can come back for several reasons:

  • The main one is to show that it received an event (this is supposed to happen)
  • It didn't understand what the user said (this is annoying)

Usually it is supposed to happen.

willblaschko avatar Apr 18 '17 14:04 willblaschko

I have found that the majority of 204 errors come from a poor recording. It was helpful for me to save a recording and play it back.

ihavenoface5 avatar Apr 18 '17 15:04 ihavenoface5

Is it supposed to be a phone specific issue or a network specific issue?

syedtalha avatar Apr 20 '17 08:04 syedtalha

@willblaschko Regarding your comment ("The main one is to show that it received an event (this is supposed to happen"), do you mean that it returns 204 like an acknowledgment ? How it would then receive the response?

I usually test it with the word "Weather", and while normally it tells the weather, sometimes it always returns 204 no matter what I do ( whether I am close, far, speaking slowly or not ),

KushtrimPacaj avatar Apr 20 '17 09:04 KushtrimPacaj

@willblaschko I saved the bytes we're sending to the server to a file, and then tried sending the same file. When I sent a file of a recording for which the server had returned 204, it always returned 204 for that file. Same for a recording for which the server had returned a response, it always returned a good response. This means that it's really an issue with the server not understanding what was said in the recording, and not a fault of the library itself.

KushtrimPacaj avatar Jun 13 '17 09:06 KushtrimPacaj