-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The remote endpoint could not be called, or the response it returned was invalid. #26
Comments
I'm working through this tutorial tonight and can confirm that I'm getting the same error on the testing section. |
Looks like tonight (06/22/2017) the N. Virginia center is experiencing issues with Lambda services: https://status.aws.amazon.com/ Error message: 6:26 PM PDT We are investigating increased error rates for Lambda integrations and Custom Authorizers in the US-EAST-1 Region. I just tried a separate tutorial (https://github.com/alexa/skill-sample-nodejs-howto) and selected the Ireland service center and passed the testing phase. |
Thanks, should of checked there. |
I am still facing the same issue in both N. Virginia and Ireland |
Are you sure? I just checked status.aws.amazon.com and it looked all right. |
Yup - I am sure. This is the error I am getting as per my cloudwatch logs: 2017-06-25T17:21:41.029Z c0c17851-59ca-11e7-b02a-b1b3a688e889 |
I tried adding sessions handler as suggested in this: var newSessionHandlers = { But still getting the same error |
In the developer console go to the testing page for your skill and follow the instructions to test it. When you click ask [your skill name] does it return |
Yes - that is what is returns. In the developer console I am going to the testing page for the skill and then following the instructions. I am getting the error - The remote endpoint could not be called, or the response it returned was invalid. |
Same for me as well... |
I am getting the same error. |
Check what the skill is returning. If something is off in the response, then Alexa won't like it. Test the skills response in the AWS console. |
In Lambda, check timeout value (basic setting >> timeout). When I used default 3 secs, I got the same error. When I changed to 30 secs, it works. Maybe it need more time to load the 1st time or 3 secs is just not enough. |
I'm having this issue too. The solutionby @lawardy didn't solve my issue. |
I've given up on using this and have switched entirely to flask-ask. This is far the best (in my opinion) sdk. |
Hi - I was getting this error but it was because the name that I gave my intent in the skills builder did not match the js example for lambda. Namely, |
That worked for me! |
@ConorMatthews How did you fix this?? |
@nstajduhar I followed @melrom instructions because it was calling an intent list that was not there because when setting the intents up i did not follow the instructions advice to call it |
@ConorMatthews where is this |
@nstajduhar if you go to the example code where you changed the facts, on line 112 there should be the code, just change that. |
@ConorMatthews facts? I didn't come across that? Can you link a screenshot |
Are you using https://developer.amazon.com/alexa-skills-kit/tutorials/fact-skill-1 as a starting point? |
That is a tutorial made by amazon |
I have done all this but I don't see anywhere with a line number 112 |
@ConorMatthews nvm I got it now thanks! |
@ConorMatthews How did it get fixed. Can you help me with this? |
can anyone help me to fix the same problem for mt code...???? |
@soundarsurya I got it fixed by making my api response faster. |
@naik899 could you explain in detail please...?? |
The remote endpoint could not be called, or the response it returned was invalid. |
@soundarsurya @Juresse This error can be for couple of reasons as per my experience with Alexa skill set
|
@naik899 thanks for the response. |
Guys, you should increase time and use HTTPS instead of HTTP. Hope it helps someone. |
I have increased the execution time but seems to be the same error.
then i leave that and choose HTTP option instead AWS lamba.
…On Wed, Apr 11, 2018 at 3:51 PM, Dmitry Grinko ***@***.***> wrote:
Guys, you should increase time and use HTTPS instead HTTP. Hope it helps
someone.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ahe8vNCNE4jQ2csOaT_6qsuY3Su5flvUks5tndlCgaJpZM4ODENV>
.
|
@soundarsurya Are you still experiencing a problem? I took a look at the history and I'm not sure what you're experiencing. I have not seen this (unmodified) sample hit the timeout threshold, so I would lean towards something else. However, since this sample has been updated, you have a few options - start over with the latest code which uses the new version of the SDK, use the Serverless Application Repository in AWS Lambda to create the skill backend code, or continue troubleshooting this. LMK what you prefer. |
What I'm experiencing problem is: when I call from Alexa skill test it
shows "the remote endpoint could not be called".
I have checked and changed execution time of code but still I'm getting the
same.
…On May 3, 2018 4:47 PM, "franklin-lobb" ***@***.***> wrote:
@soundarsurya <https://github.com/soundarsurya> Are you still
experiencing a problem? I took a look at the history and I'm not sure what
you're experiencing. I have not seen this (unmodified) sample hit the
timeout threshold, so I would lean towards something else. However, since
this sample has been updated, you have a few options - start over with the
latest code which uses the new version of the SDK, use the Serverless
Application Repository in AWS Lambda to create the skill backend code, or
continue troubleshooting this. LMK what you prefer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ahe8vAYII9xmoqtKEBSDtqtNiggMaUHVks5tuuc0gaJpZM4ODENV>
.
|
Is the endpoint a Lambda function or an SSL endpoint? If it's a Lambda endpoint, I would check to confirm the full arn is present and correct in the skill endpoint configuration (with no extra spaces), the Lambda function has the Alexa Skill Kit trigger and the Skill ID verification in the trigger is either not enabled, or is set to the correct skill id. More info on endpoint: https://developer.amazon.com/docs/devconsole/build-your-skill.html#custom-model |
@soundarsurya are you still experiencing this? If so, can you add some detail about your configuration? http endpoint or Lambda? if http, what kind of certificate are you using? Do your server logs show any sort of activity? If Lambda, does Alexa have permission to invoke your Lambda function? Are there any entries at all in the CloudWatch log? |
please follow the youtube video here to get over the lambda connection issue: https://www.youtube.com/watch?v=QkbXjknPoXc |
closing due to age |
I am very new at developing with alexa. I followed to tutorial but when I get into the testing section it gives me an error:
The remote endpoint could not be called, or the response it returned was invalid.
Don't know what I did wrong - the arn is copied correctly.
I'm following the tutorial here: https://developer.amazon.com/alexa-skills-kit/tutorials/fact-skill-4
The text was updated successfully, but these errors were encountered: