-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Ocelot with Eureka Middleware Error #568
Comments
@deadmandrive the eureka sample is out of date now :( it needs to be moved to the Ocelot.Provider.Eureka repo I think. All I can think of is get the Oceot source code and use this and do some debugging to see if you can work out what the problem is. |
@TomPallister Thank you for your reply. |
@TomPallister Hi Tom I think i found the problem. I try remove
from every route and now it working. just wonder why is this happening? |
@deadmandrive ahhh this might be a bug. Ocelot.Provider.Polly package referenced? |
@TomPallister Oh. I see it now. it was my mistake to reference the wrong package thank again Tom |
…andler registered e.g. no use of Ocelot.Provider.Polly. Also adds a NoQosDelegatingHandler and logs an error if ive missed something and the user can get to making the request
… so I'm just defaulting to warning and noqosdelegatinghandler if someone doesnt register but provides options, also added basic in memory cache in case people dont use a specific package
* #568 Ocelot wont start if QoSOptions specified and no QoS DelegatingHandler registered e.g. no use of Ocelot.Provider.Polly. Also adds a NoQosDelegatingHandler and logs an error if ive missed something and the user can get to making the request * #568 sadly something wierd with IServiceProvider and FluentValidation so I'm just defaulting to warning and noqosdelegatinghandler if someone doesnt register but provides options, also added basic in memory cache in case people dont use a specific package
…f options specified but no handler, need to refactor this into fluent validation style
…cifies QoSOptions but doesnt have a QoSHandler registered
Fixed in version 11.0.0 |
make sure also using 0.1.1 of Ocelot.Provider.Consul if upgrading. |
Expected Behavior / New Feature
HttpStatus 500, Unable to Handle Request
I checked output log it said
Actual Behavior / Motivation for New Feature
Returns actual answer from API Server
Steps to Reproduce the Problem
Hi. I try to use ocelot with eureka service Discovery this is how i set it up.
I noticed that eureka can register all service that i want and can successfully give the right url to route
but in the web ui it not response as it should.
Specifications
The text was updated successfully, but these errors were encountered: