HearthSim / HSTracker

A deck tracker and deck manager for Hearthstone on macOS
https://hsreplay.net/downloads/
MIT License
1.19k stars 177 forks source link

Trouble syncing match data to HSReplay #1355

Open luberty opened 2 days ago

luberty commented 2 days ago

Describe the bug I have subscribed to Tier7 but HSTracker is unable to sync match data to HSReplay.net. Meanwhile, everything works fine with HDT on Windows. The hstracker.log file indicates an OAuthSwiftError Code=400 "invalid_grant" error during authentication. Network tests show that https://hsreplay.net/oauth2/token/ is reachable, but syncing still fails.

Game mode

Version (please complete the following information): 3.1.2(3065)

Log file hstracker.log

fmoraes74 commented 2 days ago

I am seeing successful OAuth authorizations happening later in the log file. What exactly do you mean by syncing fails? Collection syncing, deck tracking?

@beheh anything that would explain the 400 invalid_grant error?

luberty commented 1 day ago

Collections can sync normally, but match records (Standard and Battlegrounds) cannot be synced, and replays cannot be uploaded.

fmoraes74 commented 1 day ago

Are you in China? So your HSReplay preferences doesn't show Connected under the Replay Uploads ?

luberty commented 1 day ago

Yes, I‘m in China, but the HSReplay preferences shows that my account is already connected. Additionally, I did not encounter any sync issues when using HDT on Windows. Here is a screenshot of my HSReplay settings. CleanShot 2024-11-21 at 3  46 05