• Register
0 votes

Problem :

I want to develop the alexa skill, which should communicate with my own webservice (tomcat). To set up my project I initially followed the amazon guides. However I am still unable to connect to my web service and I am only facing the below message :

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

My Service is only reachable with https. When I try to do my request via Postman then I get the perfect JSON-Response please see as below:

{ "version": "1.0", "response": { "outputSpeech": {"type":"PlainText", "text": "text" }, "card": { "type": "Simple", "title":`enter code here`"Tank", "content": "text" }, "shouldEndSession": true } }

How can I resolve my issue?

Please Note : I have hosted my service on Amazon EC2.

6 5 3
7,540 points

1 Answer

0 votes

Solution :

In my case my reason for "The remote endpoint could not be called" error is related to the SSL Certificate configuration.

As I have the valid Let's Encrypt certificate for the endpoint I thought I must choose the  My development endpoint has a certificate from a trusted certificate authority option.

But that did not work for me. My request did not even reach the web-server.

So when you choose the option as  My development endpoint is a sub-domain of a domain that has a wildcard certificate from a certificate authority instead then it will work.

Hope this helps in resolving your issue.

9 7 4
38,600 points

Related questions

1 vote
1 answer 69 views
Problem : I am trying to develop the WCF web service in VS2010. My web service works good in my VS2010, I have also added the web service reference to the project in this project, everything works great, call of methods, good. But when I try to deploy my web service I ... Web.Debug.config. I am very new to the WCF web services, So what do I need to deploy to make my web service work correctly?
asked Dec 28, 2019 alecxe 7.5k points
0 votes
1 answer 2.2K views
Problem : I need to build the Spring-Boot *.war with maven, but I keep facing below error: [WARNING] The requested profile "pom.xml" could not be activated because it does not exist. After completely running the mvn: clean. After the success my ... : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project webconsultas: Fatal error compiling
asked Dec 24, 2019 alecxe 7.5k points
0 votes
1 answer 16 views
Problem: I am trying to consume a PHP webservice which has the SSL certificate. I have the .net 3.5 Class library it references the webservice with a 'Add Service references' in Visualstudio 2010 If I try calling the main method of my webservice then I ... SslPolicyErrors sslPolicyErrors) { return true; } But somehow it is not working. Also I have already a certificate installed on my own pc.
asked Aug 12 Raphael Pacheco 4.9k points
0 votes
1 answer 85 views
Problem: I am having only basic knowledge of git. Now I am trying to clone the project from a gitlab to my own local machine. I have already been granted rights as the developer on it and I have used the command as 'git clone’. But none of the ... “Remote: The project you were looking for could not be found.” Any help in fixing my git related error would be highly appreciated.
asked Sep 4 Raphael Pacheco 4.9k points
0 votes
1 answer 27 views
Problem: Currently I am trying to learn Android programming. I am also trying to make an android studio project and I am learning to debug my Android application. While running my application everything works perfectly fine, but if I try to debug it then I face below error: “Could not connect to remote process. Aborting debug session.” How can I fix this Android issue?
asked Sep 1 Raphael Pacheco 4.9k points