I have installed PCFDev in a corporate environment behind proxy. All proxy environments are setup and able to get to maven repos from commandline. in SCDF server however doesn't seem to reach to maven repo. System provided environment variables are set correctly
{
"staging_env_json": {
"HTTP_PROXY": "XXX",
"HTTPS_PROXY": "XXX",
"NO_PROXY": "localhost,127.0.0.1,192.168.11.1,192.168.11.11,local.pcfdev.io,.local.pcfdev.io",
"http_proxy": "XXXX",
"https_proxy": "XXX",
"no_proxy": "localhost,127.0.0.1,192.168.11.1,192.168.11.11,local.pcfdev.io,.local.pcfdev.io"
},
"running_env_json": {
"HTTP_PROXY": "XXX",
"HTTPS_PROXY": "XXX",
"NO_PROXY": "localhost,127.0.0.1,192.168.11.1,192.168.11.11,local.pcfdev.io,.local.pcfdev.io",
"http_proxy": "XXX",
"https_proxy": "XXX",
"no_proxy": "localhost,127.0.0.1,192.168.11.1,192.168.11.11,local.pcfdev.io,.local.pcfdev.io"
},
I have also tried to set environment variable SPRING_APPLICATION_JSON and also provided
aether:
proxy:
host: XXX
port: XXX
in menifest-scdf.yml file which use to push dataflow server.
when I do app import from dataflow client cli it fails (or from dashboard)
Command failed java.lang.IllegalArgumentException: java.net.ConnectException: Connection timed out: connect
What are the correct ways to set proxy in pcfdev environment ?
This sounds more like a problem with the proxy IP perhaps not routable from within PCFDev VM. I found this section in the PCFDev docs and I thought it would be useful in either configuring the VM settings correctly or even bypass it altogether.