Fix the Issue in .Net Core Project
Budget: £20 – £250 GBP
Web based Application based on ASP .NET Core (Migration from 2.1 to 3.1 ) with Autofac , Entityframework , SQL Server 2018 etc . Need some Threading experience .
An exception was thrown while invoking the constructor 'Void .ctor(***.Global.HttpClientAccessor, Microsoft.AspNetCore.Http.IHttpContextAccessor,**.BL.ILogProvider)' on type '***APIProvider'. --->
An item with the same key has already been added. Key: System.Net.Http.Headers.HeaderDescriptor (See inner exception for details.)
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Net.Http.Headers.HttpHeaders.Add(HeaderDescriptor descriptor, String value)
at ...............
at ..........
This issue occurs only in Production and once it occurs it starts erroring for all requests .
An exception was thrown while invoking the constructor 'Void .ctor(***.Global.HttpClientAccessor, Microsoft.AspNetCore.Http.IHttpContextAccessor,**.BL.ILogProvider)' on type '***APIProvider'. --->
An item with the same key has already been added. Key: System.Net.Http.Headers.HeaderDescriptor (See inner exception for details.)
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Net.Http.Headers.HttpHeaders.Add(HeaderDescriptor descriptor, String value)
at ...............
at ..........
This issue occurs only in Production and once it occurs it starts erroring for all requests .