A dot net 8.0 based web Api is deployed in Kubernetes.
What is happening is that after some time (random might range from 30 minutes to a day or more), the exception is printed in console and application terminates i.e. k8s restarts it.
This is only happening in production k8s while same code deployed in k8s test is not having any issue so i am unable to reproduce it on locally.
No response
Steps To ReproduceNo response
Exceptions (if any)System.NullReferenceException: Object reference not set to an instance of an object.
at System.Collections.Concurrent.ConcurrentDictionary`2.Enumerator.MoveNext()
at System.Net.Http.HttpConnectionPoolManager.RemoveStalePools()
at System.Net.Http.HttpConnectionPoolManager.<>c.<.ctor>b__11_0(Object s)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()
.NET Version
8.0
Anything else?Any idea or direction where I can get more logs or information or stack trace would be appreciated.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4