From 799e387437df8a97019c2318dd53517350b27d15 Mon Sep 17 00:00:00 2001 From: aitbc1 Date: Sun, 29 Mar 2026 12:21:48 +0200 Subject: [PATCH] fix: correct network URLs in all CI workflows - ROOT CAUSE FIX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🔥 REAL ROOT CAUSE: Network + URL mismatch (not CI logic) ❌ Before: https://gitea.bubuit.net (port 443, HTTPS) ✅ After: http://gitea.bubuit.net:3000 (port 3000, HTTP) Fixed Files: - .gitea/workflows/systemd-sync.yml - .gitea/workflows/security-scanning.yml - .gitea/workflows/python-tests.yml - .gitea/workflows/smart-contract-tests.yml - .gitea/workflows/integration-tests.yml - .gitea/workflows/cli-level1-tests.yml - .gitea/workflows/api-endpoint-tests.yml - .gitea/workflows/package-tests.yml Root Cause Analysis: - Service runs on: http://10.0.3.107:3000 - DNS resolves: gitea.bubuit.net → 10.0.3.107 - BUT wrong protocol: https (443) instead of http (3000) - Connection failed: "Failed to connect to gitea.bubuit.net port 443" Verification: ✅ curl -I http://gitea.bubuit.net:3000 → HTTP/1.1 200 OK ✅ git ls-remote http://gitea.bubuit.net:3000/oib/aitbc.git → refs returned This fixes ALL CI workflow cloning failures. No infrastructure changes needed - just correct URLs. --- .gitea/workflows/api-endpoint-tests.yml | 2 +- .gitea/workflows/cli-level1-tests.yml | 2 +- .gitea/workflows/integration-tests.yml | 2 +- .gitea/workflows/package-tests.yml | 8 ++++---- .gitea/workflows/python-tests.yml | 4 ++-- .gitea/workflows/security-scanning.yml | 2 +- .gitea/workflows/smart-contract-tests.yml | 4 ++-- .gitea/workflows/systemd-sync.yml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/api-endpoint-tests.yml b/.gitea/workflows/api-endpoint-tests.yml index d0bb513a..d2d43d01 100644 --- a/.gitea/workflows/api-endpoint-tests.yml +++ b/.gitea/workflows/api-endpoint-tests.yml @@ -44,7 +44,7 @@ jobs: echo "Workspace PWD: $(pwd)" echo "Cloning repository..." - git clone https://gitea.bubuit.net/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo echo "Repo PWD: $(pwd)" diff --git a/.gitea/workflows/cli-level1-tests.yml b/.gitea/workflows/cli-level1-tests.yml index dcb076a4..1c0c6e69 100644 --- a/.gitea/workflows/cli-level1-tests.yml +++ b/.gitea/workflows/cli-level1-tests.yml @@ -43,7 +43,7 @@ jobs: echo "Workspace PWD: $(pwd)" echo "Cloning repository..." - git clone https://gitea.bubuit.net/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo echo "Repo PWD: $(pwd)" diff --git a/.gitea/workflows/integration-tests.yml b/.gitea/workflows/integration-tests.yml index 35c27855..221f41c8 100644 --- a/.gitea/workflows/integration-tests.yml +++ b/.gitea/workflows/integration-tests.yml @@ -41,7 +41,7 @@ jobs: echo "Workspace PWD: $(pwd)" echo "Cloning repository..." - git clone https://gitea.bubuit.net/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo echo "Repo PWD: $(pwd)" diff --git a/.gitea/workflows/package-tests.yml b/.gitea/workflows/package-tests.yml index fa9c3859..144fb5e7 100644 --- a/.gitea/workflows/package-tests.yml +++ b/.gitea/workflows/package-tests.yml @@ -114,7 +114,7 @@ jobs: cd "$WORKSPACE_BASE" # Clone repository - git clone http://10.0.3.107:3000/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo # Check filesystem space and permissions @@ -724,7 +724,7 @@ jobs: echo "Workspace PWD: $(pwd)" echo "Cloning repository..." - git clone http://10.0.3.107:3000/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo echo "Repo PWD: $(pwd)" @@ -865,7 +865,7 @@ jobs: # Ensure no git lock files exist find . -name "*.lock" -delete 2>/dev/null || true - git clone http://10.0.3.107:3000/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo - name: Test SDK Compatibility @@ -950,7 +950,7 @@ jobs: # Ensure no git lock files exist find . -name "*.lock" -delete 2>/dev/null || true - git clone http://10.0.3.107:3000/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo - name: Test Package Installation diff --git a/.gitea/workflows/python-tests.yml b/.gitea/workflows/python-tests.yml index 4b989ed4..4fa9a358 100644 --- a/.gitea/workflows/python-tests.yml +++ b/.gitea/workflows/python-tests.yml @@ -39,7 +39,7 @@ jobs: echo "Workspace PWD: $(pwd)" echo "Cloning repository..." - git clone https://gitea.bubuit.net/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo echo "Repo PWD: $(pwd)" @@ -221,7 +221,7 @@ jobs: echo "Workspace PWD: $(pwd)" echo "Cloning repository..." - git clone https://gitea.bubuit.net/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo echo "Repo PWD: $(pwd)" diff --git a/.gitea/workflows/security-scanning.yml b/.gitea/workflows/security-scanning.yml index 8729c034..4f26fedb 100644 --- a/.gitea/workflows/security-scanning.yml +++ b/.gitea/workflows/security-scanning.yml @@ -30,7 +30,7 @@ jobs: echo "Workspace PWD: $(pwd)" echo "Cloning repository..." - git clone https://gitea.bubuit.net/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo echo "Repo PWD: $(pwd)" diff --git a/.gitea/workflows/smart-contract-tests.yml b/.gitea/workflows/smart-contract-tests.yml index 45deff06..75c58155 100644 --- a/.gitea/workflows/smart-contract-tests.yml +++ b/.gitea/workflows/smart-contract-tests.yml @@ -49,7 +49,7 @@ jobs: echo "Workspace PWD: $(pwd)" echo "Cloning repository..." - git clone https://gitea.bubuit.net/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo echo "Repo PWD: $(pwd)" @@ -264,7 +264,7 @@ jobs: # Ensure no git lock files exist find . -name "*.lock" -delete 2>/dev/null || true - git clone https://gitea.bubuit.net/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo - name: Lint Solidity Contracts diff --git a/.gitea/workflows/systemd-sync.yml b/.gitea/workflows/systemd-sync.yml index aa741cf7..7698aa2e 100644 --- a/.gitea/workflows/systemd-sync.yml +++ b/.gitea/workflows/systemd-sync.yml @@ -34,7 +34,7 @@ jobs: echo "Workspace PWD: $(pwd)" echo "Cloning repository..." - git clone https://gitea.bubuit.net/oib/aitbc.git repo + git clone http://gitea.bubuit.net:3000/oib/aitbc.git repo cd repo echo "Repo PWD: $(pwd)"