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 caches stopped to work suddenly, error 403 (all c:geo versions) #15633
Comments
I have the same problem for a few hours. |
Copied from #15634 / @katzamum: Error message: Reason: It seems that your log was not posted. Please check it on the cache originating website. The website responded with following message: I received the same error with GC7TTV3, GC9P62K, G80YM6, GCA19TG |
Problem is very real. Our watchdog shows it since around midnight (last green build around 8pm yesterday) Best guess for now is a website change. I put out a notification for all c:geo versions for now. |
Update: as can be expected, the problem is reported many many times on support |
There's a new call before sending a log: curl 'https://www.geocaching.com/api/auth/csrf' The result is then used in posting the log: curl 'https://www.geocaching.com/api/live/v1/logs/GCxxx/geocacheLog' EDIT: Nevermind, that's not new after all :-( |
Created a PR to fix this. It's successfully tested, targeted against release. Style might not be the best, but no time for anything better right now ;-) |
Thanks @ztNFny for stepping in and preparing a PR so quickly! I would be able to prepare a new release tonight, maybe late afternoon. |
Thanks @ztNFny for the quick fix. It will not solve the problem for trackables and edit/delete log. But still it is worth to ship IMHO because the vast majority of user actions will be cache log creations. |
Good point, I didn't check that. Quick fix for that comming up as well - BUT I'm unable to test as gradle broke and doesn't want to build anything right now and I'm not sure whether I can solve that ... |
Tested now: So please include #15637 in the fix release |
@ztNFny Thanks for your quick reaction, fix and tests. Anyone driving the release train already, or shall I take care of that tonight or tomorrow? |
I'm still on the road, will start around 21:30 |
Well, English isn't my mother tongue. But for me the problem still remains. Sorry! |
No fixed version is available yet, so of course you still have the problem. You have to wait until a new update is available in Play Store. |
@moving-bits Leaving release then up to you if you are fine with that, because you can also review the changes which I cannot. Ping me, if I need to roll the release / if you are out of time. |
Brilliant! Thank you all. |
thanks, all done for now. Play Store is crunching the new release, let's see how fast they are tonight. |
Testing with the 2024.04.18 "Nightly", the issue is still present and I cannot post logs. Results in an 403 error (message word below). Full version/build of the nightly is "2024.04.18-NB-a58512a". Is the version pushed to the play store a newer build? -- |
a58512a is last nights build |
Thanks a lot!Alces7
-------- Originalmeddelande --------Från: moving-bits ***@***.***> Datum: 2024-04-18 22:39 (GMT+01:00) Till: cgeo/cgeo ***@***.***> Kopia: alces7 ***@***.***>, Mention ***@***.***> Ämne: Re: [cgeo/cgeo] Logging caches stopped to work suddenly, error 403 (all c:geo versions) (Issue #15633)
fixed with #15636
@alces7
this fix will be part of upcoming release 2024.04.18 (which is uploaded to Play Store already, may take an hour or so until it's available)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Have answered already by mail but will also here thank everybody who worked on this a lot! Great work done! Vielen herzlichen Dank! 😃 👍 Alces7 |
Yes, it is: Nightly 2024.04.18-nb gets build in the morning (CEST) of April 18th, so it does not yet include things merged throughout April 18th - those will be included in next day's nightly. In contrast to this, release 2024.04.18 (without "nb") got build manually in the evening, including the fixes for the logging problems. You can always have a look at the in-app changelog, it will list the fixes it contains. |
Our watchdog tests still show the same error. See for master eg. https://ci.cgeo.org/job/WatchdogTests_master/2712/testReport/cgeo.watchdog/WatchdogTest/testGeocachingLogTrackable/, |
I received only two successful logs on the test cache tonight (0:31 and 4:04). Logging fails sometimes but this doesn't seem to be consistent. I received no successful logs for the test TB. |
The fails for GeocacheLog are Response{protocol=http/1.1, code=403, message=Forbidden, url=https://www.geocaching.com/account/oauth/token} which is called during login. That's a different issue than the one fixed here. For me logging works just fine in actual cgeo. |
However, for me is the problem solved after an update of c:geo! |
We do get sporadic tickets on support still mentioning a "request verification token not found", even for users already running 2024.04.18 - maybe GC is still experiencing with different implementations? |
I don't have any issues in emulator or real device, so unable to investigate anything. If we could get debug logs with network traces for those failing maybe there's something in there. |
Some logfile extract from ticket 162056: (slightly anonymized)
|
I was able to reproduce it for TB logs now. Those fail if after starting c:geo no cache log is send before sending the TB log 😮 |
Describe your problem!
When trying to log a cache, the following error appears. Confirmed on two phones and two smartphones. Version 2024.04.13.
How to reproduce?
Just try to log anything.
Actual result after these steps?
No response
Expected result after these steps?
No response
Reproducible
Yes
c:geo Version
2024.04.13
System information
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: