Nikolai Masson
Nikolai Masson
Hi! Just a little clarification - I encountered this error in a production project, so I'm not sure if the steps to reproduce accurately represent how to reproduce the problem....
I cannot upload the solution as is, since it's a private one. As I said, I will try and create a sample project to see if the error reproduces.
While I'm at it, I will note this, from Ocelot's source code: ``` public class ServiceDiscoveryProviderFactory : IServiceDiscoveryProviderFactory // This is registered as Singleton { public ServiceDiscoveryProviderFactory(IOcelotLoggerFactory factory, IServiceProvider provider)...
@raman-m The error occurs on every request. I need to strip the `ocelot.json` of private info before sending it to you, but I will try to do it with the...
Hi again @raman-m! I've created a sample project that includes an Ocelot configuration - https://github.com/Niksson/OcelotSampleProject. I've transfered most of the customizations we made just for the sake of the example,...
> Have you implemented this fix in your application? Is it functioning properly? No, not yet, I only worked it around using Transient lifetime. I will try referencing the Ocelot...
> If your production environment is unstable with version 23.3.4, it is advisable to revert to version [23.2.2](https://www.nuget.org/packages/Ocelot/23.2.2#versions-body-tab) immediately. Yes, we've already done that to be able to keep working
> I will try referencing the Ocelot source locally and see if I can fix the error by creating the DI scope So I've tried two things, both make the...
I had a look at tests and I found out why they don't detect the error. Apparently, when you create a web app using `WebHost.CreateDefaultBuilder(string[] args)` or `WebApplication.CreateBuilder(string[] args)` then...
Hi everyone! > Probably this should be a separate issue 🤔 I agree that refactoring should be another issue, but for quick fixing we can do one of these 2...