Open kshyju opened 3 years ago
What's the request URL?
I'm also getting same error. Here is my stack trace:
An error occurred while sending the request.
at System.Net.Http.HttpClientHandler.<SendAsync>d__113.MoveNext() + 0x361
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__62.MoveNext() + 0x316
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at Nightingale.Core.Client.NightingaleClient.<SendAsync>d__7.MoveNext() + 0x26f
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at Nightingale.Core.Services.RequestSender.<SendRequestAsync>d__5.MoveNext() + 0x156
I found that this issue appearing for me, when I'm trying to make a request to disabled (not working) server.
After I start the server, I'm seeing an infinite spinner and then error above.
Only application restart helps.
P.S. For sure I did required steps in https://github.com/jenius-apps/nightingale-rest-api-client/blob/master/docs/localhost.md
I am getting an error when issuing a simple GET request. Here is the stack trace.
The same request works from ARC/Edge browser. FWIW, the endpoint returns 204 response.