curl from one docker container to another gives 302 on Jenkins server, but works locally curl from one docker container to another gives 302 on Jenkins server, but works locally jenkins jenkins

curl from one docker container to another gives 302 on Jenkins server, but works locally


We figured out together with the thread creator that he runs a proxy in the network. Thats why it was not working.

A change in the docker environment variables does the trick:

  - http_proxy=  - https_proxy=  - no_proxy=

So the proxy is disabled inside the docker-container.