-
Notifications
You must be signed in to change notification settings - Fork 24
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
Can't login #88
Comments
Same here. I have spent the past week, off and on, trying every possibility and combination of other people's solutions posted here, but nothing seems to work. I have only been successful in going from the "login error" to having the "plug-in cannot load" error, and then fixing the "plug-in cannot load" error so that it is back now to the "login error". I was really enjoying my cheap Sonos alternative using Raspberry Pis since I started this a few months ago, but my heart is really starting to sink. :-( I wish someone who has gotten it to work successfully with a Raspberry Pi could post actual versions of everything critical (Raspian? Python? LMS? Gmusicapi? Plug-In? etc.). If I get it to work, I will definitely post back up here. |
Hi, def login(self, email, password, android_id): the interesting part is : This is exactly what I use for security reasons MaestroZ |
OK, I finally got it to work. And I stumbled across a REAL BIG surprise that caused me lots of wasted time. The surprise is that the LMS web interface and Google Music Plug-In (0.4.2 from Nick7634) tell me that I have entered a bad user name and password, but if I go out to the command line and manually restart LMS with this "supposed" bad user name and password, it actually starts up and logs in successfully. It finally says that I am logged in at the top of the plug-in settings page when I check. However, if I click the "Apply" button for the heck of it, it switches back and tells me again that I have a bad username and password even though I don't (another simple restart of LMS allows it to successfully log back in). This means that I cannot rely on the web interface to log in. And this issue probably made me believe that I still had software problems several times over. So bottom line is that I reverted all the way back to my original LMS setup (thankfully I had saved a disk image of my Raspberry Pi before starting all of this) and did the following:
By the way, I am currently using LMS 7.7.5 in case that matters, but I don't think it does (because I also got it to work with the 7.9 nightly version on my other Raspberry Pi during testing). My python version is the default that came with Raspian (I think it is 2.7.3), but it should at least work with 2.7.9 as well. Hope this helps everyone. Sundown94 |
Hi Sundown94, I folllowed the steps you listed, indeed it works Thanks a lot |
This worked for me. Using LMS 7.9.0. I had this problem crop up several weeks ago and followed the previous thread to switch to the nick7634 fork. Then, I switched back to the main branch when that thread had said the problem had been fixed, and it seemed to work just fine, until a reboot today produced the same problem again. Followed the procedure above (without the obsessive rebooting) and all working good. Many thanks. |
Glad it helped!! During the numerous iterations that I went through to get this working myself, I originally was not rebooting nearly as many times. After a while I started to wonder if some installations needed a reboot in order for subsequent installations to be truly successful. Without knowing the answer to that question, I just started playing it safe by rebooting after each install (and luckily, my Raspberry Pi reboots in about 30 seconds so it didn't add much time/effort). :-) |
Tried working through @sundown94 steps but getting the following error: Plugins::GoogleMusic::Plugin::initPlugin (95) Not able to login to Google Play Music: SSLError: hostname 'android.clients.google.com' doesn't match either of '.google.com', '.android.com', '.appengine.google.com', '.cloud.google.com', '.google-analytics.com', '.google.ca', '.google.cl', '.google.co.in', '.google.co.jp', '.google.co.uk', '.google.com.ar', '.google.com.au', '.google.com.br', '.google.com.co', '.google.com.mx', '.google.com.tr', '.google.com.vn', '.google.de', '.google.es', '.google.fr', '.google.hu', '.google.it', '.google.nl', '.google.pl', '.google.pt', '.googleadapis.com', '.googleapis.cn', '.googlecommerce.com', '.googlevideo.com', '.gstatic.cn', '.gstatic.com', '.gvt1.com', '.gvt2.com', '.metric.gstatic.com', '.urchin.com', '.url.google.com', '.youtube-nocookie.com', '.youtube.com', '.youtubeeducation.com', '.ytimg.com', 'android.com', 'g.co', 'goo.gl', 'google-analytics.com', 'google.com', 'googlecommerce.com', 'urchin.com', 'youtu.be', 'youtube.com', 'youtubeeducation.com' at line 64 |
Hi samkarpluk, I think the SSL error is due to gmusicapi not built properly
MaestroZ |
Thank you all for the instructions. I finally upgraded everything and the installation of the gmusicapi was successful also with respect to the wheel crypto stuff. I had to install openssl-dev though. However when I try to play a song (search etc. is working) then I it does not start and I see the following on the console: [15-07-24 23:52:35.4419] Slim::Utils::Misc::msg (1311) Warning: [23:52:35.4411] Async::HTTP: Unable to load IO::Socket::SSL, will try connecting to SSL servers in non-SSL mode Forbidden\nError 403\n\n\n') at line 2Any ideas with this issue? |
@MaestroZ
I have the correct info plugged into the plugin settings. I've also checked/unchecked the "Disable SSL check" option. |
I have it working now. Generated a new app password for the lms, plugged that in, and restarted lms. Bingo Pajama! |
For what it's worth, on my CentOS 6 server, I also needed: openssl-devel |
Hi,
Unfortunately today my Rasp Pi rebooted and now I can't login anymore to Google Play Music
The only message I have is :
Plugins::GoogleMusic::Settings::handler (75) Not able to login to Google Play Music: exceptions.TypeError: login() takes exactly 4 arguments (3 given) at (eval 877) line 182.
Tried every possibility listed in issue 84 to avail
I suppose that Google Authentication new policy is the culprit.
Too bad ;-(
MaestroZ
The text was updated successfully, but these errors were encountered: