Closed deadmandrive closed 6 years ago
@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
"QoSOptions": {
"ExceptionsAllowedBeforeBreaking": 3,
"DurationOfBreak": 10000,
"TimeoutValue": 5000
},
"FileCacheOptions": { "TtlSeconds": 15 }
from every route and now it working. just wonder why is this happening? but i guess i try using it for now.
@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
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