node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

Strange issue building node-time

Open jmorales4 opened this issue 11 years ago • 2 comments

As part of the build, several things are downloaded from nodejs.org, starting with the tarball. these downloads all fail with a 503 response from the server. However, I can download them with a browser and with curl. I did a packet capture on the request that goes out from node-gyp and it looks like this:

0000   00 1f 26 27 36 c5 00 23 55 6c 54 39 08 00 45 00  ..&'6..#UlT9..E.
0010   02 8b 66 c4 40 00 80 06 00 00 81 c4 c4 eb d0 57  [email protected]
0020   e9 c9 cd 06 1f 91 d4 6b 6f 6f c4 15 74 9a 50 18  .......koo..t.P.
0030   01 02 03 4f 00 00 47 45 54 20 68 74 74 70 3a 2f  ...O..GET http:/
0040   2f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  /...............
0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0060   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0070   00 00 00 00 00 2f 64 69 73 74 2f 76 30 2e 31 30  ...../dist/v0.10
0080   2e 33 35 2f 6e 6f 64 65 2d 76 30 2e 31 30 2e 33  .35/node-v0.10.3
0090   35 2e 74 61 72 2e 67 7a 20 48 54 54 50 2f 31 2e  5.tar.gz HTTP/1.

Notice that there are 52 repeated hex 00s between http:// and /dist/v0.10... This is repeatable on fresh installs of node on Windows and Ubuntu. I debugged it as far as I could and request seems to be getting valid url.

jmorales4 avatar Jan 21 '15 01:01 jmorales4

@jmorales4 Are you able to reproduce this on a more recent version of node-gyp?

maclover7 avatar Jul 20 '18 18:07 maclover7

Closing due to inactivity, please feel free to reopen if you are able to reproduce on a more recent version of node-gyp :)

maclover7 avatar Jul 31 '18 19:07 maclover7