-
Notifications
You must be signed in to change notification settings - Fork 295
apm package installs are failing... server code 500. #946
Description
Looks like the tarball redirector apm
uses to download/install Atom packages has started returning HTTP 500's (server error). The issue started within the last hour or so.
I've confirmed the same result using multiple operating systems (Debian 10, CentOS 8) multiple Atom versions (1.58.0 and 1.60.0), using multiple networks, and for multiple packages. I think the problem is on the server.
Package installs from within Atom appear to also be failing.
apm install split-diff
Installing split-diff to /home/user/.atom/packages ✗
npm ERR! code E500
npm ERR! 500 Internal Server Error - GET https://www.atom.io/api/packages/split-diff/versions/1.6.1/tarball
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.atom/.apm/_logs/2022-04-19T01_28_05_869Z-debug.log
And the error log.
``
cat /home/user/.atom/.apm/_logs/2022-04-19T01_28_05_869Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/share/atom/resources/app/apm/bin/node',
1 verbose cli '/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js',
1 verbose cli '--globalconfig',
1 verbose cli '/home/user/.atom/.apm/.apmrc',
1 verbose cli '--userconfig',
1 verbose cli '/home/user/.atom/.apmrc',
1 verbose cli 'install',
1 verbose cli 'https://www.atom.io/api/packages/split-diff/versions/1.6.1/tarball',
1 verbose cli '--target=9.4.4',
1 verbose cli '--disturl=https://atom.io/download/electron',
1 verbose cli '--arch=x64',
1 verbose cli '--global-style'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session a7a44cd36710d46d
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 500 https://www.atom.io/api/packages/split-diff/versions/1.6.1/tarball 71234ms attempt #3
8 silly fetchPackageMetaData error for https://www.atom.io/api/packages/split-diff/versions/1.6.1/tarball 500 Internal Server Error - GET https://www.atom.io/api/packages/split-diff/versions/1.6.1/tarball
9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 71256ms
11 verbose stack Error: 500 Internal Server Error - GET https://www.atom.io/api/packages/split-diff/versions/1.6.1/tarball
11 verbose stack at /usr/share/atom/resources/app/apm/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:117:15
11 verbose stack at processTicksAndRejections (internal/process/task_queues.js:94:5)
12 verbose statusCode 500
13 verbose pkgid https://www.atom.io/api/packages/split-diff/versions/1.6.1/tarball
14 verbose cwd /tmp/apm-install-dir-2022318-1302653-15eicn6.z1jl
15 verbose Linux 4.18.0-348.7.1.el8_5.x86_64
16 verbose argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/user/.atom/.apm/.apmrc" "--userconfig" "/home/user/.atom/.apmrc" "install" "https://www.atom.io/api/packages/split-diff/versions/1.6.1/tarball" "--target=9.4.4" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
17 verbose node v12.14.1
18 verbose npm v6.14.13
19 error code E500
20 error 500 Internal Server Error - GET https://www.atom.io/api/packages/split-diff/versions/1.6.1/tarball
21 verbose exit [ 1, true ]