Connection Timeout accessing repo.ohdsi.org from GitHub Actions

Hi All,

I am trying to build a Spring Boot application that depends on SqlRender (version 1.19.4) using the OHDSI Maven repository.

The build works fine on my local machine, but it consistently fails when running inside GitHub Actions with a connection timeout error. It seems like the OHDSI Nexus repository might be blocking requests from GitHub’s runner IP addresses.

The Error:

PlaintextError: Failed to execute goal on project Eos: Could not collect dependencies for project org.bih:Eos:jar:0.0.1-SNAPSHOT Error: Failed to read artifact descriptor for org.ohdsi.sql:SqlRender:jar:1.19.4 Error: Caused by: The following artifacts could not be resolved: org.ohdsi.sql:SqlRender:pom:1.19.4 (absent): Could not transfer artifact org.ohdsi.sql:SqlRender:pom:1.19.4 from/to ohdsi (https://repo.ohdsi.org/nexus/content/repositories/releases): Connect to repo.ohdsi.org:443 [repo.ohdsi.org/52.1.141.8] failed: Connect timed out

My Configuration: I have the repository configured in my pom.xml as follows:

<dependency> <groupId>org.ohdsi.sql</groupId> <artifactId>SqlRender</artifactId> <version>1.19.4</version> </dependency>

<repositories> <repository> <id>ohdsi</id> <name>repo.ohdsi.org</name> <url>https://repo.ohdsi.org/nexus/content/repositories/releases</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories>

What I have tried so far:

  1. Validated that the URL is accessible via browser and local curl.
  2. Verified that SqlRender 1.19.4 exists in the repository.
  3. The error specifically says Connect timed out rather than 404 Not Found, suggesting a network/firewall issue rather than a configuration error.

Has anyone else experienced a similar issue when building using OHDSI tools on GitHub Actions? Is there a recommended workaround or mirror to use for CI/CD pipelines?

Thanks in advance for any help!

@prabash Try it again, it could have been a short-term network connectivity issue.

I just ran the following github action to test connectivity and it completed successfully.

name: OHDSI repo connectivity test

on:
  workflow_dispatch:
    inputs:
      version:
        description: "SqlRender version to test"
        required: true
        default: "1.19.4"

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: DNS + routing quick check
        run: |
          nslookup repo.ohdsi.org || true
          ip route || true
      - name: Curl POM (legacy URL style)
        run: |
          VER="${{ inputs.version }}"
          URL="https://repo.ohdsi.org/nexus/content/repositories/releases/org/ohdsi/sql/SqlRender/${VER}/SqlRender-${VER}.pom"
          echo "$URL"
          curl -Iv --connect-timeout 15 --max-time 30 "$URL"
      - name: Curl POM (Nexus3-style URL)
        run: |
          VER="${{ inputs.version }}"
          URL="https://repo.ohdsi.org/nexus/repository/releases/org/ohdsi/sql/SqlRender/${VER}/SqlRender-${VER}.pom"
          echo "$URL"
          curl -Iv --connect-timeout 15 --max-time 30 "$URL"