CogComp / cogcomp-nlp

CogComp's Natural Language Processing Libraries and Demos: Modules include lemmatizer, ner, pos, prep-srl, quantifier, question type, relation-extraction, similarity, temporal normalizer, tokenizer, transliteration, verb-sense, and more.
http://nlp.cogcomp.org/
Other
471 stars 144 forks source link

`mvn install` leads to Error 504: Gateway Time-out #726

Closed frankniujc closed 4 years ago

frankniujc commented 4 years ago

Hello, I encountered the following error when trying to build the pipeline.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:11 h
[INFO] Finished at: 2019-10-10T17:06:45-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project illinois-nlp-pipeline: Could not resolve dependencies for project edu.illinois.cs.cogcomp:illinois-nlp-pipeline:jar:4.0.15: Failed to collect dependencies at edu.illinois.cs.cogcomp:illinois-core-utilities:jar:4.0.15: Failed to read artifact descriptor for edu.illinois.cs.cogcomp:illinois-core-utilities:jar:4.0.15: Could not transfer artifact edu.illinois.cs.cogcomp:illinois-core-utilities:pom:4.0.15 from/to Atilika Open Source repository (http://www.atilika.org/nexus/content/repositories/atilika): Failed to transfer file: http://www.atilika.org/nexus/content/repositories/atilika/edu/illinois/cs/cogcomp/illinois-core-utilities/4.0.15/illinois-core-utilities-4.0.15.pom. Return code is: 504 , ReasonPhrase:Gateway Time-out. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
Slash0BZ commented 4 years ago

Should be fixed now, sorry about the problem. Please make sure you are using JDK8, there are known issues with other versions. Thanks.

frankniujc commented 4 years ago

Hello @Slash0BZ,

Thanks for the response! However, it seems that the issue is still there. I am using JDK8 and here are my maven info

$ mvn -version
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_222, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-65-generic", arch: "amd64", family: "unix"

I have also tried to ping the url to the .pom file and also got an error 502: bad gateway:

$ wget http://www.atilika.org/nexus/content/repositories/atilika/edu/illinois/cs/cogcomp/illinois-core-utilities/4.0.15/illinois-core-utilities-4.0.15.pom
--2019-10-16 09:45:58--  http://www.atilika.org/nexus/content/repositories/atilika/edu/illinois/cs/cogcomp/illinois-core-utilities/4.0.15/illinois-core-utilities-4.0.15.pom
Resolving www.atilika.org (www.atilika.org)... 18.179.94.14, 2406:da14:6ea:ac04:2ebb:dd18:d3c3:39c0
Connecting to www.atilika.org (www.atilika.org)|18.179.94.14|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.atilika.org/nexus/content/repositories/atilika/edu/illinois/cs/cogcomp/illinois-core-utilities/4.0.15/illinois-core-utilities-4.0.15.pom [following]
--2019-10-16 09:45:58--  https://www.atilika.org/nexus/content/repositories/atilika/edu/illinois/cs/cogcomp/illinois-core-utilities/4.0.15/illinois-core-utilities-4.0.15.pom
Connecting to www.atilika.org (www.atilika.org)|18.179.94.14|:443... connected.
HTTP request sent, awaiting response... 502 Bad Gateway
2019-10-16 09:45:59 ERROR 502: Bad Gateway.
Slash0BZ commented 4 years ago

Hi, sorry I wasn't clear: you need to re-download the current version of the code. It was something with the code instead of the maven repository. Please let me know if you can try that. Thanks.

frankniujc commented 4 years ago

Thank you so much. Right now it can be built successfully.