Procurement-PoE / Procurement

Path Of Exile Character & Stash Management Tool
Artistic License 2.0
331 stars 133 forks source link

Error downloading account name #1086

Closed Monisssska closed 4 years ago

Monisssska commented 4 years ago

[17-01-2020 20:07] Failed to build HTTP request and get response for: method=GET, url='https://www.pathofexile.com/login', allowAutoRedirects=, requestData='': Serwer zdalny zwrócił błąd: (503) Serwer jest niedostępny. [17-01-2020 20:07] Failed to build HTTP request and get response for: method=GET, url='https://www.pathofexile.com/character-window/get-account-name?realm=pc', allowAutoRedirects=, requestData='': Serwer zdalny zwrócił błąd: (401) Bez autoryzacji. [17-01-2020 20:07] Error downloading account name, exception details: System.Net.WebException: Serwer zdalny zwrócił błąd: (401) Bez autoryzacji. w System.Net.HttpWebRequest.GetResponse() w POEApi.Transport.HttpTransport.BuildHttpRequestAndGetResponse(HttpMethod method, String url, Nullable1 allowAutoRedirects, String requestData) w POEApi.Transport.HttpTransport.PerformHttpRequest(HttpMethod method, String url, Nullable1 allowAutoRedirects, String requestData) w POEApi.Transport.HttpTransport.GetAccountName(String realm) w POEApi.Model.POEModel.GetAccountName(String realm) [17-01-2020 20:07] System.Exception: Error downloading account name, details logged to DebugInfo.log. Please open a ticket at https://github.com/Stickymaddness/Procurement/issues and include your DebugInfo.log w POEApi.Model.POEModel.GetAccountName(String realm) w Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass23_0.b__0() w System.Threading.Tasks.Task.Execute()

Monisssska commented 4 years ago

any idea?

thailyn commented 4 years ago

Sorry for the delay in responding. Procurement is getting a 401 error, which means it is failing to authenticate with GGG's server. Please make sure you are using an up-to-date Session ID (that is, one that has not expired yet). You can also log out and then back in to the pathofexile.com website, in order to get a brand-new Session ID, and try logging in to Procurement with that.

Monisssska commented 4 years ago

I tried relogin on website, but it doesn't help. I'm not sure that I'm doing it correctly, should I just relog or do something more to get new Session ID? Where i can find that Session ID?

thailyn commented 4 years ago

See here for info on how to get the Session ID. The methods should still be generally up to date.

Monisssska commented 4 years ago

awesome! thx alot