-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow response on .Net 6 and IIS 10 #1657
Comments
@vladkhnu Hi Vladyslav! First, Second, Third, Fifth, Sixth, Finally, Good luck in your endeavor with Ocelot! 🧒 P.S. Ocelot team considers real exception/error logs of Ocelot app. |
Vladyslav, Could you inform on this issue please? Please host gateway app by Kestrel, simple Visual Studio running of web host in console, and let us know the results please! The time is over. The issue cannot be in open state for a months. We need to communicate. Let's find some workaround within one week please!
|
Sorry for the delay - we found the solution that makes us able to host Gateway on IIS. Before that we tried different combination of .Net and Gateway version with no luck. So the solution was to use Out-of-process hosting model instead of In-process - https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/out-of-process-hosting?view=aspnetcore-6.0 |
Aha... Yeah, it was the root cause of the issue! 👍 Thanks for closing the issue! |
I'm having issues when trying to use Ocelot with .Net version 6 deployed on IIS 10.
Previously I used .Net 3.1 with Ocelot 16 and everything were fine, pages opened with expected delay, but after upgrading to .Net 6 usage of every version of Ocelot (16, 17, 18) resulted in extremely big delay:
Issue is happens periodically, after couple of requests to different endpoints behind Ocelot and persist only in chromium-based browsers (Chrome and Edge) and everything is fine in Firefox.
Ocelot itself does not log any errros and seems works fine but after a number of quick requests issue appears again and again.
IIS is configured according to Microsoft suggestions and best practices, like I have App Pool in AlwaysRunning Start mode, preload of site is enabled, etc.
The text was updated successfully, but these errors were encountered: