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

PhantomJS Downloads Are Unreliable #1

Closed
michaelahlers opened this issue Jul 13, 2016 · 5 comments
Closed

PhantomJS Downloads Are Unreliable #1

michaelahlers opened this issue Jul 13, 2016 · 5 comments
Assignees
Labels

Comments

@michaelahlers
Copy link
Owner

Downloads occasionally fail unpredictably.

For test failure example:

[info] - must download PhantomJS for V211:Windows:B64 *** FAILED ***
[info]   java.io.IOException: Could not open inputStream for https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip
[info]   at de.flapdoodle.embed.process.store.Downloader.downloadInputStream(Downloader.java:131)
[info]   at de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:69)
[info]   at de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:66)
[info]   at de.flapdoodle.embed.process.store.CachingArtifactStore.checkDistribution(CachingArtifactStore.java:62)
[info]   at consulting.ahlers.specter.PhantomDownloadsSpec$$anonfun$2$$anonfun$apply$1.apply$mcV$sp(PhantomDownloadsSpec.scala:24)
[info]   at consulting.ahlers.specter.PhantomDownloadsSpec$$anonfun$2$$anonfun$apply$1.apply(PhantomDownloadsSpec.scala:24)
[info]   at consulting.ahlers.specter.PhantomDownloadsSpec$$anonfun$2$$anonfun$apply$1.apply(PhantomDownloadsSpec.scala:24)
[info]   at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
[info]   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
[info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[info]   ...
[info]   Cause: java.io.IOException: Server returned HTTP response code: 403 for URL: https://bbuseruploads.s3.amazonaws.com/fd96ed93-2b32-46a7-9d2b-ecbc0988516a/downloads/98d51451-997f-40e3-b9e6-a8e635dcdcb3/phantomjs-2.1.1-windows.zip?Signature=1m%2B0w1f877%2FiVF0vcyBw8OrUrLY%3D&Expires=1468368597&AWSAccessKeyId=AKIAIWY5XSVPZPDQYRQQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-2.1.1-windows.zip%22
[info]   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1839)
[info]   at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:90)
[info]   at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1432)
[info]   at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1430)
[info]   at java.security.AccessController.doPrivileged(Native Method)
[info]   at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
[info]   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1429)
[info]   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
[info]   at de.flapdoodle.embed.process.store.Downloader.downloadInputStream(Downloader.java:127)
[info]   at de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:69)
[info]   ...

It appears the download token is expiring?

@michaelahlers michaelahlers self-assigned this Jul 13, 2016
@michaelahlers
Copy link
Owner Author

Could be related to ariya/phantomjs#13951.

@michaelahlers
Copy link
Owner Author

Consider using https://cnpmjs.org/downloads (as suggested by Deciding Where To Get PhantomJS).

@michaelahlers
Copy link
Owner Author

SSL handshake errors occur when talking to cnpmjs.org.

@michaelahlers
Copy link
Owner Author

michaelahlers commented Jul 13, 2016

Another viable (perhaps temporary) source for binaries is paladox/phantomjs (provided by @paladox, in response to ariya/phantomjs#13953).

@michaelahlers
Copy link
Owner Author

Seems to work well enough for now, although this issue may need reopened.

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

No branches or pull requests

1 participant