Skip to content

unable to push data to server behind socks5 proxy #6689

Closed

Description

@calidion

Describe the bug

gh --version
gh version 2.20.2 (2022-11-15)
https://github.com/cli/cli/releases/tag/v2.20.2
gh auth login
? What account do you want to log into? GitHub.com
? You're already logged into github.com. Do you want to re-authenticate? Yes
? What is your preferred protocol for Git operations? HTTPS
? How would you like to authenticate GitHub CLI? Login with a web browser

failed to authenticate via web browser: Post "https://github.com/login/device/code": read tcp 192.168.1.6:44892->20.205.243.166:443: read: connection reset by peer

Activity

  1. mislav commented on Dec 6, 2022

    @mislav
    Contributor

    Hi, please set the https_proxy environment variable to the URL of your proxy server.

    export https_proxy=http://localhost:8888
    gh auth login

    Duplicate of #2037

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageneeds to be reviewed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions