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

"connection timed out" errors on build #691

Open
rchavez-neu opened this issue Apr 28, 2021 · 2 comments
Open

"connection timed out" errors on build #691

rchavez-neu opened this issue Apr 28, 2021 · 2 comments

Comments

@rchavez-neu
Copy link

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?

@rchavez-neu rchavez-neu changed the title connection timed out errors on build "connection timed out" errors on build Apr 29, 2021
@rsimon
Copy link
Member

rsimon commented Apr 29, 2021

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.)

@rchavez-neu
Copy link
Author

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

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

No branches or pull requests

2 participants