Skip to content
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

Cannot get Heroku Setup - App Crashed errors #246

Open
blewispunk opened this issue Oct 8, 2018 · 3 comments
Open

Cannot get Heroku Setup - App Crashed errors #246

blewispunk opened this issue Oct 8, 2018 · 3 comments

Comments

@blewispunk
Copy link

I am trying to get this setup with Heroku and having a challenge getting my server live and accessible. Whenver I access the app page in my browser I can see in the log the following issue:

app[web.1]: File "/app/geemusic/utils/music.py", line 17, in init
app[web.1]: raise Exception("Unsuccessful login. Aborting!"
app[web.1]: Exception: Unsuccessful login. Aborting!
heroku[router]: at =error code=H13 desc -"COnnection closed without response" method=GET [then some more info]
DEBUG in music [/app/geemusic/utils/music.py:28]

When I keep refreshing the page I then get a bunch of H10 App Crashed errors.

It looks like I am having difficulty with the login credentials but I have checked them over and over on heroku, and even tried turning off 2-factor authentication to see if it would work with my standard password and not the app-specific password I generated but no dice.

Any ideas?

@fergyfresh
Copy link
Collaborator

try to use the gmusicapi to login locally on a computer with all the same environment variables setup. Per the README though, it definitely states you need to turn 2factor auth off and use an app password supplied from google. That's what I use for mine.

api = GMusicWrapper.generate_api(logger=app.logger)

@blewispunk
Copy link
Author

Thanks for the help! I have been trying to use gmusicapi but struggling figuring it out. I have no coding experience so a bit slow at this. I will figure it out eventually but wanted to let you know I did get your input and appreciate it!

@fergyfresh
Copy link
Collaborator

I can't log in using any new devices currently. Go up a level to this thread to find out what they are suggesting. simon-weber/gmusicapi#620

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants