question

Sjoerd B. avatar image
Sjoerd B. asked ·

How to use proxy server cloud foundry

Hi,

I'm using option 1 (create user provided service) to setup my cloudfoundry monitoring. In the network zone where this server is running, I can only connect to the internet through a proxy.

How can I configure the proxy server in the user-defined service?

cf cups dynatrace-service -p "environmentid, apitoken"

Problem I see is that during the restage of the app, it runs into a timeout when connecting to the dynatrace serverurl.

installationcloud foundry
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Hayden M. avatar image
Hayden M. answered ·

Hi Sjoerd,

I am not sure if it is supported for CloudFoundry/PaaS agent approached, but with full-stack agents the parameter to use a proxy is 'PROXY'. See this link: https://www.dynatrace.com/support/help/installatio... under the supported install parameters section.

That being said, I would suggest changing your 'https_proxy' value to 'PROXY'. I am not sure if it will solve things, but worth a shot.

Regards,

Hayden

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sjoerd B. avatar image
Sjoerd B. answered ·

Hi @Hayden M., Thank you for your reply!

I also found that part about putting the PROXY as attribute, but that didn't help me. When I changed it to https_proxy, I also added:

cf set-env dtest https_proxy "https://myproxy:8080/

And after that I saw a "proxytimeout" when restaging (proxyconnect tcp: dial tcp 10.x.x.x....:i/o timeout).

After checking with the PaaS team, I found that they forgot to open a firewall towards the proxyserver, so that this could anyways never work.

Still, I think with setting the https_proxy as shown in my screenshot, the download of the PAAS agent should work.

I'll report back when the proxyserver firewall change has been done....

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sjoerd B. avatar image
Sjoerd B. answered ·

Now with setting the option https_proxy it seems that something changed in the behavior, but still I'm getting timeouts.


Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions session replay diagnostic tools permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX timestamp action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android