Swrve / swrve-android-sdk

Swrve Android SDK
http://www.swrve.com
Other
10 stars 18 forks source link

Gradle failing to fetch Swrve artifacts #263

Closed ghost closed 7 years ago

ghost commented 7 years ago

Seems like a server / hosting issue; occurs intermittently on identical builds, unsure why the resources are sometimes still available.

Full stacktrace on PasteBin: https://pastebin.com/RQUaJWL2

Let me know if I can provide any additional info!

Edit: Yes, 4.5.0 is old, which I realized as a side effect of tracking this issue down. Updated to 4.9.0, still having issues.

dominicmarmionswrve commented 7 years ago

Thanks for letting us know @AerinDeluca It seems like bintray were having issues on the 23rd May which would explain this. See http://status.bintray.com/

May 23, 2017 Download issues Resolved - This incident has been resolved. May 23, 15:16 UTC Investigating - We are experiencing intermittent download issues. We are currently investigating and will update as soon as the issue is resolved. May 23, 09:14 UTC

Sidenote: Is there a reason to force a redownload of these libraries on every build? It would be faster to let it download only once.

ghost commented 7 years ago

Thanks @dominicmarmionswrve !

Our build process does cache the artifacts acquired by gradle, but from what I understand gradle still HEADs all resources to see if they have changed to determine if it needs to download a new copy. I'm not entirely sure why, as I would expect a particular versioned library to always stay the same, and any changes to be released as a subsequent version, but that's just me. I'm not sure why getting a 401 when HEADing the library was forcing a gradle abort when we already had the library cached. Probably something I should look into on my end.

Thanks!