Skip to content

how to use rig behind proxy server #166

Closed
@ssh352

Description

@ssh352

how to use rig behind proxy server, wget works without issue. I have https_proxy and http_proxy env variables set.

❯ rig add release
[INFO] Running `sudo` for adding new R versions. This might need your password.
[ERROR] Failed to resolve R version: Cannot download JSON: error sending request for url (https://api.r-hub.io/rversions/resolve/release/linux-ubuntu-20.04/x86_64): error trying to connect: dns error: failed to lookup address information: Try again

❯ wget https://api.r-hub.io/rversions/resolve/release/linux-ubuntu-20.04/x86_64
--2023-07-18 10:11:19--  https://api.r-hub.io/rversions/resolve/release/linux-ubuntu-20.04/x86_64
Connecting to 10.25.27.61:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 168 [application/json]
Saving to: ‘x86_64.1’

x86_64.1                                                                100%[=============================================================================================================================================================================>]     168  --.-KB/s    in 0s

2023-07-18 10:11:20 (96.9 MB/s) - ‘x86_64.1’ saved [168/168]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions