Skip to content

tunneling socket could not be established #39

Open
@jamesmoriarty

Description

@jamesmoriarty

Just recording this for any lost souls.

Error: tunneling socket could not be established, cause=connect EINVAL 0.0.31.144:80 - Local (0.0.0.0:0)

The following might work for something like curl but doesn't for request/ tunnel-agent:

http_proxy=127.0.0.1:3128 curl http://google.com

You need to add the protocol:

http_proxy=http://127.0.0.1:3128 curl http://google.com

So in summary:

http_proxy=<host>:<port> would become http_proxy=<protocol>://<host>:<port>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions