Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response code 404 when downloading sc-4.6.5-linux32.tar.gz #116

Closed
web-padawan opened this issue May 25, 2021 · 9 comments
Closed

Response code 404 when downloading sc-4.6.5-linux32.tar.gz #116

web-padawan opened this issue May 25, 2021 · 9 comments

Comments

@web-padawan
Copy link

GotError [HTTPError]: Response code 404 (Not Found)
    at EventEmitter.<anonymous> (/home/runner/work/web-components/web-components/node_modules/download/node_modules/got/index.js:482:24)
    at EventEmitter.emit (events.js:376:20)
    at EventEmitter.emit (domain.js:470:12)
    at getResponse (/home/runner/work/web-components/web-components/node_modules/download/node_modules/got/index.js:320:5)
    at Immediate.<anonymous> (/home/runner/work/web-components/web-components/node_modules/download/node_modules/got/index.js:147:6)
    at processImmediate (internal/timers.js:462:21) {
  host: 'saucelabs.com',
  hostname: 'saucelabs.com',
  method: 'GET',
  path: '/downloads/sc-4.6.5-linux32.tar.gz',
  protocol: 'https:',
  url: 'https://saucelabs.com/downloads/sc-4.6.5-linux32.tar.gz',
  statusCode: 404,
  statusMessage: 'Not Found',
  headers: {
    server: 'nginx',
    date: 'Tue, 25 May 2021 08:34:30 GMT',
    'content-type': 'text/html; charset=utf-8',
    'transfer-encoding': 'chunked',
    connection: 'close',
    'content-encoding': 'gzip'
  }
}

See vaadin/web-components#1990 (comment) for more details.

@christian-bromann
Copy link
Contributor

According to the Sauce Connect changelog there is no Linux 32bit version anymore. Can you run GitHub actions on a 64bit version?

@christian-bromann
Copy link
Contributor

I will revert the last release and make it a major version bump.

@HackbrettXXX
Copy link

I'm having a very similar issue. I've seen you've deprecated the 4.7.6 release. The problem with this is that npm dependencies are usually specified with version ranges, meaning that depending on e.g. saucelabs@^4.6.3 will still install the deprecated/invalid version. I have two suggestions to fix this:

  • Either remove the release entirely (probably a bad idea, in case anyone already depends on this specific version).
  • Create another valid 4.7.7 release that's basically 4.7.5 again. This will make npm/yarn install 4.7.7 instead of 4.7.6.

Otherwise all repositories that have 4.7.6 in their saucelabs dependency range will have to exclude this version manually.

@christian-bromann
Copy link
Contributor

  • Create another valid 4.7.7 release that's basically 4.7.5 again. This will make npm/yarn install 4.7.7 instead of 4.7.6.

Good call, thanks!

@christian-bromann
Copy link
Contributor

Done, please let me know if the issue still occurs. Thanks for reporting.

@HackbrettXXX
Copy link

Thanks for reacting so quickly. While npm will now automatically install 4.7.7 this doesn't seem to resolve the issue. I'm still getting a 404:

{ HTTPError: Response code 404 (Not Found)
    at EventEmitter.ee.on.res (/home/travis/build/MrRio/jsPDF/node_modules/download/node_modules/got/index.js:482:24)
    at EventEmitter.emit (events.js:198:13)
    at EventEmitter.emit (domain.js:448:20)
    at getResponse (/home/travis/build/MrRio/jsPDF/node_modules/download/node_modules/got/index.js:320:5)
    at Immediate.setImmediate (/home/travis/build/MrRio/jsPDF/node_modules/download/node_modules/got/index.js:147:6)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
    at process.topLevelDomainCallback (domain.js:126:23)
  name: 'HTTPError',
  host: 'saucelabs.com',
  hostname: 'saucelabs.com',
  method: 'GET',
  path: '/downloads/sc-4.6.5-linux32.tar.gz',
  protocol: 'https:',
  url: 'https://saucelabs.com/downloads/sc-4.6.5-linux32.tar.gz',
  statusCode: 404,
  statusMessage: 'Not Found',
  headers:
   { server: 'nginx',
     date: 'Thu, 27 May 2021 12:16:56 GMT',
     'content-type': 'text/html; charset=utf-8',
     'transfer-encoding': 'chunked',
     connection: 'close',
     'content-encoding': 'gzip' } }

@christian-bromann
Copy link
Contributor

I just triggered a release of a new v4 that will default to Sauce Connect v4.6.4 rather than latest. This should finally fix your issue.

@HackbrettXXX
Copy link

Ah, thanks. That's good, because upgrading would not be that easy for us, since we use saucelabs indirectly via karma-sauce-launcher.

@HackbrettXXX
Copy link

I've just tested it, 4.7.8 works fine. Thanks again for fixing it so quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants