Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

we installed DataStax OpsCenter (v4.1.1) on a Debian 7.4 server. After starting the service, the following error is logged in /var/log/opscenter/opscenterd.log:

ERROR: Trying to download resulted in following error: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/opscenterd/", line 103, in getNewHash ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.

As we have to use a proxy (squid), we configured the variables in /etc/environment. Unfortunately, OpsCenter is not using these environment variables. A manual download of this file via proxy is working fine.

Is there any possibility to configure a proxy for OpsCenter or any other workaround? Many thanks in advance!

Best regards, Sebastian

share|improve this question
What environment variable is defined in /etc/environment that would allow opscenterd to talk to the internet (eg, You can certainly change /usr/share/opscenter/bin/opscenter to include /etc/environment as a workaround – mbulman May 21 '14 at 1:48
I defined proxy variables (http_proxy, HTTP_PROXY,https_proxy,HTTPS_PROXY) in /etc/environment. – Sebastian May 22 '14 at 14:05
Does patching bin/opscenter work as a workaround? – mbulman May 23 '14 at 8:07
To be honest, I don't know how/where to include the environment file within the file bin/opscenter. – Sebastian May 23 '14 at 13:22
  1. Edit the file /etc/datastax-agent/ and append the follow line:

    JVM_OPTS="-Dhttps.proxyPort=<PROXY_PORT> -Dhttp.proxyHost=<PROXY> -Dhttps.proxyHost=<PROXY> -Dhttps.proxyPort=<PROXY_PORT>

  2. Restart the Agent /etc/init.d/datastax-agent restart

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.