Procurement-PoE / Procurement

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

Procurement not working #1106

Closed poplo892 closed 4 years ago

poplo892 commented 4 years ago

Getting the following error in the debug:

[01-05-2020 14:23] Failed to build HTTP request and get response for: method=GET, url='https://www.pathofexile.com/login', allowAutoRedirects=, requestData='': O servidor remoto devolveu um erro: (503) Servidor não disponível. [01-05-2020 14:23] System.AggregateException: Ocorreram um ou mais erros. ---> System.FormatException: Cadeia de caracteres de entrada com formato incorrecto. em System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) em CloudflareSolverRe.Types.Javascript.JsFuck.DecodeNumber(String encodedNumber) em CloudflareSolverRe.Types.Javascript.JsCalculation.Solve() em System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable1 source, TAccumulate seed, Func3 func) em CloudflareSolverRe.Types.Javascript.JsChallenge.Solve() em CloudflareSolverRe.Solvers.JsChallengeSolver.d7.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.Solvers.JsChallengeSolver.d6.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.CloudflareSolver.d35.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em CloudflareSolverRe.CloudflareSolver.d33.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.CloudflareSolver.d32.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.CloudflareSolver.d31.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.CloudflareSolver.<>cDisplayClass30_0.<b0>d.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.Utilities.SemaphoreLocker.d11.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.CloudflareSolver.<Solve>d__30.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.ClearanceHandler.<GetClearance>d__24.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.ClearanceHandler.<SendAsync>d__20.MoveNext() --- Fim do rastreio da pilha de excepção interna --- em System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) em POEApi.Transport.HttpTransport.CloudFlareSessionIdLogin() em POEApi.Transport.HttpTransport.Authenticate(String email, SecureString password) em POEApi.Model.POEModel.Authenticate(String email, SecureString password, Boolean offline, String realm) em Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass23_0.b0() em System.Threading.Tasks.Task.Execute() ---> (Excepção Interna #0) System.FormatException: Cadeia de caracteres de entrada com formato incorrecto. em System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) em CloudflareSolverRe.Types.Javascript.JsFuck.DecodeNumber(String encodedNumber) em CloudflareSolverRe.Types.Javascript.JsCalculation.Solve() em System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable1 source, TAccumulate seed, Func3 func) em CloudflareSolverRe.Types.Javascript.JsChallenge.Solve() em CloudflareSolverRe.Solvers.JsChallengeSolver.d7.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.Solvers.JsChallengeSolver.d6.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.CloudflareSolver.d35.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em CloudflareSolverRe.CloudflareSolver.d33.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.CloudflareSolver.d32.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.CloudflareSolver.d31.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.CloudflareSolver.<>c__DisplayClass30_0.<b0>d.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.Utilities.SemaphoreLocker.d1`1.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.CloudflareSolver.d30.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.ClearanceHandler.d24.MoveNext() --- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em CloudflareSolverRe.ClearanceHandler.d__20.MoveNext()<---

thailyn commented 4 years ago

There is a 503 error from GGG, so this might be a transient error on their part. Have you been able to log in previously? Also, make sure you are using my latest patched version, available here. Edit: The download link mentioned here is out of date. Look at the description of PR #1093 for a link to the latest version.

poplo892 commented 4 years ago

yap using the patched version :) On the Forum thread there are others complaining, so I suspect that it's an error that is affecting more people.

Elfy commented 4 years ago

Same for me, worked till this morning, then 503. And still not working 12h later.

[02-05-2020 2:29] Failed to build HTTP request and get response for: method=GET, url='https://www.pathofexile.com/login', allowAutoRedirects=, requestData='': The remote server returned an error: (503) Server Unavailable. [02-05-2020 2:29] System.AggregateException: One or more errors occurred. ---> System.Exception: Error parsing JS challenge html at CloudflareSolverRe.Types.Javascript.JsChallenge.Parse(String html, Uri siteUrl) at CloudflareSolverRe.Solvers.JsChallengeSolver.d7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.Solvers.JsChallengeSolver.d6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.d35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.d33.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.d32.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.d31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.<>cDisplayClass30_0.<b0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.Utilities.SemaphoreLocker.d11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.<Solve>d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.ClearanceHandler.<GetClearance>d__24.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.ClearanceHandler.<SendAsync>d__20.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at POEApi.Transport.HttpTransport.CloudFlareSessionIdLogin() at POEApi.Transport.HttpTransport.Authenticate(String email, SecureString password) at POEApi.Model.POEModel.Authenticate(String email, SecureString password, Boolean offline, String realm) at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass23_0.b0() at System.Threading.Tasks.Task.Execute() ---> (Inner Exception #0) System.Exception: Error parsing JS challenge html at CloudflareSolverRe.Types.Javascript.JsChallenge.Parse(String html, Uri siteUrl) at CloudflareSolverRe.Solvers.JsChallengeSolver.d7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.Solvers.JsChallengeSolver.d6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.d35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.d33.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.d32.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.d31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.<>c__DisplayClass30_0.<b0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.Utilities.SemaphoreLocker.d1`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.CloudflareSolver.d30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.ClearanceHandler.d24.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CloudflareSolverRe.ClearanceHandler.d__20.MoveNext()<---

poplo892 commented 4 years ago

@thailyn any luck getting through the root of this problem? Seems to be affecting a considerable amount of people. I'm just asking bc you managed to do the cloudflare quickfix.

thailyn commented 4 years ago

It looks like this might be yet another Cloudflare change that is causing an issue. A new version of the Cloudflare library we use was released today. I'll test it out and update my patched version if it works.

thailyn commented 4 years ago

I've tested this new library version and it appears to work, so I have updated my patched version of Procurement to use it. You can download it here. As before, this download will work for six months (until Nov. 3rd). Edit: The download link mentioned here is out of date. Look at the description of PR #1093 for a link to the latest version.

Note: Using this new version of the Cloudflare library required updating a bunch of other libraries Procurement uses. Procurement appears to work fine, but I have not given it a thorough test yet. Please let me know if there are any issues.

poplo892 commented 4 years ago

Working fine thanks to your fix! thanks!

Stickymaddness commented 4 years ago

Procurement 1.29.0 has been released, which fixes this issue.