scrutinizer-ci / scrutinizer

Legacy repository - archives past feature requests/bug reports
https://scrutinizer-ci.com/docs
140 stars 36 forks source link

Container can't download PhantomJS #385

Open my2ter opened 8 years ago

my2ter commented 8 years ago

Hi,

This error is happening only time to time.

PhantomJS detected, but wrong version 1.9.7 @ /usr/local/bin/phantomjs.
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2
Receiving...

Error requesting archive.
Status: 403
Request options: {
  "uri": "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2",
  "encoding": null,
  "followRedirect": true,
  "headers": {},
  "strictSSL": true
}
Response headers: {
  "x-amz-request-id": "F886BD2D411CED23",
  "x-amz-id-2": "XrZkJffy+DSwLQNhUnUjN81VCSe3dpPJKm6VUM6V6382yDO1/KFPSDlz972MbZPRjVp1209djWA=",
  "content-type": "application/xml",
  "transfer-encoding": "chunked",
  "date": "Fri, 03 Jun 2016 01:31:43 GMT",
  "server": "AmazonS3",
  "connection": "close"
}
Make sure your network and proxy settings are correct.

If you continue to have issues, please report this full log at https://github.com/Medium/phantomjs
schmittjoh commented 8 years ago

This sounds like a rate limit issue. I would recommend to cache the download so that we do not need to perform this step each time your build is run. We have some docs on this here: https://scrutinizer-ci.com/docs/guides/caching_between_builds

my2ter commented 8 years ago

Ticket referencing this issue https://github.com/Medium/phantomjs/issues/539