Closed MiaoShuYo closed 2 weeks ago
Dear Miao, Thank you for your interest in Ocelot and for reporting the issue.
Regrettably, we cannot proceed with a description based solely on screenshots: it will be hard to reproduce the scenario. We would prefer if you could upload the complete solution to your account and share the link with us. This way, we can clone the repository, open it in Visual Studio, and run the application.
An ideal alternative would be to write an acceptance test that emulates the scenario and share the link to that branch.
P.S. Please attach Ocelot logs❗
"HttpHandlerOptions": { "UseCookies": true, // No such property! }
It should be UseCookieContainer
, see UseCookieContainer
var ocelotConfiguration = new OcelotPipelineConfiguration { ... }
app.UseOcelot(ocelotConfiguration).Wait();
I'm curious about the settings within the configuration. These are critical settings because it appears you are overriding native Ocelot services. Could you show us what you are actually configuring?
Version: 23.3.3 Platform: .NET 6
Why are you using .NET 6? Are you aware that it will reach the end of support in November 2024? Moreover, .NET 9 is set to be released, and .NET 6 will become deprecated. It would be wise to consider migrating to .NET 8.
I used SignalR in Ocelot and the web page showed a 404 Not Found when sending a connection request.
Reviewing Ocelot logs is necessary!
Dear author, where are you?
Apologies, but we cannot proceed if there is no response from you, @MiaoShuYo.
I used Signalr in Ocelot and the web page showed a 404 Not Found when sending a connection request. My configuration looks like this:
Result of web page request:
Specifications