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.

Proxying with SSL Not Working in .NET Core 3.1

See original GitHub issue

Describe the bug

I am trying to create a proxy with SSL enabled but keep getting the error {"status":"The header name format is invalid."}.

Expected behavior:

Proxy with ssl works.

Test to reproduce

  • 1 Create proxy with:
            WireMockServer.Given(Request.Create()
                        .UsingAnyMethod())
                        .AtPriority(100)
                .RespondWith(Response.Create()
                        .WithProxy(proxyUrl));

Other related info

  1. Proxy without SSL works 2, I am able to proxy with ssl via the Java version of wiremock so I know it’s nothing to do with the website I am proxying to.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
xadvfhcommented, Dec 7, 2020

tested and works in the official new version. thanks again.

0reactions
StefHcommented, Dec 3, 2020

@xadvfh -> a new official version will be released today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ssl - .net core 3.1 web api hosted on nginx works with http ...
When tested in VS, it works correctly for both http and https requests. I decided to host in on Linux machine (Debian) with...
Read more >
Configure ASP.NET Core to work with proxy servers and ...
Learn about configuration for apps hosted behind proxy servers and load balancers, which often obscure important request information.
Read more >
Building a Reverse Proxy in .NET Core
The very first run from Visual Studio might display a message saying that "this project is configured to use SSL". This happens because,...
Read more >
How to get the client IP in ASP.NET Core even behind a proxy
This post will explain how to get the IP of the requesting client in a proxied ASP.NET Core website. Learn all about custom...
Read more >
NGINX and NGINX Plus to Proxy Kestrel and .NET Core Apps
Our tutorial explains step-by-step how to install and configure NGINX and NGINX Plus to reverse proxy .NET Core apps served by Kestrel.
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