joaoafrmartins / development-server

MIT License
11 stars 5 forks source link

Unable to install package via atom #2

Open marcel-me opened 9 years ago

marcel-me commented 9 years ago

Hey,

I'm having trouble installing the package out of atom. It says

Unable to download https://www.atom.io/api/packages/atom-development-server/versions/0.3.4/tarball:    400 Bad Request Repository inaccessible

I'm on a mac with Atom 0.184.0. I also tried on another mac with same results.

~ Marcel

dacresni commented 9 years ago

also on windows, atom.io doesn't seem to know where the package is.

ghost commented 9 years ago

I have the same issue

hurizia commented 9 years ago

+1

mikaelkaron commented 9 years ago

+1

fgh151 commented 9 years ago

+1 ubuntu 15.04

mtsgrd commented 9 years ago

+1 screenshot 2015-06-26 14 24 36

MRezaSafari commented 9 years ago

+1 windows 8.1

mikaelkaron commented 9 years ago

So since a lot of people are reporting I'd like to be able to help out with a fix. Unfortunately the problem here looks to be the combination of how new versions are published at atom.io and what tags are available on github.

I'm guessing that the tags corresponding to the old versions of this package have been deleted from github while the new versions have not been published to atom.io. Either restoring the old tags or publishing new version would (probably) fix the problem but alas they are both out of scope for something the community can help out with.

@joaoafrmartins Is there something holding back either of these solutions?

joaoafrmartins commented 9 years ago

hey there.. i've tried to republish the package but somehow i'm not being able to do so.... in the meanwhile you can just symlink or clone the repository into you packages folder.. On ubuntu ~/.atom/packages.... I'll open a ticket to see whats wrong.. Sorry for the delay guys.

2015-06-28 10:05 GMT+01:00 Mikael Karon notifications@github.com:

So since a lot of people are reporting I'd like to be able to help out with a fix. Unfortunately the problem here looks to be the combination of how new versions are published at atom.io and what tags are available on github.

I'm guessing that the tags corresponding to the old versions of this package have been deleted from github while the new versions have not been published to atom.io. Either restoring the old tags or publishing new version would (probably) fix the problem but alas they are both out of scope for something the community can help out with.

@joaoafrmartins https://github.com/joaoafrmartins Is there something holding back either of these solutions?

— Reply to this email directly or view it on GitHub https://github.com/joaoafrmartins/atom-development-server/issues/2#issuecomment-116230904 .

mikaelkaron commented 9 years ago

As a workaround, do you think it would be possible to push the tags for the old versions? At least that will fix the current error (unable to install)

ewann commented 9 years ago

I wasn't able to use the git clone / manual install described previously by @joaoafrmartins. Since that may have some other cause, I've logged it separately: https://github.com/joaoafrmartins/development-server/issues/5

rriemann commented 8 years ago

Still doesn't work. :cry:

apm install --verbose atom-development-server
Installing atom-development-server to /home/user/.atom/packages REQUEST { method: 'GET',
  url: 'https://atom.io/api/packages/atom-development-server',
  json: true,
  retries: 4,
  proxy: null,
  strictSSL: true,
  headers: { 'User-Agent': 'npm/2.5.1 node/v0.10.35 linux x64' },
  uri: null,
  callback: [Function] }
REQUEST make request https://atom.io/api/packages/atom-development-server
REQUEST onRequestResponse https://atom.io/api/packages/atom-development-server 200 { server: 'Cowboy',
  connection: 'close',
  date: 'Wed, 02 Sep 2015 12:15:55 GMT',
  status: '200 OK',
  'strict-transport-security': 'max-age=631152000',
  'x-frame-options': 'DENY',
  'x-xss-protection': '1; mode=block',
  'x-content-type-options': 'nosniff',
  'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
  'content-type': 'application/json; charset=utf-8',
  etag: 'W/"fc5c158e8c427231a6ae30d23d64aa9d"',
  'cache-control': 'max-age=0, private, must-revalidate',
  'x-request-id': '2dec807c-f3a9-4a45-a075-c9b32148864c',
  'x-runtime': '0.013232',
  'x-rack-cache': 'miss',
  via: '1.1 vegur' }
REQUEST finish init function https://atom.io/api/packages/atom-development-server
REQUEST response end https://atom.io/api/packages/atom-development-server 200 { server: 'Cowboy',
  connection: 'close',
  date: 'Wed, 02 Sep 2015 12:15:55 GMT',
  status: '200 OK',
  'strict-transport-security': 'max-age=631152000',
  'x-frame-options': 'DENY',
  'x-xss-protection': '1; mode=block',
  'x-content-type-options': 'nosniff',
  'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
  'content-type': 'application/json; charset=utf-8',
  etag: 'W/"fc5c158e8c427231a6ae30d23d64aa9d"',
  'cache-control': 'max-age=0, private, must-revalidate',
  'x-request-id': '2dec807c-f3a9-4a45-a075-c9b32148864c',
  'x-runtime': '0.013232',
  'x-rack-cache': 'miss',
  via: '1.1 vegur' }
REQUEST end event https://atom.io/api/packages/atom-development-server
REQUEST has body https://atom.io/api/packages/atom-development-server 3756
REQUEST emitting complete https://atom.io/api/packages/atom-development-server
REQUEST { method: 'GET',
  url: 'https://www.atom.io/api/packages/atom-development-server/versions/0.3.4/tarball',
  proxy: null,
  strictSSL: true,
  headers: { 'User-Agent': 'npm/2.5.1 node/v0.10.35 linux x64' },
  uri: null,
  callback: undefined }
REQUEST make request https://www.atom.io/api/packages/atom-development-server/versions/0.3.4/tarball
REQUEST onRequestResponse https://www.atom.io/api/packages/atom-development-server/versions/0.3.4/tarball 400 { server: 'Cowboy',
  connection: 'close',
  date: 'Wed, 02 Sep 2015 12:15:55 GMT',
  status: '400 Bad Request',
  'strict-transport-security': 'max-age=631152000',
  'x-frame-options': 'DENY',
  'x-xss-protection': '1; mode=block',
  'x-content-type-options': 'nosniff',
  'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
  'content-type': 'text/html; charset=utf-8',
  'cache-control': 'no-cache',
  'x-request-id': '2e6f91b2-e3eb-47c9-9a33-854fdf765339',
  'x-runtime': '0.082506',
  'x-rack-cache': 'miss',
  via: '1.1 vegur' }
REQUEST finish init function https://www.atom.io/api/packages/atom-development-server/versions/0.3.4/tarball
REQUEST response end https://www.atom.io/api/packages/atom-development-server/versions/0.3.4/tarball 400 { server: 'Cowboy',
  connection: 'close',
  date: 'Wed, 02 Sep 2015 12:15:55 GMT',
  status: '400 Bad Request',
  'strict-transport-security': 'max-age=631152000',
  'x-frame-options': 'DENY',
  'x-xss-protection': '1; mode=block',
  'x-content-type-options': 'nosniff',
  'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
  'content-type': 'text/html; charset=utf-8',
  'cache-control': 'no-cache',
  'x-request-id': '2e6f91b2-e3eb-47c9-9a33-854fdf765339',
  'x-runtime': '0.082506',
  'x-rack-cache': 'miss',
  via: '1.1 vegur' }
✗
Unable to download https://www.atom.io/api/packages/atom-development-server/versions/0.3.4/tarball: 400 Bad Request Repository inaccessible
wchan86 commented 8 years ago

Getting from www.atom.io will fail, but atom.io is okay.

$ wget https://www.atom.io/api/packages/atom-beautify/versions/0.28.16/tarball --no-check-certificate
--2015-11-05 11:39:51--  https://www.atom.io/api/packages/atom-beautify/versions/0.28.16/tarball
Resolving www.atom.io (www.atom.io)... 54.225.162.134
Connecting to www.atom.io (www.atom.io)|54.225.162.134|:443... connected.
WARNING: no certificate subject alternative name matches
    requested host name `www.atom.io'.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.

$ wget https://atom.io/api/packages/atom-beautify/versions/0.28.16/tarball
--2015-11-05 11:39:58--  https://atom.io/api/packages/atom-beautify/versions/0.28.16/tarball
Resolving atom.io (atom.io)... 50.17.186.72, 54.235.223.82, 107.20.140.34
Connecting to atom.io (atom.io)|50.17.186.72|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/Glavin001/atom-beautify/legacy.tar.gz/v0.28.16 [following]
--2015-11-05 11:40:05--  https://codeload.github.com/Glavin001/atom-beautify/legacy.tar.gz/v0.28.16
Resolving codeload.github.com (codeload.github.com)... 192.30.252.144
Connecting to codeload.github.com (codeload.github.com)|192.30.252.144|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 132670 (130K) [application/x-gzip]
Saving to: `tarball'

Would you like to install these updates? (yes) yes

Installing atom-beautify@0.28.16 to /home/local/ANT/wenchan/.atom/packages REQUEST { url: 'https://atom.io/api/packages/atom-beautify',
  json: true,
  retries: 4,
  proxy: null,
  strictSSL: false,
  headers: { 'User-Agent': 'npm/2.13.3 node/v0.10.40 linux x64' },
  callback: [Function],
  method: 'GET' }
REQUEST make request https://atom.io/api/packages/atom-beautify
REQUEST onRequestResponse https://atom.io/api/packages/atom-beautify 200 { server: 'Cowboy',
  connection: 'close',
  date: 'Thu, 05 Nov 2015 03:34:51 GMT',
  status: '200 OK',
  'strict-transport-security': 'max-age=631152000',
  'x-frame-options': 'DENY',
  'x-xss-protection': '1; mode=block',
  'x-content-type-options': 'nosniff',
  'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
  'content-type': 'application/json; charset=utf-8',
  etag: 'W/"1cd26e3ef13f535fe17c1d37320c8c73"',
  'cache-control': 'max-age=0, private, must-revalidate',
  'x-request-id': '40a9e63a-2a67-4f30-a698-e3bc0c169599',
  'x-runtime': '0.055402',
  'x-rack-cache': 'miss',
  via: '1.1 vegur' }
REQUEST finish init function https://atom.io/api/packages/atom-beautify
REQUEST response end https://atom.io/api/packages/atom-beautify 200 { server: 'Cowboy',
  connection: 'close',
  date: 'Thu, 05 Nov 2015 03:34:51 GMT',
  status: '200 OK',
  'strict-transport-security': 'max-age=631152000',
  'x-frame-options': 'DENY',
  'x-xss-protection': '1; mode=block',
  'x-content-type-options': 'nosniff',
  'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
  'content-type': 'application/json; charset=utf-8',
  etag: 'W/"1cd26e3ef13f535fe17c1d37320c8c73"',
  'cache-control': 'max-age=0, private, must-revalidate',
  'x-request-id': '40a9e63a-2a67-4f30-a698-e3bc0c169599',
  'x-runtime': '0.055402',
  'x-rack-cache': 'miss',
  via: '1.1 vegur' }
REQUEST end event https://atom.io/api/packages/atom-beautify
REQUEST has body https://atom.io/api/packages/atom-beautify 233360
REQUEST emitting complete https://atom.io/api/packages/atom-beautify
REQUEST { url: 'https://www.atom.io/api/packages/atom-beautify/versions/0.28.16/tarball',
  proxy: null,
  strictSSL: false,
  headers: { 'User-Agent': 'npm/2.13.3 node/v0.10.40 linux x64' },
  method: 'GET',
  callback: undefined }
REQUEST make request https://www.atom.io/api/packages/atom-beautify/versions/0.28.16/tarball
REQUEST onRequestResponse https://www.atom.io/api/packages/atom-beautify/versions/0.28.16/tarball 401 { 'content-type': 'application/json',
  date: 'Thu, 05 Nov 2015 03:35:04 GMT',
  server: 'nginx/1.6.2',
  'www-authenticate': 'Basic',
  'content-length': '42',
  connection: 'keep-alive' }
REQUEST finish init function https://www.atom.io/api/packages/atom-beautify/versions/0.28.16/tarball
REQUEST response end https://www.atom.io/api/packages/atom-beautify/versions/0.28.16/tarball 401 { 'content-type': 'application/json',
  date: 'Thu, 05 Nov 2015 03:35:04 GMT',
  server: 'nginx/1.6.2',
  'www-authenticate': 'Basic',
  'content-length': '42',
  connection: 'keep-alive' }
✗
Unable to download https://www.atom.io/api/packages/atom-beautify/versions/0.28.16/tarball: 401
maxwowpow commented 8 years ago

failing @ Windows, still, ping.

vijay-karajgikar commented 8 years ago

+1, Failing on windows 8.1 for me.

KriskotooBG commented 5 years ago

+1