wowtrack / feedback

wowtrack.gg feedback repo
https://wowtrack.gg
1 stars 0 forks source link

Not able to load account data. #41

Open seadub opened 5 months ago

seadub commented 5 months ago

Describe the bug The app is not able to load data for my account. Stuck in "please wait" for several minutes.

Details When logging in via both Firefox and Edge browsers, I'm not seeing the app complete the loading of data for my account via battlenet api.

Expected behavior I expected data to be finished loading within a minute. Instead, there is no progress with continuous attempts to call refresh API, getting 304 responses from the service.

Screenshots Screenshot 2024-04-06 201442 Screenshot 2024-04-06 201433 Screenshot 2024-04-06 201428

Additional context Add any other context about the problem here.

Debug Data No debug data available. Screenshot 2024-04-06 201623 Screenshot 2024-04-06 201617

bonesoul commented 5 months ago

I'll take a look, thanks for the report.

bonesoul commented 4 months ago

i have pushed a tiny fix, can you check it again please?

seadub commented 4 months ago

Hey, thanks @bonesoul . I just tried again on both browsers, same issue for at least 2 minutes. No obvious errors in console log or network comm on my end...

seadub commented 4 months ago

A header in the refresh call's response seems relevant:

{"success_fraction":0,"report_to":"cf-nel","max_age":604800}

Attached har file for review. wowtrack.gg.zip

bonesoul commented 4 months ago

thanks for the har file, I'll check it.

erikaxe commented 4 months ago

Any update on this? After login I receive 401 & CORS error messages in consoles on Edge, Chrome & Firefox. No data is loaded, just the login spinner is shown. image

seadub commented 3 months ago

Bump. Just thought to try again and still seeing the same issue in both Firefox and Edge browsers.

bonesoul commented 3 months ago

Please give it a retry today, hopefully fixed the issue.

seadub commented 3 months ago

Tried minutes ago - not stuck refreshing anymore but response from clicking "Refresh Characters" has no data in it.

{"battlenet":{"regions":[]},"characters":[]}

I thought to check on something... in my Bnet connected account settings (https://account.battle.net/connections#connected-accounts) there was a reference to wowtrack.gg with only grants for basic bnet account info, nothing about wow game data. I removed that connection, then it was able to get a response, still missing list of wow accounts and characters.

I flushed all cookies and local storage for wowtrack.gg, then signed on once more. Battle.net prompted me to authorize again:

authorize

After doing this, and then hitting refresh characters... I finally see my character list on top-right and progress tracked!

Perhaps we can save these notes for other users.

bonesoul commented 3 months ago

thanks for the clarification, keeping the issue for others reference.