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
Login hangs at "verifying account" - Android #4401
Comments
Thanks for the report. Do you see the HTTP request for Piwik Mobile in your server access logs in your Piwik server? |
I don't see any Piwik Mobile requests at all. I see the requests to Piwik from regular site traffic as expected, but definitely nothing from the mobile app. Nothing in the error logs either. The only thing I can add is I am now running Piwik 2.0.2 on the server and still can't use the mobile app. If I'm the only one experiencing this it may be something to do with the ROM on my mobile? Everything with Piwik has worked flawlessly for over a year and this is the first issue I've seen. |
Can you send us the domain/path to your Piwik installation to mobile(at)piwik.org? I'd try to reproduce it to see if the problem has todo with your custom ROM. In case the Piwik installation is basic auth protected have a look here: http://piwik.org/faq/mobile-app/#faq_16336 There should be an error message though. |
Thx for sending us the domain. I tried to reproduce the issue but I am getting an error message on my phone and tablet. In this case "HTTP/1.0 403 Forbidden". Can you check your error logs? Your server returns this error message. |
@tsteur maybe mobile app could print out the error code if it's not 200, ie. "The Piwik server returned an error 403. Check your server configuration and try again." |
that's already the case: https://github.com/piwik/piwik-mobile-2/blob/master/app/lib/Piwik/Network/HttpRequest.js#L359 |
Attachment: error.log from the last 2 days |
Attachment: access.log from the last 2 days |
Attachment: www-error.log from the last 2 days |
I've just posted the error & access logs from the last two days as attachments. I don't see your 403 error which is an issue I'll have to take up with the webhost (can't really troubleshoot with incomplete logs). I see errors from another site unrelated to this so I'm curious why the Piwik site errors aren't present. If I learn anything more from the webhost I'll add it here. I don't think there is an issue posting these three log attachments but if this is a bad idea please let me know & I'll remove them. |
Sorry for the late answer. I just had a look at the logs and found only one log entry which is possibly related to the mobile app.
It returns a 302. Maybe try to use HTTP in case you are trying to use HTTPS. There shouldn't be any redirect and I do not know to which URL it wants to redirect you. Maybe you can figure that out? It might be already enough to open this URL in the browser. In the worst case there is an endless redirect loop. On the other side the token_auth says anonymous indicating you did neither enter a username nor a password which does not match your report. Maybe there is a problem detecting the username/password with Cyanogenmod. I just started working on the mobile app again and I can maybe provide you an updated built which could fix the issue. |
Thanks for the follow-up message. I'm afraid I am no longer using Cyanogenmod (and temporarily not using Piwik just now either) so I'll close this as I can no longer reproduce the issue. I know I used a 301 redirect to force HTTPS server-side. Plain HTTP was not an option. I did always enter login credentials by pasting from a password manager, but that's all I can remember about it now. |
I've entered my credentials at the login screen and when I press the Login button I see the message "verifying account". Nothing else happens, even after several minutes. No error dialogue is displayed.
I can login using the Piwik Mobile 1 app on an older handset running Android 2.2, and login with my desktop browser as per usual. The installed Piwik Mobile 2 binary was downloaded directly from your blog announcement page.
I'm running CyanogenMod 10.2.0-mako / Android version 4.3.1 on a Nexus 4. The installed Piwik version on my server is 2.0.1.
I'm certain I have entered my login details correctly. My password is 48 random characters and I am copy & pasting it to avoid typing errors. Any tips on how to troubleshoot this?
The text was updated successfully, but these errors were encountered: