Closed dmfranko closed 8 years ago
http 403 here indicates that you have been forbidden access to the target url. does your firewall block access to https://bbuseruploads.s3.amazonaws.com ?
Doesn't appear to be a firewall message. I can't access it from either my work network or a cell network.
hmm.. yes. the link you were redirected to (the amazonaws one) indeed doesn't work for me either.. However, the primary link (which is what SeLion has in the {selionhome}/config/download.json file) works for me -- which means I'm getting redirected to a valid location.
@dmfranko interestingly enough I ran into this today too. As a work-around you can download the zip from a browser and place it in your {selionHome}/downloads/
folder, then start the node.
For example:
ls -la ~/.selion/downloads/
total 40776
drwxr-xr-x 4 dsimmons 100026495 136 Apr 11 13:51 .
drwxr-xr-x 12 dsimmons 100026495 408 Apr 11 13:52 ..
-rw-r--r-- 1 dsimmons 100026495 9408114 Apr 11 13:46 phantomjs-1.9.8-macosx.zip
Also fyi, if you are using Selion-1.1.0 SNAPSHOT we have moved to phantomjs 2.1.1 with this recent commit https://github.com/paypal/SeLion/commit/aee2ab4b6f5bd9416222ee93f90143fc0c1e42fa which does not seem to be failing to download
Based on this info, I'm going to go ahead and close this issue.
Please feel free to re-open if you see a need to do so.
Cheers!
When I try and start a node I'm running into errors when it tries to get phantomjs. I believe there's some issues with phantomjs and ghostdriver anyhow.
java -jar selenium-server-standalone-2.53.0.jar -role node -hub http://localhost:4444/grid/register
Apr 06, 2016 4:15:32 PM com.paypal.selion.grid.FileDownloader downloadFile INFO: Downloading from https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip with checksum fb850d56c033dd6e1142953904f62614[MD5] Apr 06, 2016 4:15:32 PM com.paypal.selion.grid.FileDownloader downloadFile SEVERE: Server returned HTTP response code: 403 for URL: https://bbuseruploads.s3.amazonaws.com/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip?Signature=g3%2F1a%2FYOxMpMN9xtN6wMcvQlEOM%3D&Expires=1459973181&AWSAccessKeyId=AKIAIWY5XSVPZPDQYRQQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-1.9.8-macosx.zip%22 java.io.IOException: Server returned HTTP response code: 403 for URL: https://bbuseruploads.s3.amazonaws.com/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip?Signature=g3%2F1a%2FYOxMpMN9xtN6wMcvQlEOM%3D&Expires=1459973181&AWSAccessKeyId=AKIAIWY5XSVPZPDQYRQQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-1.9.8-macosx.zip%22 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489) at com.paypal.selion.grid.FileDownloader.downloadFile(FileDownloader.java:268) at com.paypal.selion.grid.FileDownloader.downloadFile(FileDownloader.java:300) at com.paypal.selion.grid.FileDownloader.downloadAndExtractArtifacts(FileDownloader.java:210) at com.paypal.selion.grid.FileDownloader.checkForDownloads(FileDownloader.java:194) at com.paypal.selion.grid.AbstractBaseProcessLauncher.run(AbstractBaseProcessLauncher.java:260) at com.paypal.selion.grid.JarSpawner.run(JarSpawner.java:34) at com.paypal.selion.grid.JarSpawner.main(JarSpawner.java:49)