Container can't download PhantomJS
Opened this issue · 2 comments
my2ter commented
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
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
Ticket referencing this issue Medium/phantomjs#539