Comments (5)
For ngrok, I use something like Screen or Tmux (two terminal management programs) to easily keep it in the foreground. From what I can tell foreman is used to load the .env
file which stores your google credentials. I have no idea on the advantages though.
from geemusic.
I also use tmux to keep ngrok running in the foreground and it has worked great for me. I just accept the fact that if my server power cycles I have to run through a few setup steps again. But then I don't have to pay so it works for me. Here's my setup steps, in case it is useful (I just stuck all this in a text file on the server to remind me how to do this down the road when I inevitably forget):
Open session and start ngrok:
tmux new -s ngrok
./ngrok http 5000
Copy ngrok address
Disconnect with Ctl+b then d
Paste ngrok address into ~/geemusic/.env
Paste ngrox address (with /alexa at the end) into amazon developer console under configuration tab
Open session and start server
tmux new -s server
cd geemusic
foreman start
Disconnect with Ctl+b then d
Test server on amazon developer test section
If needed, connect to tmux sessions with tmux a -t
from geemusic.
Thanks - I may have to do the same as I'm about out of ideas to turn this into a service. It appears that letsencrypt is supported, so that shouldn't be the problem. When I hit the URL in my browser it shows as secure and I see the GET request in the server log. However I'm still getting `The remote endpoint could not be called, or the response it returned was invalid.' in the Service Simulator. I'm at pretty much a dead end until I can get a better error message.
Regarding foreman doh! I should have remembered that. I was too busy messing w/ the endpoint I didn't realize that even though the server was up, it wouldn't have authenticated!
Anyways thanks for the tmux instructions!
from geemusic.
Going to close this, as this seems like more of an issue with setup than the library itself. Thanks for handling this @PostsDesert and @alexbaucom17!
from geemusic.
I keep getting "There was an error calling the remote endpoint, which returned HTTP 503 : Service Unavailable" when trying to test in the Amazon Alexa service simulator. I built the app in Heroku following the instructions. I rebuilt the app multiple times with the same result. Any ideas?
from geemusic.
Related Issues (20)
- How to create an Alexa Skill in new Developer Console HOT 17
- Alexa - recognition issues? HOT 2
- ImportError: No module named 'pip.req' HOT 3
- Error after deploying via Lambda HOT 2
- AttributeError: module 'lib' has no attribute 'X509V3_EXT_get' HOT 1
- TypeError: Can't compile non template nodes HOT 7
- "AttributeError: module 'lib' has no attribute 'X509V3_EXT_get' " error message when GeeMusic server receives a request HOT 1
- Docker image won't start HOT 2
- Unable to Play Playlists & Uploaded from Paid Account HOT 1
- Tracks end early
- trouble getting this working - there was a problem with the response HOT 3
- Play on a speaker group or stereo pair?
- Undefined Variable Reference
- Is gee music still working? HOT 1
- Heroku : Playlist fails to play, but finds the tracks
- Support for Alexa-Hosted Skill?
- Heroku : Fails to deploy - No module named 'pip.req' HOT 1
- Docker Image Build Fails HOT 2
- ngrok assigning a new URL on each start HOT 1
- Cannot log in
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 geemusic.