Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consul can't handle HTTP(S) variable correctly (yet) #1689

Closed
dfduarte opened this issue Feb 5, 2016 · 4 comments
Closed

Consul can't handle HTTP(S) variable correctly (yet) #1689

dfduarte opened this issue Feb 5, 2016 · 4 comments

Comments

@dfduarte
Copy link

dfduarte commented Feb 5, 2016

Hello guys! This is related to some old problems, as: #132, #583 and #15.

I've a AWS infrastrutucture, that stands behind a firewall within a closed VPC. To talk to outside, these instances need to use a SQUID http proxy.

Ok, I set the HTTP(S)_proxy variables, and all works perfecly, but Consul can't be able to connect to SCADA servers, and reach ATLAS to do the cluster catalog.

There is a way to make this work, or this isn't possible?

@slackpad
Copy link
Contributor

slackpad commented Feb 5, 2016

Hi @dfduarte - the SCADA/Atlas connection isn't HTTP, it's a TLS-secured TCP session with the https://github.com/hashicorp/yamux stream multiplexer running over that. There's an atlas-endpoint configuration directive or SCADA_ENDPOINT environment variable you can use to set the endpoint for address. I'm not a Squid expert but can you set it up with some additional configuration to proxy the TLS connection and set the endpoint to contact Squid?

@slackpad
Copy link
Contributor

slackpad commented Feb 5, 2016

It would need to proxy through to scada.hashicorp.com:7223.

@vasu1124
Copy link

vasu1124 commented Mar 8, 2016

would it be possible for consul to use https://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_tunneling for establishing a SCADA connection via proxy?

@slackpad
Copy link
Contributor

slackpad commented May 2, 2017

SCADA is deprecated so closing this out.

@slackpad slackpad closed this as completed May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants