Issue when YARP is combined into a "normal" app
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Describe the bug
After moving to .NET7, I found a problem, that occures, when YARP is part of the application. Since it seems to be somewhere between YARP, ASP.Net core and .NET7, I like to bring it to your attention here.
It makes using NET7 for use-cases with BFF driven by YARP “difficult” and ends up in lots of these:
AmbiguousMatchException: The request matched multiple endpoints. Matches:
/Index
/Index
/Index
Heres the Issue with repro https://github.com/microsoft/reverse-proxy/issues/1864
Expected Behavior
I’d expext YARP not to break by upgrading from .NET6 to .NET7
Steps To Reproduce
https://github.com/glatzert/YARPBug
Exceptions (if any)
No response
.NET Version
7.0.100-rc.1.22431.12
Anything else?
No response
Issue Analytics
- State:
- Created a year ago
- Comments:15 (13 by maintainers)
Top Results From Across the Web
YARP: Yet Another Reverse Proxy
YARP is a library to help create reverse proxy servers that are high-performance, production-ready, and highly customizable. Please provide us your feedback by ......
Read more >A Heavy Lift: Bringing Kestrel + YARP to Azure App Services
In this post, we get a behind-the-scenes look at the engineering work required to change a critical platform component with code paths that ......
Read more >Is it possible to combine a react SPA app with another ...
The YARP route was attempted by another team, in my opinion it's a total nightmare and not scalable if you intend to replace...
Read more >Microsoft Releases YARP - Yet Another Reverse Proxy - InfoQ
Reverse proxies work in the application layer (OSI layer 7), which means they can process the requests based on their URLs and headers, ......
Read more >Using Microsoft's YARP project to proxy web-based ...
Requests can be sent to specific endpoints and, depending on responses, clusters can be marked as healthy or unhealthy.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I installed
7.0.0-rtm.22466.6
and was not able to reproduce the bug anymore 😃https://github.com/microsoft/reverse-proxy/blob/5a86eb4f18474bbe2f9e73f8457f4cbf13c00b81/src/ReverseProxy/Management/ProxyConfigManager.cs#L141