Open Vovchik43432 opened 5 years ago
Where is the error message shown? Is HDT whitelisted in your firewall? Does running HDT with administrative priviliges help?
Where is the error message shown? Is HDT whitelisted in your firewall? Does running HDT with administrative priviliges help?
it doesn't work( This error appears in the browser ("Connection refused: localhost:17781"). Later in the application writes: "HS Replay Error Could not load HSReplay.net account status. Please try again later."
Please provide the HDT log corresponding to this problem. See https://github.com/HearthSim/Hearthstone-Deck-Tracker/wiki/Reporting-Issues#hdt-log-files.
Please provide the HDT log corresponding to this problem. See https://github.com/HearthSim/Hearthstone-Deck-Tracker/wiki/Reporting-Issues#hdt-log-files.
This is probably a firewall / anti virus issue. Check your settings there.
Error message from the log:
15:48:00|Info|HSReplayNetOAuth.Authenticate >> Authenticating with HSReplay.net...
15:48:00|Info|HSReplayNetOAuth.Authenticate >> [Helper.TryOpenUrl] https://hsreplay.net/oauth2/authorize/?response_type=code&client_id=[...]&redirect_uri=http://localhost:17781/&scope=fullaccess&state=[...]
15:48:01|Info|HSReplayNetOAuth.Authenticate >> Waiting for callback...
15:48:06|Info|HSReplayNetOAuth.Authenticate >> Authentication complete
15:48:06|Error|HSReplayNetOAuth.UpdateToken >> Could not update token, we don't have a code or redirect url.
15:48:06|Info|HSReplayNetOAuth.Authenticate >> Claiming upload token if necessary
15:48:06|Error|HSReplayNetOAuth.UpdateToken >> Could not update token, we don't have a code or redirect url.
15:48:06|Error|HSReplayNetOAuth.ClaimUploadToken >> Could not update token data
15:48:06|Info|HSReplayNetOAuth.UpdateAccountData >> Updating account data...
15:48:06|Error|HSReplayNetOAuth.UpdateToken >> Could not update token, we don't have a code or redirect url.
15:48:06|Error|HSReplayNetOAuth.UpdateAccountData >> Could not update token data
15:48:06|Info|ErrorManager.AddError >> New error: HSReplay.net Error
Could not load HSReplay.net account status. Please try again later.
It's not firewall / AV related.
I was proactive and already created an account and linked my blizzard account before I launched the deck tracker app, I think this path is untested. The cause is most likely cookies for both hsreplay.net and blizzard. To get around this you could clear all your cookies (which might be a pain) or:
Thanks for your reply. @azeier could you take a look at this
помогите пожалуйста !
I confirm I am having same problem with the latest version, but maybe this problem is related with hsreplay.net and not with the app itself, see attached my network log, at some point hsreplay.net does a redirect to https://localhost, which of course throws an error.
This happens when on hsreplay.net you click the "login with battle.net" button. Cache cleared.
Update: I was able to make it work, just copy the localhost url you get in your browser, replace https with http and paste it on a clean firefox session, it will authenticate correctly.
ok, I just found out that this is indeed a browser issue, due to hsts settings saved on chrome for localhost domain, chrome was forcing all http://localhost to redirect to https://localhost. You can cleanup hsts chrome settings this way: https://superuser.com/questions/565409/how-to-stop-an-automatic-redirect-from-http-to-https-in-chrome
Help pls I can not log in to your account in HS Deck Tracker "Connection refused: localhost:17781"