SSL exceptions when proxying requests
See original GitHub issueBug reports
We’re a lot more likely to look at and fix bugs that are clearly described and reproduceable. Please including the following details when reporting a bug:
- Which version of WireMock you’re using:
2.26.3
- How you’re starting and configuring WireMock, including configuration or CLI the command line:
docker-compose to run wiremock and Dockerfile to build wiremock image are provided in github repo
- A failing test case that demonstrates the problem:
there are two curl commands in the readme file. Please run it one by one couple times.
Hello, First of all, thank you all for the awesome software! I have an issue when using wiremock together with haproxy which is responsible for proxying all requests (not mocked in wiremock ones). I created a small simple docker compose file for you to test it: https://github.com/AnCh7/wiremock-haproxy It consist of:
- Wiremock Dockerfile with healthcheck and proxy-all mappings.
- Haproxy config file (pretty simple configuration)
- Docker compose file and readme file with information how to run it and error that I am getting. Usually, if you run same curl command twice, you can get this error first time, but never second. So please run these to curl commands one by one.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15
Top Results From Across the Web
SSL exceptions when proxying requests · Issue #1320 - GitHub
Sure. I am getting OpenSSL error when wiremock is proxying requests through to other hosts, for example: haproxy_1 | 00000016:fe.clireq[0012: ...
Read more >ProxySG Denied SSL Request Behavior Explained
This is normal behavior when we need to inject some form of exception page because the proxy must contact the OCS to retrieve...
Read more >How to get around python requests SSL and proxy error?
When sending a request with authentication, I get a requests.exceptions.SSLError error which you can See below. proxies = { 'https' ...
Read more >SSL Error when requests come from proxy - DevCentral
Hello, I have a problem with some Virtual Servers on LTM. I use SSLClient Profiles so the dialog between F5 and server is...
Read more >Tunneling SSL Through the Proxy Server
When you are running a Proxy Server (proxy) in the forward direction and a client requests an SSL connection to a secure server...
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
OK, I can replicate this now if I run your script. Having tinkered with it a little it seems that making requests with different Host values in short succession triggers the issue, so there may be something in the hypothesis that this is something WireMock related.
I’m going to keep looking, anyway,
Connection reuse by the proxy client has now been completely disabled in 55490cec33dee35c031a53e13b94fd7a9c37fa16