Jitpack.io: Count not connect to jitpack for OneSignal Plugin

Created on 20 Sep 2019  路  7Comments  路  Source: jitpack/jitpack.io

Hello,

Suddenly I m getting the following error

ERROR: Could not GET 'https://jitpack.io/gradle/plugin/com/onesignal/onesignal-gradle-plugin/'. Received status code 522 from server: Origin Connection Time-out

Also when I m trying to enter https://jitpack.io/gradle/plugin/com/onesignal/onesignal-gradle-plugin/ I m getting the following:

There seems to be an issue connecting to our servers. Please try again in a few minutes.

Any advice, please

Most helpful comment

Not sure if it helps, but I "solved" our issue by changing the order in the build.gradle, so the package is used from maven instead of jitpack.

Another approach would be to add www. to the url of jitpack. That solved a problem we had with another package.

Hope something helps.

All 7 comments

Having the same issue with https://jitpack.io/javax/inject/javax.inject/1/javax.inject-1.jar since 20 minutes or so.

Maybe there are some server issues?

At least they say this:
Screen Shot 2019-09-20 at 15 09 16

Yes exactly, I m getting the same.
What should we do? it happened yesterday and im unable to work since then

Not sure if it helps, but I "solved" our issue by changing the order in the build.gradle, so the package is used from maven instead of jitpack.

Another approach would be to add www. to the url of jitpack. That solved a problem we had with another package.

Hope something helps.

Thanks for your reply. I lll try that and let you know but i think the order solution tried it before and didnt work with me but i ll recheck again.
Also OneSignal team told me to open issue on their github account. So i ll try that also.

Concerning the order you mean change the calling position right ?

Yep, inside the build.gradle inside repositories do the call to add jitpack in the end.

The solution helped because the broken package from jitpack was also available on maven repo.
Therefore changing the order caused the process to check on maven repo first and as it is found there, there is no need to go to the broken jitpack.

Maybe you can remove jitpack altogether.

Thanks for your help i ll try it tomorow and let you know if its resolved

Hello @okwast, Your solution when adding the www. works. Thanks a lot for your help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rumatoest picture rumatoest  路  5Comments

Hala-Nearmotion picture Hala-Nearmotion  路  4Comments

SilenceDut picture SilenceDut  路  4Comments

hypest picture hypest  路  5Comments

jtang-ml picture jtang-ml  路  4Comments