Can't install - cdn.sheetjs.com timeout #3283

Open
opened 2025-02-05 08:39:48 +00:00 by jwhitaker-gridcog · 3 comments

Hey guys,
When I try and do npm install, I'm getting

 WARN  GET https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz error (ERR_SOCKET_TIMEOUT). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz error (ERR_SOCKET_TIMEOUT). Will retry in 1 minute. 1 retries left.

I am in Vietnam. (specifically I'm on a mobile IP, on a 5g Viettel sim) When I tested on a friend's VPN to install via an IP in Australia then the install works. However in the general case I'm not able to do this.

Is there any chance you blocked Vietnam from your cdn? If so, any chance you could unblock it so we can continue using your library? <- doesn't seem to be the case, sorry for jumping to conclusions.

Cheers
Jarrad
Gridcog

Hey guys, When I try and do npm install, I'm getting ```  WARN  GET https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz error (ERR_SOCKET_TIMEOUT). Will retry in 10 seconds. 2 retries left.  WARN  GET https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz error (ERR_SOCKET_TIMEOUT). Will retry in 1 minute. 1 retries left. ``` I am in Vietnam. (specifically I'm on a mobile IP, on a 5g Viettel sim) When I tested on a friend's VPN to install via an IP in Australia then the install works. However in the general case I'm not able to do this. ~~Is there any chance you blocked Vietnam from your cdn? If so, any chance you could unblock it so we can continue using your library?~~ <- doesn't seem to be the case, sorry for jumping to conclusions. Cheers Jarrad Gridcog
Owner

Did this work in the past? Are you able to test if it works using another mobile connection or on a wired connection?

If this does not work, we can make the tarballs available over Discord. Join the SheetJS Chat

Did this work in the past? Are you able to test if it works using another mobile connection or on a wired connection? If this does not work, we can make the tarballs available over Discord. Join the [SheetJS Chat](https://sheetjs.com/chat)

I don't know if this worked in the past, this is the first time I've tried to connect from Vietnam.

Did some more digging..

A wired connection works, on both ipv4 and ipv6. my wired ipv6 begins 2001:ee1:fa02:...
The Viettel connection actually works on ipv4, but not on ipv6. my mobile ipv6 begins 2402:800:359a:...

I have not noticed any other ipv6 problems on this box (though admittedly there's a lot of happy eyeballs logic around the place that might be working very well to hide problems from me). test-ipv6 comes up all green for example.

I don't know if this worked in the past, this is the first time I've tried to connect from Vietnam. Did some more digging.. A wired connection works, on both ipv4 and ipv6. my wired ipv6 begins 2001:ee1:fa02:... The Viettel connection actually works on ipv4, but not on ipv6. my mobile ipv6 begins 2402:800:359a:... I have not noticed any other ipv6 problems on this box (though admittedly there's a lot of happy eyeballs logic around the place that might be working very well to hide problems from me). test-ipv6 comes up all green for example.
Owner

The best move at this point is to download the tarball from a known working connection and add to your project. You can follow the vendoring instructions at https://docs.sheetjs.com/docs/getting-started/installation/nodejs#vendoring

Testing from the machine that generated the tarball, you should expect the following MD5 checksums for the last few releases:

MD5 (xlsx-0.20.0/xlsx-0.20.0.tgz) = 31a05317cd175831158c57bdf3c195e1
MD5 (xlsx-0.20.1/xlsx-0.20.1.tgz) = 27d811e47dfc529a825ea5d7e8c50882
MD5 (xlsx-0.20.2/xlsx-0.20.2.tgz) = a28f1573be0341a5620250f774e72855
MD5 (xlsx-0.20.3/xlsx-0.20.3.tgz) = aac39517149362ea8123d8a303486c3c

(Unfortunately the npm tool does not guarantee reproducible tarballs :( this was a choice made by npm inc many years ago, outside of our control)

If you need more interactive assistance, please feel free to ask in the SheetJS chat

The best move at this point is to download the tarball from a known working connection and add to your project. You can follow the vendoring instructions at https://docs.sheetjs.com/docs/getting-started/installation/nodejs#vendoring Testing from the machine that generated the tarball, you should expect the following MD5 checksums for the last few releases: ``` MD5 (xlsx-0.20.0/xlsx-0.20.0.tgz) = 31a05317cd175831158c57bdf3c195e1 MD5 (xlsx-0.20.1/xlsx-0.20.1.tgz) = 27d811e47dfc529a825ea5d7e8c50882 MD5 (xlsx-0.20.2/xlsx-0.20.2.tgz) = a28f1573be0341a5620250f774e72855 MD5 (xlsx-0.20.3/xlsx-0.20.3.tgz) = aac39517149362ea8123d8a303486c3c ``` (Unfortunately the `npm` tool does not guarantee reproducible tarballs :( this was a choice made by npm inc many years ago, outside of our control) If you need more interactive assistance, please feel free to ask in [the SheetJS chat](https://sheetjs.com/chat)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#3283
No description provided.