WARP fails lookup on Github Actions

Hey, I have an issue with WARP action https://github.com/oHTGo/setup-cloudflare-warp-action (code seems correct) After action is done setting up the connection (which from what I see it does set the connection up successfully) it should proceed to syncing few files via sftp, however looks like DNS times out with warp enabled
srv-main.internal.xyz, error message: dial tcp: lookup srv-main.internal.xyz on 168.63.129.16:53: read udp 172.17.0.2:55889->168.63.129.16:53: i/o timeout
srv-main.internal.xyz, error message: dial tcp: lookup srv-main.internal.xyz on 168.63.129.16:53: read udp 172.17.0.2:55889->168.63.129.16:53: i/o timeout
Does anyone by any chance know the cause?
2 Replies
Londek
LondekOP4mo ago
I tried replicating the issue on fresh VM however everything works fine on it even with copy pasted mdm.xml
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Cloudflare Zero Trust
uses: oHTGo/[email protected]
with:
organization: rvtools
auth-client-id: ${{ vars.CLOUDFLARE_WARP_CLIENT_ID }}
auth-client-secret: ${{ secrets.CLOUDFLARE_WARP_CLIENT_SECRET }}

- name: Copy config via sftp
uses: appleboy/[email protected]
with:
host: ${{ vars.SERVER_HOST }}
username: ${{ vars.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
source: "docker-compose.yml"
target: ${{ vars.APP_DEPLOY_DIRECTORY }}

- name: "Update docker compose via SSH"
uses: appleboy/[email protected]
with:
host: ${{ vars.SERVER_HOST }}
username: ${{ vars.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd ${{ vars.APP_DEPLOY_DIRECTORY }}
sudo docker compose up -d --remove-orphans
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Cloudflare Zero Trust
uses: oHTGo/[email protected]
with:
organization: rvtools
auth-client-id: ${{ vars.CLOUDFLARE_WARP_CLIENT_ID }}
auth-client-secret: ${{ secrets.CLOUDFLARE_WARP_CLIENT_SECRET }}

- name: Copy config via sftp
uses: appleboy/[email protected]
with:
host: ${{ vars.SERVER_HOST }}
username: ${{ vars.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
source: "docker-compose.yml"
target: ${{ vars.APP_DEPLOY_DIRECTORY }}

- name: "Update docker compose via SSH"
uses: appleboy/[email protected]
with:
host: ${{ vars.SERVER_HOST }}
username: ${{ vars.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd ${{ vars.APP_DEPLOY_DIRECTORY }}
sudo docker compose up -d --remove-orphans
This looks like Github Actions Docker bug, it tries to use eth0 network(resolvconf) instead of warp's Weird but this works, I suspect because Docker is not used
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5

- name: Install drone-ssh
uses: actions-go/go-install@main
with:
module: github.com/appleboy/drone-ssh@latest

- name: Install drone-scp
uses: actions-go/go-install@main
with:
module: github.com/appleboy/drone-scp@latest

- name: Setup Cloudflare Zero Trust
uses: oHTGo/[email protected]
with:
organization: rvtools
auth-client-id: ${{ vars.CLOUDFLARE_WARP_CLIENT_ID }}
auth-client-secret: ${{ secrets.CLOUDFLARE_WARP_CLIENT_SECRET }}

- name: Copy config via sftp
run: |
drone-scp -H "${{ vars.SERVER_HOST }}" -u "${{ vars.SERVER_USERNAME }}" --ssh-key "${{ secrets.SERVER_SSH_KEY }}" --target "${{ vars.APP_DEPLOY_DIRECTORY }}" --source "docker-compose.yml"

- name: Update docker compose via SSH
run: |
drone-ssh -H "${{ vars.SERVER_HOST }}" -u "${{ vars.SERVER_USERNAME }}" --ssh-key "${{ secrets.SERVER_SSH_KEY }}" -s "cd ${{ vars.APP_DEPLOY_DIRECTORY }} && sudo docker compose up -d --remove-orphans"
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5

- name: Install drone-ssh
uses: actions-go/go-install@main
with:
module: github.com/appleboy/drone-ssh@latest

- name: Install drone-scp
uses: actions-go/go-install@main
with:
module: github.com/appleboy/drone-scp@latest

- name: Setup Cloudflare Zero Trust
uses: oHTGo/[email protected]
with:
organization: rvtools
auth-client-id: ${{ vars.CLOUDFLARE_WARP_CLIENT_ID }}
auth-client-secret: ${{ secrets.CLOUDFLARE_WARP_CLIENT_SECRET }}

- name: Copy config via sftp
run: |
drone-scp -H "${{ vars.SERVER_HOST }}" -u "${{ vars.SERVER_USERNAME }}" --ssh-key "${{ secrets.SERVER_SSH_KEY }}" --target "${{ vars.APP_DEPLOY_DIRECTORY }}" --source "docker-compose.yml"

- name: Update docker compose via SSH
run: |
drone-ssh -H "${{ vars.SERVER_HOST }}" -u "${{ vars.SERVER_USERNAME }}" --ssh-key "${{ secrets.SERVER_SSH_KEY }}" -s "cd ${{ vars.APP_DEPLOY_DIRECTORY }} && sudo docker compose up -d --remove-orphans"
Chaika
Chaika4mo ago
Sounds like this issue is resolved, I'm marking the thread as self solved. If you're still having the issue you can comment here or open another thread. That WARP Action is community made though and an actions runner probably falls out of the typical environment for warp lol
Want results from more Discord servers?
Add your server