question

ThomasI avatar image
ThomasI asked

Debugging from Service Simulator

I am hosting my alexa skill service on 2 different Servers (same sources on both machines)

Server 1 works fine when I use it in the Service Simulator from the develoment console.

If I switch to server 2 using the configuration tab everything looks good in the first moment, but when I start a query from the Service Simulator I get the message:

"The remote endpoint could not be called, or the response it returned was invalid."

Unfortunately this is all the Information I get from the test tab of the developer console. When I do requests from my machine at home (using Postman), the response of both servers looks the same.

Is there a way to get more information for debugging?

(Also requests from http://requestmaker.com/ are working good on both Servers)

skilldebuggingalexa smart home
1 comment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ross@Amazon avatar image Ross@Amazon ♦♦ commented ·

Hi Thomasl,

I've ask the Alexa Skills Kit development team if they can provide any additional advice for debugging your skill. Do you have any other logs available?

0 Likes 0 ·
Galactoise avatar image
Galactoise answered

There's not a way to get more information - debugging Alexa Skills is notoriously tricky in cases like this because they don't provide much in the way of error messaging. The first thing I would check, if I was you: do both services have properly configured SSL certs? Amazon is extremely strict about this, and it's a huge headache to troubleshoot. My team just uses a Lambda pass-through to avoid the problem altogether.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ThomasI avatar image
ThomasI answered

Thanks for the tip. I checked both Servers with the diagnostic tool from https://www.digicert.com/help/

The certificates on both Servers a good. The development Server (the working one) has a certificate from "Let's Encrypt Authority X3" and the other one from "Symantec Basic DV SSL CA - G2".

I guess that both should be ok....

Is there a chance to get official help from Amazon?

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

davorin avatar image
davorin answered

Wasn't there something lately in the news that Symantec is giving out bad certificates and they could be banned forever for their certificate business and loose their CA?

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ross@Amazon avatar image
Ross@Amazon answered

The source code on both the servers is the same so the issue is most likely due to the certificates bound on the two servers. One of them has probably expired.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.