-
Notifications
You must be signed in to change notification settings - Fork 14
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
No Connection #15
Comments
You would need to forward port 443 to your instance and not just 80. HTTPS uses 443.
Sent via the Samsung Galaxy S®6 active, an AT&T 4G LTE smartphone
-------- Original message --------From: droidforever <[email protected]> Date: 7/26/17 5:00 AM (GMT-05:00) To: bbrookfield/node-alexa-server <[email protected]> Cc: Subscribed <[email protected]> Subject: [bbrookfield/node-alexa-server] No Connection (#15)
I now have your node-alexa-server running on PORT 9000 on my web server. I have forwarded the incoming port 9000 to port 80. I set my endpoint in my Alexa Skill to https://mydomain.com/thermostat
When I try to access it on the test page I get no repsonse
I am able to browse to my thermostat with http://myserveraddress/tstat and I get a response
Am I missing something here or have I configured it wrong? Your assistance as always is truly appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bbrookfield/node-alexa-server","title":"bbrookfield/node-alexa-server","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/bbrookfield/node-alexa-server"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"No Connection (#15)"}],"action":{"name":"View Issue","url":"#15"}}}
|
If your local server is running HTTP meaning you have a SSL certificate
then you have to go to Port 443 as Richard stated if not then you can't use
https you just use normal http
…On Jul 26, 2017 5:00 AM, "droidforever" ***@***.***> wrote:
I now have your node-alexa-server running on PORT 9000 on my web server. I
have forwarded the incoming port 9000 to port 80. I set my endpoint in my
Alexa Skill to https://mydomain.com/thermostat
When I try to access it on the test page I get no repsonse
I am able to browse to my thermostat with http://myserveraddress/tstat
and I get a response
Am I missing something here or have I configured it wrong? Your assistance
as always is truly appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABv-7sJbUcLTRXn5yqszWRtHC1eF_UiYks5sRwATgaJpZM4OjoLk>
.
|
Will this work? Please I need to get this working iptables -t nat -I PREROUTING --src 0/0 --dst 192.168.10.23 -p tcp --dport 443 -j REDIRECT --to-ports 9000 |
you stated in your first emai Can you browse to https://mydomain.com/thermostat/tstat from outside your network.? (Try your cell phone) If not that is where your issue is. If you have endpoint configured as HTTPS then you have to have a SSL certificate. Amazon requires that all endpoints be HTTPS other than their own. You can use a self signing certificate for testing |
I've got it working now. Thank you again for everything especially your patience. Just stupid errors on my part with my firewall. You are the best! |
I now have your node-alexa-server running on PORT 9000 on my web server. I have forwarded the incoming port 9000 to port 80. I set my endpoint in my Alexa Skill to https://mydomain.com/thermostat. I have other skills running on my domain via Alexa successfully.
When I start the server the output is:
sudo PORT=9000 node app.js
{EMPTY LINE}
there is no confirmation is that the way it should be?
Here is the line from ps -aux:
2025 4.9 0.5 991176 45816 pts/0 Sl+ 05:03 0:01 node app.js so it is for sure running
Netstat:
tcp6 0 0 [::]:9000 [::]:* LISTEN
When I try to access it on the test page I get no repsonse
I am able to browse to my thermostat with http://myserveraddress/tstat and I get a response
Am I missing something here or have I configured it wrong? Your assistance as always is truly appreciated.
The text was updated successfully, but these errors were encountered: