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

Login hangs at "verifying account" - Android #4401

Closed
ghost opened this issue Dec 19, 2013 · 12 comments
Closed

Login hangs at "verifying account" - Android #4401

ghost opened this issue Dec 19, 2013 · 12 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Dec 19, 2013

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?

@mattab
Copy link
Member

mattab commented Dec 25, 2013

Thanks for the report. Do you see the HTTP request for Piwik Mobile in your server access logs in your Piwik server?

@ghost
Copy link
Author

ghost commented Dec 25, 2013

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.

@tsteur
Copy link
Member

tsteur commented Dec 25, 2013

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.

@tsteur
Copy link
Member

tsteur commented Dec 26, 2013

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.

@mattab
Copy link
Member

mattab commented Dec 26, 2013

@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."

@tsteur
Copy link
Member

tsteur commented Dec 26, 2013

@ghost
Copy link
Author

ghost commented Dec 26, 2013

Attachment: error.log from the last 2 days
error.log

@ghost
Copy link
Author

ghost commented Dec 26, 2013

Attachment: access.log from the last 2 days
access.log

@ghost
Copy link
Author

ghost commented Dec 26, 2013

Attachment: www-error.log from the last 2 days
www-error.log

@ghost
Copy link
Author

ghost commented Dec 26, 2013

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.

@ghost ghost added this to the Piwik Mobile Client milestone Jul 8, 2014
@ghost ghost added T: Bug labels Jul 8, 2014
@tsteur
Copy link
Member

tsteur commented Jul 25, 2014

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.

GET /index.php?limit=1&module=API&date=today&token_auth=anonymous&period=day&format=json&method=SitesManager.getSitesIdWithAtLeastViewAccess&language=en& HTTP/1.1" 302

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.

@ghost
Copy link
Author

ghost commented Jul 25, 2014

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.

@ghost ghost closed this as completed Jul 25, 2014
@tsteur tsteur self-assigned this Jul 25, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants