'502 gateway error while connecting to JFrog repo from jenkins to download npm dependencies , may be issue with corp proxy

Help to resolve this corporate proxy issue, i tried with unset proxy && unset https_proxy and proxy=null && https_proxy=null but still the proxy exist and getting 502 gateway while connecting to JFrog repo ... Checked the docker info in my server and no-proxy for JFrog

Kindly suggest better way to resolve it

I need this repo to download npm dependencies from jenkins pipeline



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source