Comments (15)
Hi,
Run ngrok by itself (without starting your flask server), and open the provided ngrok link in your browser. Do you obtain a page saying that your connection tunneled successfuly?
from flask_ask_ros.
Hey,
So I ran ngrok by itself and stopped the flask server. The connection didn't tunnel successfully and I got a 502 bad gateway error. What do you recommend I do next?
Screenshot: https://photos.app.goo.gl/t3cgxD14dgrL5Q7CA
Thanks,
University of Delaware IDS Lab
from flask_ask_ros.
This is likely a firewall issue preventing ngrok from communicating with their servers.
My first suspicion is that port 5000 might be closed by your firewall.
Let's try a few things:
- Try starting ngrok in different ports (port 80 for example):
./ngrok http $ROS_IP:80
- Try starting ngrok in your localhost (port 5000 or other port):
./ngrok http 5000
Try accessing the link and let me know if the connection tunneled properly.
from flask_ask_ros.
Hey,
I have tried disabling the firewall and your new methods (different ports and localhost) but the link still doesn't work I am getting a 502 bad gateway error.
Screenshoot: https://photos.app.goo.gl/4CKrQqfLd9yN2S1y9
Screenshoot: https://photos.app.goo.gl/4CKrQqfLd9yN2S1y9
Screenshoot: https://photos.app.goo.gl/nNFgPwJkxs28EB2q8
Screenshoot: https://photos.app.goo.gl/aB6b6FfhdL3HFEt58
What do you think should be my next steps? Could we Skype to resolve this issue? I appreciate your time and help.
Thanks,
University of Delaware IDS Lab
from flask_ask_ros.
Hi Nikhil,
After taking a closer look at your screenshots, it looks like ngrok was working all along: the browser page says that the connection was successfully tunneled, but no webservice is running.
Please follow the instructions under "ngrok tunnel configuration" and send the output of roslaunch.
from flask_ask_ros.
Also, take a look at this issue, which may be relevant:
https://stackoverflow.com/questions/49375054/alexa-skill-development-using-flask-ask-and-ngrok
from flask_ask_ros.
I have followed your instructions and the output of roslaunch (roslaunch flask_ask_ros start_skill_server.launch ngrok:=true) was unsuccessful.
Screenshot of error message: https://photos.app.goo.gl/FFsmxGRQDePvzybk8
I have also tried the solution on stack overflow but it seems I already have it installed.
Screenshot: https://photos.app.goo.gl/dWMrcUsBySNeTUSj6
Thanks for your continued support,
UD IDS LAB
from flask_ask_ros.
Hm, can you try installing cryptography 2.1.4?
pip install cryptography==2.1.4
from flask_ask_ros.
I installed cryptography 2.1.4 and I am getting the same results. Could you help me with the new error I am getting: https://photos.app.goo.gl/MLqo6VanQZKMa3Du8
Thanks,
UD IDS LAB
from flask_ask_ros.
Have you tested with the Alexa commands?
from flask_ask_ros.
Yes and I get a internal server error, I think it would be easier if we just Skyped to resolve this problem
from flask_ask_ros.
Could it be an issue with port forwarding? I already specified the port forwarding in the Linksys router settings.
Screenshot: https://photos.app.goo.gl/Mi5yvS1Vi9hvimdY6
from flask_ask_ros.
I fixed it because of the downgrading the pip cryptography
from flask_ask_ros.
Hi Nikhil,
Could you post the version of cryptography that works?
from flask_ask_ros.
@NikhilKanamarla just make sure your app server is running first before you run ngrok, it worked for me! 💯
from flask_ask_ros.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask_ask_ros.