Comments (4)
@raman-m it's probably related to the fact that the body hashing is now disabled by default and it must be activated explicitly. But, as mentioned by @thiagoloureiro, the needed property isn't available in file configuration. So, I would recommend to deal with this issue before anything else...
from ocelot.
Hi Team
we have also observed the same behaviour. It seems the request payload is not considered when caching the data.
Hence cache returns the data for 1st request payload from the cache, for subsequent requests with different request payload.
This is happening when Header is not set!
Thanks
Suraj
from ocelot.
Please can you help us fix this as this seems to be a breaking change since version 23.0.0 as mentioned by Raman in the discussion.
Certainly...
- Can you provide the specific lines of code where the breaking change occurs?
- We are willing to assist you if you can contribute further by demonstrating the precise breaking change in a PR, could you do that?
from ocelot.
Understood! I guess we need to link the PR 2058 ... The bug fix will be released in current milestone. I don't want to make separate hotfix release: developers may to rollback to previous versions temporarily. So, the bugfix will be a part of version 23.3
P.S.
Firstly added in commit 47afc85#diff-e1943063e63a6438191010c566111bea5c47f4cb063c04c7cc6c91a8c4267812 by Tom many many years ago.
I wonder the property was named with
File
prefix. And the most appropriate name is CacheOptions
.Will renaming be a breaking change?
It will be better to rename 👉
- public FileCacheOptions FileCacheOptions { get; set; }
+ public FileCacheOptions CacheOptions { get; set; }
from ocelot.
Related Issues (20)
- NuGet issues aka `PublishToNuget` release target task HOT 1
- Routing issue when use {Literals} at last
- 'authorization' is missing in Access-Control-Allow-Headers only in a specific request HOT 4
- SignalR no connection in `ws` mode HOT 1
- Is ocelot support sharing routes and rate limit configuration between it's instances if we publish more than one ocelot instance ?
- Error Code: UnableToFindDownstreamRouteError (404) HOT 1
- After Upgrade to 23.3.3 from 23.2.2 cluster name is being used in place of service address HOT 9
- After Upgrade to 23.3.3 from 23.2.2 about every 20th - 30th request finished with status code 500 HOT 42
- Invalid pattern ** HOT 1
- Injection middleware not working HOT 2
- `Regex` exception when route template placeholder contains invalid character ')' HOT 12
- help me ocelot+consul has 404 HOT 3
- Concurrent requests with different services, using consul, returns the same service and then 404 HOT 19
- IIS Windows Auth Intermittent 401.1 HOT 10
- Ocelot - Azure AD (Entra ID) Authentication Example
- Update from 18.0.0 to 23.0.0 broke upstream URLs with 503 HOT 4
- Incorrect Routing when a configuration exists with query param wildcard HOT 4
- 23.3.0 broken HOT 2
- Catch All functionality priority routing partially broken HOT 8
- who has encountered this problem,The remote certificate is invalid because of errors in the certificate chain: PartialChain
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocelot.