MobilityData / gtfs-realtime-validator

Java-based tool that validates General Transit Feed Specification (GTFS)-realtime feeds
Other
38 stars 9 forks source link

Webapp build failure due to connect timed out #180

Open J-Maertens opened 1 year ago

J-Maertens commented 1 year ago

Summary:

Building Webapp with Maven fails due to connection refused and/or connect timed out.

Steps to reproduce:

  1. Clone repository
  2. Run maven package in gtfs-realtime-validator-webapp

There are three warnings when trying to access build.staging.obanyc.com and finally there's a build failure (connect timed out).

[INFO] Scanning for projects...
[INFO]
[INFO] ----------< org.mobilitydata:gtfs-realtime-validator-webapp >-----------
[INFO] Building gtfs-realtime-validator-webapp 1.0.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from conveyal-snapshots-mvn-repo: https://build.staging.obanyc.com/archiva/repository/snapshots/org/mobilitydata/gtfs-realtime-validator-lib/1.0.0-SNAPSHOT/maven-metadata.xml
Downloading from conveyal-releases-mvn-repo: https://build.staging.obanyc.com/archiva/repository/releases/org/mobilitydata/gtfs-realtime-validator-lib/1.0.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.mobilitydata:gtfs-realtime-validator-lib:1.0.0-SNAPSHOT/maven-metadata.xml from/to conveyal-releases-mvn-repo (https://build.staging.obanyc.com/archiva/repository/releases/): Connect to build.staging.obanyc.com:443 [build.staging.obanyc.com/3.94.110.216] failed: connect timed out
[WARNING] Could not transfer metadata org.mobilitydata:gtfs-realtime-validator-lib:1.0.0-SNAPSHOT/maven-metadata.xml from/to conveyal-snapshots-mvn-repo (https://build.staging.obanyc.com/archiva/repository/snapshots/): Connect to build.staging.obanyc.com:443 [build.staging.obanyc.com/3.94.110.216] failed: connect timed out
[WARNING] org.mobilitydata:gtfs-realtime-validator-lib:1.0.0-SNAPSHOT/maven-metadata.xml failed to transfer from https://build.staging.obanyc.com/archiva/repository/releases/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of conveyal-releases-mvn-repo has elapsed or updates are forced. Original error: Could not transfer metadata org.mobilitydata:gtfs-realtime-validator-lib:1.0.0-SNAPSHOT/maven-metadata.xml from/to conveyal-releases-mvn-repo (https://build.staging.obanyc.com/archiva/repository/releases/): Connect to build.staging.obanyc.com:443 [build.staging.obanyc.com/3.94.110.216] failed: connect timed out
[WARNING] org.mobilitydata:gtfs-realtime-validator-lib:1.0.0-SNAPSHOT/maven-metadata.xml failed to transfer from https://build.staging.obanyc.com/archiva/repository/snapshots/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of conveyal-snapshots-mvn-repo has elapsed or updates are forced. Original error: Could not transfer metadata org.mobilitydata:gtfs-realtime-validator-lib:1.0.0-SNAPSHOT/maven-metadata.xml from/to conveyal-snapshots-mvn-repo (https://build.staging.obanyc.com/archiva/repository/snapshots/): Connect to build.staging.obanyc.com:443 [build.staging.obanyc.com/3.94.110.216] failed: connect timed out
Downloading from conveyal-releases-mvn-repo: https://build.staging.obanyc.com/archiva/repository/releases/org/mobilitydata/gtfs-realtime-validator-lib/1.0.0-SNAPSHOT/gtfs-realtime-validator-lib-1.0.0-SNAPSHOT.pom
Downloading from conveyal-snapshots-mvn-repo: https://build.staging.obanyc.com/archiva/repository/snapshots/org/mobilitydata/gtfs-realtime-validator-lib/1.0.0-SNAPSHOT/gtfs-realtime-validator-lib-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  23.427 s
[INFO] Finished at: 2023-06-07T21:38:03+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project gtfs-realtime-validator-webapp: Could not resolve dependencies for project org.mobilitydata:gtfs-realtime-validator-webapp:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.mobilitydata:gtfs-realtime-validator-lib:jar:1.0.0-SNAPSHOT: Failed to read artifact descriptor for org.mobilitydata:gtfs-realtime-validator-lib:jar:1.0.0-SNAPSHOT: The following artifacts could not be resolved: org.mobilitydata:gtfs-realtime-validator-lib:pom:1.0.0-SNAPSHOT (absent): Could not transfer artifact org.mobilitydata:gtfs-realtime-validator-lib:pom:1.0.0-SNAPSHOT from/to conveyal-releases-mvn-repo (https://build.staging.obanyc.com/archiva/repository/releases/): Connect to build.staging.obanyc.com:443 [build.staging.obanyc.com/3.94.110.216] failed: connect timed 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/DependencyResolutionException

Platform:

maven 3.9.2 java version "11.0.17" 2022-10-18 LTS Win 11

treevm commented 9 months ago

I have the same problem. I tried with GitHub authentication in maven but still does't work. Any solution?