You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ocelot.Responder.Middleware.ResponderMiddleware[0]
requestId: 0HNAMQUQ686Q7:00000001, previousRequestId: No PreviousRequestId,
message: '
Error Code: UnableToFindDownstreamRouteError
Message: Failed to match Route configuration for upstream path: /healthz, verb: GET.
errors found in ResponderMiddleware. Setting error response for request path:/healthz, request method: GET
'
warn: Ocelot.DownstreamRouteFinder.Middleware.DownstreamRouteFinderMiddleware[0]
I have my routes as follows and I have an endpoint handler for /healthz so do I also need a route for this? The probes just want a http 200 back from the app not a routing.
varbuilder=WebApplication.CreateBuilder(args);builder.Configuration.AddJsonFile("Routes/ocelot.prod.json");builder.Services.AddOcelot().AddConsul();// or .AddConsul<T>()builder.Services.AddLocal(builder,builder.Configuration);builder.Services.AddEndpointsApiExplorer();builder.Services.AddCarter();varapp=builder.Build();app.UseRouting();app.UseAuthorization();app.MapCarter();// Use Ocelotapp.UseOcelot().Wait();app.Run();
The text was updated successfully, but these errors were encountered:
Please send a brief message to [email protected] with the link to this issue, and we will discuss your problem.
I would appreciate it if you could share your LinkedIn profile in the email.
Thank you!
raman-m
added
the
question
Initially seen a question could become a new feature or bug or closed ;)
label
Feb 27, 2025
Hello, I am getting this error
I have my routes as follows and I have an endpoint handler for /healthz so do I also need a route for this? The probes just want a http 200 back from the app not a routing.
also here is my program.cs
The text was updated successfully, but these errors were encountered: