-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
P2G Stopped working - PaymentRequired error #555
Comments
Looks like you're on the legacy way of uploading workouts to Garmin. Trying moving to the latest version of P2G and modifying your config file/settings to use upload strategy 2 (NativeImplV1). |
I haven't used it since Aug, had the same problem with v2.2.0, I downloaded v3.6.0 and get the same thing "[12:29:56 ERR] Http Call Failed. PaymentRequired ++++++++++++++++++++++++++++++++++++ "Garmin": { |
Helping a friend debug this one, we're seeing it as well. Verified we're using upload strategy 2 (in both the UI and in the settings db file). Tried it against multiple different docker tags/versions, same result across the board. The other verification that we're using the right upload strategy is that it's named in the error message in the stack trace, right before the error message from Garmin about payment required.
|
Hmmm so that's atleast 4 people seeing this issue. I synced some workouts today and wasn't able to reproduce on my end. The fact you're able to reproduce across multiple tags/versions indicates to me that Garmin or Cloudflare are doing something on their end to flag your requests. A very difficult thing to workaround. There might be two more things to try:
"Developer":
{
"UserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0"
},
|
We moved the failing configuration to a different laptop, both on and off a VPN, and it worked for me. Then added the UserAgent entry to the config on the original laptop, and it failed again. Is there any persistent data (like a cookie, or something else that can be cleared out or removed) stored on the host machine? This is a docker gui installation. |
P2G caches some information in memory, however this is not persisted, meaning it is cleared every time P2G restarts. The only information P2G persists across restarts can be found in the mounted data directory. Next two ideas I have are:
|
Following your instructions, I have gone ahead and removed everything but my configuration file, changing the log level to |
philosowaffle, I followed your original instructions to get the latest version of P2G ad update my config file, and it has been working fine. Thanks for your help. |
I should note; adding the user agent did not help resolve my sync issues. Bummer! 😜 |
I tried the user agent change and used a different ISP. then another laptop. |
@q20 you can email me or add me to a file share of your choice with email: |
Emailed. 👍 |
Eesh... well, reply-to-all ballsed that up. Christ. Going to change passwords now. 😬 |
@q20 Got your logs and read through them. One thing I noticed is you're still on 3.3.0-rc while the latest version of P2G is 3.6.1. I suspect you may still be on the older Docker tag that I accidentally changed a while back. The version of P2G you're on uses an older Upload url, there's a chance moving up to v3.6.1 may resolve your issue. Another interesting thing I found while reading through your logs is that you did successfully authenticate with Garmin (my assumption so far was that folks were seeing this error during the authentication phase with Garmin). A few other requests to Garmin are also successful, so this error seems isolated to the Upload endpoint on Garmin. I did some research and found some other occurrences of this error message on other projects. Documenting below for myself to reference.
Note: latest version of P2G uses |
You've solved it! Thank you for your time! |
I have been using P2G to upload my workouts for months. Lately they workouts stopped appearing in my Garmin Connect. I ran PelotonToGarminConsole.exe manually, and got the following errors:
[14:58:36 ERR] Http Call Failed. PaymentRequired
[14:58:36 ERR] Failed to upload workouts. GUpload had exit code of -1
[14:58:36 ERR] GUpload returned an error code. Failed to upload workouts.
I have verified that my Peloton and Garmin passwords are correct and my Peloton membership is paid up.
The text was updated successfully, but these errors were encountered: