NVM installation issue. curl / wget gets timeout.

About programming and getting involved with Linux Mint development
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
samiksengupta
Level 1
Level 1
Posts: 2
Joined: Tue Oct 24, 2023 11:53 am

NVM installation issue. curl / wget gets timeout.

Post by samiksengupta »

I'm trying to install Node Version Manager
https://github.com/nvm-sh/nvm

I'm trying to follow the install instructions.
The problem is, both the curl and wget commands either timeouts or nothing happens.

Code: Select all

 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:09 --:--:--     0
curl: (28) Failed to connect to raw.githubusercontent.com port 443 after 129574 ms: Connection timed out

Code: Select all

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
I don't understand why this is unreachable. The url seems to up elsewhere.

https://www.isitdownrightnow.com/raw.gi ... t.com.html

Here is my system info dump if it's useful.

Code: Select all

System:
  Kernel: 5.15.0-87-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.8.4
    tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Dell product: Vostro 3578 v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: Dell model: 01Y7V4 v: A00 serial: <superuser required> UEFI: Dell v: 1.6.0
    date: 09/03/2018
Battery:
  ID-1: BAT0 charge: 36.9 Wh (100.0%) condition: 36.9/41.4 Wh (89.0%) volts: 16.3 min: 14.8
    model: SMP DELL GR43778 serial: <filter> status: Full
CPU:
  Info: quad core model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake rev: A cache:
    L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 735 high: 800 min/max: 400/3400 cores: 1: 800 2: 717 3: 735 4: 792 5: 700
    6: 723 7: 717 8: 700 bogomips: 28800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel ports: active: eDP-1
    empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5917
  Device-2: AMD Jet PRO [Radeon R5 M230 / R7 M260DX Radeon 520 Mobile] vendor: Dell
    driver: radeon v: kernel pcie: speed: 8 GT/s lanes: 4 bus-ID: 01:00.0 chip-ID: 1002:6665
  Device-3: Realtek Integrated Webcam type: USB driver: uvcvideo bus-ID: 1-5:4
    chip-ID: 0bda:5689
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: ati,modesetting,radeon
    unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: eDP-1 model: BOE Display res: 1920x1080 dpi: 142 diag: 394mm (15.5")
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1
    direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:9d71
  Sound Server-1: ALSA v: k5.15.0-87-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168
  IF: enp2s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Dell
    driver: ath10k_pci v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 168c:0042
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-7:6 chip-ID: 0cf3:e009
  Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 99.46 GiB (10.7%)
  ID-1: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 915.32 GiB used: 99.46 GiB (10.9%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 1.5 MiB (0.1%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: 46.0 C pch: 44.5 C mobo: 44.0 C sodimm: SODIMM C gpu: radeon
    temp: 37.0 C
  Fan Speeds (RPM): cpu: 2827
Repos:
  Packages: apt: 2302
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirrors.piconets.webwerks.in/linuxmint-mirror/packages victoria main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http: //packages.microsoft.com/repos/code stable main
Info:
  Processes: 300 Uptime: 7h 32m Memory: 7.62 GiB used: 3.46 GiB (45.4%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 5.8.4 inxi: 3.3.13
Last edited by LockBot on Wed Apr 24, 2024 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
spamegg
Level 14
Level 14
Posts: 5118
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: NVM installation issue. curl / wget gets timeout.

Post by spamegg »

There is an Internet connection issue. Maybe Github is blocking connections from your region / country? Are you using a VPN? Sometimes VPN connections get blocked.
User avatar
Coggy
Level 5
Level 5
Posts: 642
Joined: Thu Mar 31, 2022 10:34 am

Re: NVM installation issue. curl / wget gets timeout.

Post by Coggy »

I wonder if it's an IPv6 issue. Try adding --ipv4 to the curl command to tell it to use IPv4 only.
Just a a wild guess, but easy to try. It's a network connectivity issue of some sort
samiksengupta
Level 1
Level 1
Posts: 2
Joined: Tue Oct 24, 2023 11:53 am

Re: NVM installation issue. curl / wget gets timeout.

Post by samiksengupta »

It was an issue with my ISP. Had to use another Network to get the request to complete. But I like the options presented here. Hope these help somebody else in need.
Locked

Return to “Programming & Development”