Try 30 days of free premium.

Getting lots of time outs on APIs requests I am running daily

DickKluis wrote 6 months ago: 1

Example from my log:

10/6/2023 6:46:14AM: WebAPI Async : 3 --> Retrying Now: episodes/1466045
--- End of inner exception stack trace ---
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
10/6/2023 6:46:14AM: WebAPI Async : 0 --> Exception: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing. System.TimeoutException: A task was canceled.
10/6/2023 6:45:34AM: WebAPI Async : 3 --> Retrying Now: episodes/1448888?embed=show
--- End of inner exception stack trace ---
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
10/6/2023 6:45:34AM: WebAPI Async : 0 --> Exception: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing. System.TimeoutException: A task was canceled.

Dick

DickKluis wrote 6 months ago: 1

Forgot to mention they have been running fine multiple years now


david wrote 6 months ago: 1

What is the IP you're using?

DickKluis wrote 6 months ago: 1

It issue seems to have resolved itself...  Not sure why overnight I got lots of time outs but not anymore.   Haven't changed anything on my end.

Thanks

Dick


david wrote 6 months ago: 1

There's nothing in our logs for your IP address. There haven't been any recent changes on our end either. So all we can do is consider it a fluke, but let me know if happens again. :)

DickKluis wrote 6 months ago: 2

@david wrote:
There's nothing in our logs for your IP address. There haven't been any recent changes on our end either. So all we can do is consider it a fluke, but let me know if happens again. :)

Thanks for the support and looking at it...

Try 30 days of free premium.