Comments (6)
You can check debug Kestrel logs from the proxy, but it's very likely that you are running into the fact that non-ASCII header values are not allowed by default, but you can opt-in to using a different encoding (e.g. UTF8) - see the relevant documentation section here.
from reverse-proxy.
The configuration of using UTF8 encoding for the request header still yields the same result.
The console also has no error logs.
Please help me check if the configuration is correct.
from reverse-proxy.
Have you configured Kestrel to accept the headers as well (ConfigureKestrel
sample the docs)?
from reverse-proxy.
This is my code.
I'm not sure if there are any missing .
Please help me check.
Thank you
from reverse-proxy.
from reverse-proxy.
Can you provide a minimal runnable repro project for this issue and/or a network capture?
Without that, we're just guessing at what the problem might be.
It is odd that the client is seeing the server as unresponsive instead of getting back an error about an invalid request.
from reverse-proxy.
Related Issues (20)
- Unable to handle TaskCanceledExceptions in HttpForwarder.SendAsync HOT 2
- Can I preserve original subdomain on request? HOT 2
- Create method PickDestinationAsync in ILoadBalancingPolicy HOT 3
- How to map forwarder with `Host`? HOT 4
- Extra and not needed commas in documentation
- Add the `IForwarderService` interface to override the implementation logic of `ForwarderMiddleware` HOT 1
- Strange behavior of Request.Url HOT 2
- Through the yarp proxy svn, the file name will appear 502 at noon, and no detailed errors can be seen HOT 2
- CORS HTTP 405 Status Code HOT 2
- I would like to be able to request from yarp a list of services HOT 1
- System.Net.Http.HttpRequestException: Connection refused (502 Response) HOT 1
- HttpSysDelegator - AddOrUpdateRules fails to add rule due to bug with WeakReference/GC
- ArgumentException: Invalid destination prefix. (Parameter 'destinationPrefix') HOT 3
- * domain names supported
- Troubleshooting Debugging Issue After .NET Framework Upgrade: Breakpoints Not Triggering in CMS HOT 1
- Whitelisting of custom Upgrade Headers HOT 2
- 2.2.0 Preview 1 release checklist
- Help Needed: Blank Screen Issue with Microsoft Reverse Proxy in .NET Core HOT 2
- Response not being sent for non-2xx status codes HOT 2
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 reverse-proxy.