question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue when YARP is combined into a "normal" app

See original GitHub issue

Is 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:open
  • Created a year ago
  • Comments:15 (13 by maintainers)

github_iconTop GitHub Comments

3reactions
glatzertcommented, Sep 23, 2022

I installed 7.0.0-rtm.22466.6 and was not able to reproduce the bug anymore 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found