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
Logging in to geocaching.com not working (Captcha problem) #9056
Comments
Extra info: logging in with geocaching.com account. Username and password are copied with help of password manager. After accidental removal of app en re-install still same issue |
This looks like our current investigated issue. |
A description was given in #8818 by @moving-bits #8818 (comment) |
This will not work as @gotiniens is using our latest release version... Would it be ok for you to install the debug apk from #9025 (click here to start download)? |
@gotiniens If you have the time you could help us by installing a special build of c:geo with extended logging. For this please use the following steps:
Thanks for your support! |
I just send the logfiles to the support address.With my limited knowledge of the app, I think there is a pretty clear error message in there. Also, I assume my password is not somewhere in the logfiles? |
I forwarded the information to our internal developer mailing list instead posting here to avoid posting any personal information which might be contained. Thanks @gotiniens , we will have a look into it. |
I took a brief look into the log (@gotiniens no password or other personal information in there), even though I am likely not bale to tackle this code-wise right now. |
In the past we had recaptcha blocking login only in case "suspicious" IP ranges are used. @gotiniens |
I am running https://adaway.org/ from f-droid. I disabled the application and it did not help. I have send new log files with AdAway disabled to the support address |
@gotiniens |
I only use my own WiFi connection, or my 4g connection. All my ip addresses are dutch, adn that is also the country that i'm in. Using my other providers I could authorize C:Geo I have send new log files |
Lets wait for a detailed analysis of the problematic case by other developers. But in case it is really a recaptcha issue as suspected by @rsudev , then for some reason gc.com requires a captcha for some of your source IP for whatever reason. I am not sure if we can solve that issue as recaptcha is targeted to avoid such automated logins like c:geo is doing at this point. |
I checked on my laptop, when using the provider where I cannot authorize I get an reCAPTHCA when trying to login to geocaching.com Connected to an accespoint set up by my phone, using my 4G providers I do not get en reCAPTCHA. So that theory seems pretty plausible |
cgeo could at least report to the user that a captcha is required to be solved, and hence cgeo was not able to authenticate against the website. @gotiniens if you authenticate successfully on GC.com with the captcha solved, and logout from the site or erase your cookies, is the captcha still there on the login page? |
Is there a difference between cgeo login, use of login page and the automatic browser login via cookies? |
I logged in with an Incognito window using the reCAPTCHA, closed the incognito window, opened a new incognito window, and was presented with a reCaptcha. |
Idea of mine (maybe dumb...): |
Another idea: If automatic login fails, allow the user to open the login form in an internal browser (webview) and after login grab the cookies. |
It is unlikely that the recaptcha will not be shown on the next attempt (if it was e.g. triggered by the ip-address as it seems in this case) |
It should also be possible to auto-fill username and password fields by injecting some JavaScript into the webview. |
I could produce the captcha after simply entering a wrong password three times on login. When I then logged in correctly one time, the captcha was gone the next time. In this case the assumption would work. But you are right, if geocaching places some sort of "permanent" condition onto captcha display this would not work. Are you sure captcha is triggered by IP adresses? |
I am not sure of course, but the tests described by @gotiniens at least hint in that direction. |
Yes, because we had a user in the past, who used TOR anonymizer permanently and always had login problems with c:geo due to captcha. |
The first help for me (on support) would be to correctly identify different login problems and provide proper error messages for each (e.g. for the captcha error, that users should check if they use any VPN service and try without it or change the network/IP). |
Thanks for creating (@gotiniens) and forwarding (@Lineflyer) the logfiles. I'll investigate and start working on a "captcha warning message" first. @Lineflyer |
@gotiniens It should show you a message like "Login failed: Captcha required. Please refer to our FAQ for guidance.". |
@moving-bits That seems to work correctly, Using my WIFi I get the message as you said. Do you need further log files? |
@gotiniens Whether we can mitigate the captcha problem is a different story, though... |
Why c:geo doesn't store the login cookies? That would help a lot for users where login via wifi connection works but not via mobile data (or vise versa). Also it would speed up the login process for everyone... |
While smoke testing the current release I tend to follow always same routines. I ran into the Captcha problem while first using the old one, seemingly due to the above mentioned captcha enforcement on consecutive login fails. This was not the case last time I had this problem. So my assumption regarding the higher occurrence of the captcha problem would be, that this is a new setup on geocaching.com to enforce captcha on consecutive login failures. |
Since we now have an explicit error message to the user for the "Captcha problem" combined with a details "What do to in case" in our FAQ, there have been no users since then contacting our support with this problem. I think thats all we can do for this Captcha case. |
As written in #9056 (comment) cgeo could store authenticated cookies to reduce the burden of users having to solve a captcha every time in this case. Last time I checked, I think cgeo was not doing that. |
I got the same problem, using my WiFi triggers the captcha, using my mobile connection I can login. |
I also have the chaptcha problem. Always, with 4G provider, and also with wifi. So its impossible for me to use cgeo |
I am having the same problem, on WiFi and 5G, effectively keeping me from Geocaching all this year. I'm a strong proponent of open source software, but I may need to abandon C:Geo until this is fixed. Also the message that @moving-bits inserted ("Login failed: Captcha required. Please refer to our FAQ for guidance.") is good, except that I could find nothing in the FAQ about this topic. |
Pls. check out FAQ "Login problems", chapter "5. Possible error messages", Headline "Login failed: Captcha required" |
About on hour ago c:geo suddenly stopped being logged in. While I logged some finds just before.
Checked username and password via browser they are correct.
Also did a factory reset for c:geo. Not working. I keep getting the wrong username/password notice
Logfile seems not very helpful:
-------- beginning of system
--------- beginning of main
09-23 22:54:10.478 17193 17233 W cgeo : [network--2] Login.login: No login information stored
09-23 22:54:34.674 17193 17193 I cgeo : [main] Requesting settings backup with settings manager
09-23 22:54:34.697 17193 17193 D cgeo : [main] LocationProvider: requesting most precise locations
09-23 22:54:34.703 17193 17257 W cgeo : [network--5] Login.login: No login information stored
09-23 22:54:37.597 17193 17193 I cgeo : [main] Added '/storage/emulated/0/Android/data/cgeo.geocaching/files' as available external dir
09-23 22:54:40.072 17193 17223 D cgeo : [looper callbacks] LocationProvider: stopping location requests
09-23 22:54:42.202 17193 17193 I cgeo : [main] Requesting settings backup with settings manager
09-23 22:55:03.867 17193 19687 D cgeo : [OkHttp] POST https://www.geocaching.com/account/logout
09-23 22:55:04.600 17193 19687 D cgeo : [OkHttp] 403 [Forbidden] (731 ms) POST https://www.geocaching.com/account/logout (http/1.1)
09-23 22:55:04.604 17193 19687 D cgeo : [OkHttp] GET https://www.geocaching.com/account/signin
09-23 22:55:04.782 17193 19687 D cgeo : [OkHttp] 200 (178 ms) GET https://www.geocaching.com/account/signin (http/1.1)
09-23 22:55:04.824 17193 19687 D cgeo : [OkHttp] POST https://www.geocaching.com/account/signin
09-23 22:55:04.984 17193 19687 D cgeo : [OkHttp] 200 (160 ms) POST https://www.geocaching.com/account/signin (http/1.1)
09-23 22:55:05.005 17193 17258 I cgeo : [network--6] Failed to log in Geocaching.com as Gotiniens because of wrong username/password
--- System information ---
Device: ONEPLUS A6013 (OnePlus6T, OnePlus)
Android version: 10
Android build: ONEPLUS A6013_41_200717
c:geo version: 2020.08.04
Google Play services: enabled - 20.33.15 (120400-330018294)
Low power mode: inactive
Compass capabilities: yes
Rotation vector sensor: present
Orientation sensor: present
Magnetometer & Accelerometer sensor: present
Direction sensor used: rotation vector
Hide caches: -
Hide waypoints: -
HW acceleration: enabled (default state)
System language: nl_NL
System date format: dd-MM-y
Debug mode active: no
System internal c:geo dir: /data/user/0/cgeo.geocaching (152,5 GB free) internal
User storage c:geo dir: /storage/emulated/0/cgeo (152,5 GB free) external non-removable
Geocache data: /storage/emulated/0/Android/data/cgeo.geocaching/files/GeocacheData (152,5 GB free) external non-removable
Database: /data/user/0/cgeo.geocaching/databases/data (156,0 KB) on system internal storage
Fine location permission: granted
Write external storage permission: granted
Geocaching sites enabled:
geocaching.com: Not logged in (Geen login informatie opgeslagen)
Geocaching.com date format: MM/dd/yyyy
Installed c:geo plugins: none
--- End of system information ---
The text was updated successfully, but these errors were encountered: