problem connecting, to a self hosted django server, testing via ngrok
I am moving from lambda to try to develop a self hosted skill. I have an end point setup running locally on my Mac but exposed via ngrok (a tunneling tool) to a public accessible https connection. When I try to connect using my Echo, I am getting the generic "A connection could not be established to Resource ..." error in the
echo.amazon.com / home page. The end point works if I hit it from a browser or curl. Also I can see that there are no http attempt. I have my skill setup to use a https endpoint in the "My development endpoint is a subdomain of a domain that has a wildcard certificate from a certificate authority" mode. Any pointer is much appreciated. P.K.
OK, my problem ended up being certificate issue. I thought I had an Amazon Approved Certificate b/c I saw StartCom in the list of trusted certs (
https://wiki.mozilla.org/CA:IncludedCAs); but, apparently the free tier that I have is not included. I generated a self-signed cert and now it works.
I was told that actually ASK does not care about certificate. Maybe that is not try anymore. I deploy this heroku and it works on heroku. It is just much slower since I have to keep pushing to heroku via git to release new code. P.K.