Skip to content

Run fly commands thru socks5 proxy #1909

Closed

Description

@drnic

Feature Request

What challenge are you facing?

My concourse is on a private network, but I have a socks5 proxy on my local MacOS laptop. Currently I can access my bosh env through the socks5 proxy; but I've tried a few variations of export https_proxy=socks5://localhost:9999 etc but without success. I've searched for socks5 in this repo + fly repo but saw nothing.

A Modest Proposal

As a source of hope and inspiration, the bosh CLI supports socks5 proxy via export BOSH_ALL_PROXY=socks5://localhost:9999.

Activity

  1. jtarchie commented on Dec 19, 2017

    @jtarchie
    Contributor

    golang/go@36f55a8

    Looks like golang doesn't support it. It will be in golang 1.10 though.

  2. novas0x2a commented on Feb 2, 2018

    @novas0x2a
    Contributor

    I'm currently using export http_proxy=socks5://localhost:55555 and it works fine with upstream-compiled fly 3.8.0, which was compiled with go 1.9.2 (i think).

  3. shashwathi commented on Apr 6, 2018

    @shashwathi
    Contributor

    @drnic

    As @novas0x2a mentioned in earlier comment, setting http_proxy variable in go 1.10 recognizes the socks5 proxy URL and fly CLI works without any problem.

    Closing this issue.

  4. marco-m commented on Apr 7, 2018

    @marco-m
    Contributor

    @shashwathi would it make sense to add a mention in the Concourse documentation that fly honors http_proxy ? A lot of goodies of Concourse are undocumented :-)

  5. modified the milestone: v3.11.0 on Apr 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions