Determining why SSH is failing.
Some checks failed
Tests / Setup and Checkout (push) Failing after 5m58s
Tests / Backend Setup (Python 3.13 + uv + Environment) (push) Has been skipped
Tests / Frontend Setup (Node.js 24 + Yarn Berry + Build) (push) Has been skipped
Tests / Backend Tests (Python 3.13 + uv) (push) Has been skipped
Tests / Frontend Tests (TypeScript + Vue + Yarn Berry) (push) Has been skipped
Some checks failed
Tests / Setup and Checkout (push) Failing after 5m58s
Tests / Backend Setup (Python 3.13 + uv + Environment) (push) Has been skipped
Tests / Frontend Setup (Node.js 24 + Yarn Berry + Build) (push) Has been skipped
Tests / Backend Tests (Python 3.13 + uv) (push) Has been skipped
Tests / Frontend Tests (TypeScript + Vue + Yarn Berry) (push) Has been skipped
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -31,18 +31,29 @@ jobs:
|
||||
echo "Testing SSL connectivity to dogar.darkhelm.org..."
|
||||
openssl s_client -connect dogar.darkhelm.org:443 -servername dogar.darkhelm.org < /dev/null 2>&1 | grep -E "(CONNECTED|Verify return code)" || echo "SSL test completed"
|
||||
|
||||
# Try SSH external first (most reliable), then other methods
|
||||
if git clone --depth 1 --branch main ssh://git@dogar.darkhelm.org:2222/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
|
||||
# Debug SSH keys and connectivity
|
||||
echo "=== SSH Debug Info ==="
|
||||
ls -la ~/.ssh/ 2>/dev/null || echo "No ~/.ssh directory"
|
||||
ssh-keyscan -p 2222 dogar.darkhelm.org 2>/dev/null || echo "SSH keyscan failed"
|
||||
|
||||
# Try clone methods with better debugging
|
||||
echo "=== Attempting Clone Methods ==="
|
||||
|
||||
# Method 1: SSH external (most reliable if keys work)
|
||||
echo "Trying SSH external (dogar.darkhelm.org:2222)..."
|
||||
if GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone --depth 1 --branch main ssh://git@dogar.darkhelm.org:2222/DarkHelm.org/plex-playlist.git . 2>&1; then
|
||||
echo "✓ External SSH clone successful"
|
||||
elif git clone --depth 1 --branch main git@gitea:3000/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
|
||||
# Method 2: Internal SSH (kankali runner only)
|
||||
elif echo "Trying internal SSH (gitea:3000)..." && GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone --depth 1 --branch main git@gitea:3000/DarkHelm.org/plex-playlist.git . 2>&1; then
|
||||
echo "✓ Internal SSH clone successful (kankali-runner only)"
|
||||
elif git clone --depth 1 --branch main ssh://git@dogar.darkhelm.org:2222/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
|
||||
echo "✓ External SSH clone successful"
|
||||
elif git clone --depth 1 --branch main http://gitea:3000/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
|
||||
# Method 3: Internal HTTP (kankali runner only)
|
||||
elif echo "Trying internal HTTP (gitea:3000)..." && git clone --depth 1 --branch main http://gitea:3000/DarkHelm.org/plex-playlist.git . 2>&1; then
|
||||
echo "✓ Internal HTTP clone successful (kankali-runner only)"
|
||||
elif git -c http.sslVerify=false clone --depth 1 --branch main https://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
|
||||
# Method 4: HTTPS with SSL verification disabled
|
||||
elif echo "Trying HTTPS with SSL disabled..." && git -c http.sslVerify=false clone --depth 1 --branch main https://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git . 2>&1; then
|
||||
echo "✓ External HTTPS clone successful (SSL verification disabled)"
|
||||
elif git clone --depth 1 --branch main http://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
|
||||
# Method 5: HTTP external
|
||||
elif echo "Trying HTTP external..." && git clone --depth 1 --branch main http://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git . 2>&1; then
|
||||
echo "✓ External HTTP clone successful"
|
||||
else
|
||||
echo "❌ All clone methods failed"
|
||||
|
||||
Reference in New Issue
Block a user