miladydesummer
miladydesummer

Reputation: 143

service-connector tunnel opening fails

I'm trying to connect to a running ELK instance from my local computer using the service-connector as described here: https://docs.developer.swisscom.com/service-offerings/elk.html#service-connector

EDIT: I do first log into the cloud from the command line with cf login.

The tunnel fails to open when using the command: cf sc 30000 <kibanaUrl> (I retrieve the kibanaUrl from the environement variables).

The output error message is:

Creating tunnel ... Server domain: scapp.io FAILED dial tcp 194.209.246.110:443: ConnectEx tcp: No connection could be made because the target machine actively refused it.

Thanks for your help!

Upvotes: 0

Views: 159

Answers (1)

Andr&#233; Brunner
Andr&#233; Brunner

Reputation: 54

I was able to reproduce it in my environments (Windows 7 and Ubuntu 14.04): It seems you have set the https_proxy environment variable but not the http_proxy environment variable (as RoccoE mentioned). I guess, if you set also the http_proxy variable, it will work.

e.g. for windows: set http_proxy=proxy.corproot.net:8079

e.g. for linux: export http_proxy=proxy.corproot.net:8079

Upvotes: 1

Related Questions