pelagios/recogito2

"connection timed out" errors on build

rchavez-neu opened this issue · 2 comments

during the sbt run process, Server Access Errors are occurring for calls to http://repo.opengeo.org:

[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.3. Compiling...
[info] Compilation completed in 19.767s.
[info] Done compiling.
[info] Loading settings from build.sbt,webpack.sbt ...
[info] Set current project to recogito2 (in build file:/home/foo/recogito2-main/)
[error] Server access Error: Connection timed out (Connection timed out) url=http://repo.opengeo.org/com/fasterxml/jackson/jackson-bom/2.8.10/jackson-bom-2.8.10.jar
[error] Server access Error: Connection timed out (Connection timed out) url=http://repo.opengeo.org/com/fasterxml/jackson/module/jackson-modules-java8/2.8.10/jackson-modules-java8-2.8.10.jar
[error] Server access Error: Connection timed out (Connection timed out) url=http://repo.opengeo.org/org/apache/apache/15/apache-15.jar
[error] Server access Error: Connection timed out (Connection timed out) url=http://repo.opengeo.org/org/apache/commons/commons-parent/35/commons-parent-35.jar
[error] Server access Error: Connection timed out (Connection timed out) url=http://repo.opengeo.org/org/apache/commons/commons-parent/35/commons-parent-35.jar
[error] Server access Error: Connection timed out (Connection timed out) url=http://repo.opengeo.org/com/google/guava/guava-parent/22.0/guava-parent-22.0.jar
[error] Server access Error: Connection timed out (Connection timed out) url=http://repo.opengeo.org/ch/qos/logback/logback-parent/1.2.3/logback-parent-1.2.3.jar
[error] Server access Error: Connection timed out (Connection timed out) url=http://repo.opengeo.org/com/jolbox/bonecp-parent/0.8.0.RELEASE/bonecp-parent-0.8.0.RELEASE.jar
...

As the project will not build without the jars from http://repo.opengeo.org, are there any work arounds or ways to configure alternative alternative sources for those jars?

Not again... OpenGeo seems to enjoy moving repo locations just to see people suffer ;-)

I just changed the URL from http://repo.opengeo.org/ to https://repo.osgeo.org/repository/release/ in build.sbt, which seemed to do the trick for me. Let me know if that works on your end, too.

Note that download of javax.media.jai_core still usually fails on the first try. Second build usually resolves that issue. (Related to another instable repository, AFAIK.)

That did it, the build can now find the repository.
Now I've got other problems :) but the build is working again. Thank you!