Skip to content

Julia fails to launch without network connectivity #1204

@tecosaur

Description

@tecosaur

I'm looking at running Julia in a lightly sandboxed environment, and it seems like Juliaup's propensity to check for new versions is making that a bit difficult.

~$ sudo unshare --net --fork --mount-proc $(which julia) -- --project=@ -E 'println(22)'
Checking for new Julia versions
Error: Failed to run `run_command_add` from the `run_command_initial_setup_from_launcher` command.

Caused by:
    0: Failed to update versions db.
    1: Failed to download current version db version.
    2: Failed to download from url `https://julialang-s3.julialang.org/juliaup/RELEASEPREVIEWCHANNELDBVERSION`.
    3: error sending request for url (https://julialang-s3.julialang.org/juliaup/RELEASEPREVIEWCHANNELDBVERSION)
    4: client error (Connect)
    5: dns error: failed to lookup address information: Try again
    6: failed to lookup address information: Try again
Error: The Julia launcher failed to figure out which juliaup channel to use.

Linux, Juliaup 1.17.19

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