108 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
101
views
Docker container routing to YARP fails in Aspire
I have a software solution where there is
an ASP.NET Core 8.0 Web API running on Linux inside a Docker container (edge-service), making HTTPS GET and HTTPS POST to
an ASP.NET Core 8.0 Web API (front-...
0
votes
0
answers
106
views
Is it possible to implement Basic Authentication in YARP (ASP.NET Reverse Proxy)?
I’m trying to find out whether it’s possible to implement Basic Authentication directly in YARP (Yet Another Reverse Proxy).
If YARP doesn’t natively support Basic Auth, that’s fine — I’m mainly ...
0
votes
0
answers
81
views
YARP: How do I dynamically replace Location-Header when the actual server sends an absolute uri?
I have two api's I want to "connect" via a YARP-gateway. Those apis are routed via the path, so that '/api1/somecontroller' is routed to 'http://localhost:1234/somecontroller'.
In both of ...
0
votes
0
answers
80
views
Multiple endpoints error using YARP to migrate from WebForms to Blazor
I am migrating a .NET 4.8 webforms app to a .NET 8.0 Blazor server application using YARP to handle routing requests between the webforms and Blazor app. I have run into a routing issue that I am ...
0
votes
1
answer
774
views
When consuming Microsoft's YARP reverse proxy library, how do I get YARP to add X-Forwarded headers when only using simple forwarding capabilities?
I am using YARP for reverse proxying requests to upstream services. I just need to take the incoming host name and part of the path and replace it before forwarding it. However, since I am not using ...
1
vote
0
answers
152
views
.NET 9 Aspire BFF with Blazor and SignalR
I have an API in my Aspire app that maps a SignalR endpoint /messageHub. I have a Blazor web app (InteractiveAuto) that uses a SignalR client to connect to my hub from a razor component page:
var url =...
0
votes
1
answer
224
views
How to refresh access token when proxied request gets 401 response YARP
That's my YARP configuration:
builder.Services.AddReverseProxy()
.LoadFromConfig(builder.Configuration.GetRequiredSection("ReverseProxy"))
.AddTransforms(builder =>
{
...
1
vote
2
answers
233
views
SystemWeb Adapters Authentication failing due to multiple redirects with "query string is too long"
I am facing a problem when using systemweb adapters and YARP to incrementally migrate from ASP.NET on .NET 4.8 to ASP.NET Core 8.0.
Specifically I am using authentication client and server and when I ...
0
votes
0
answers
164
views
YARP not forwarding links in Web Forms to Blazor migration
I am using YARP to migrate a legacy Web Forms application to Blazor (8.0) one module at a time (Strangler Fig pattern).
My new Blazor application is running on port 5017. The legacy app is located on ...
0
votes
0
answers
434
views
YARP Reverse Proxy in Blazor Server - Static Files (CSS/JS) Not Loading (404)
I'm implementing YARP (Yet Another Reverse Proxy) in my Blazor Server application to proxy multiple projects, but I'm facing some issues.
Issues Observed:
Static Files (CSS/JS) Not Loading - 404 ...
0
votes
3
answers
500
views
YARP config file and environment variable
I'm in process of researching YARP capabilities as a possible option of my API Gateway and was curious if it's possible to use environment variable directly inside configuration file.
Lets say I want ...
1
vote
0
answers
67
views
Url.Link() in ASP.NET app behind reverse proxy returns wrong host/port
I have a ASP.NET Web API controller which inherits from a custom class which in turn inherits from System.Web.Http.ApiController. In one of my actions, I return a URL to another action of the same ...
1
vote
0
answers
84
views
YARP health checks all fail with Unauthorized
I have four active health checks on each of four clusters using YARP as a load balancer.
ProbingCompleted() in the health policy is being fired and I'm recording results for each one. But all I ever ...
0
votes
0
answers
1k
views
HTTP/2 server reset the stream. HTTP/2 error code 'INTERNAL_ERROR' when enabling stream_options
I was using this reference code to calculate the openai streaming tokens. This was working all good.
var originalStream = await responseContext.ProxyResponse.Content.ReadAsStreamAsync();
var ...
0
votes
1
answer
352
views
Azure WebPubSub behind YARP proxy cannot start websocket
I've created an Azure WebPubSub service. I also have a ASP.NET Core 8 application that includes YARP. I want to proxy the websocket clients over the reverse proxy to Azure WebPubSub. I'm generating ...