I created a custom pipe that creates reports using /report/{reportId} Bitbucket API endpoint. When I am running the pipe container locally with authentication everything works, but when it runs in an actual pipeline with proxy 'http://host.docker.internal:29418' I get 400 response, and the following is the body of the response:
<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx/1.15.5</center>
</body></html>
When running with curl, it outputs this error: `Received HTTP code 400 from proxy after CONNECT`.
How can I find out what I am doping wrong?
Found the problem - when working with the proxy, the call to BB API needs to be sent over http, not https 🤦🏻♂️
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.