Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 https://opscenter.datastax.com:443/definitions/4.1.1/version.md5 resulted in following error: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/opscenterd/Definitions.py", 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, opscenter.datastax.com)? You can certainly change /usr/share/opscenter/bin/opscenter to include /etc/environment as a workaround –  mbulman May 21 at 1:48
I defined proxy variables (http_proxy, HTTP_PROXY,https_proxy,HTTPS_PROXY) in /etc/environment. –  Sebastian May 22 at 14:05
Does patching bin/opscenter work as a workaround? –  mbulman May 23 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 at 13:22

Your Answer


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

Browse other questions tagged or ask your own question.