scp-action icon indicating copy to clipboard operation
scp-action copied to clipboard

dial tcp: lookup on ***: no such host

Open raoulvdberge opened this issue 5 years ago • 5 comments

Hi there,

scp-action keeps failing randomly. It is able to upload the files, create folders, etc. But when it's finished, it throws this error and removes all uploaded files again.

Any idea why?

https://github.com/refinedmods/website/runs/768264891?check_suite_focus=true

raoulvdberge avatar Jun 13 '20 14:06 raoulvdberge

post your YAML config?

appleboy avatar Jun 15 '20 08:06 appleboy

  deploy:
    runs-on: ubuntu-latest
    needs: build-website
    steps:
    - uses: actions/download-artifact@v2
      with:
        name: output
    - uses: appleboy/scp-action@master
      with:
        host: ${{ secrets.HOST }}
        username: ${{ secrets.USERNAME }}
        password: ${{ secrets.PASSWORD }}
        port: ${{ secrets.PORT }}
        source: "."
        target: "/home/minecraft/refinedmods/public"
        rm: true
        strip_components: 1

raoulvdberge avatar Jun 15 '20 08:06 raoulvdberge

Can you help to try it again? I see the wrong host in your log:

168.63.129.16:53

appleboy avatar Jun 17 '20 01:06 appleboy

same error - error message: dial tcp: lookup ***: no such host

Tikam02 avatar Apr 03 '22 14:04 Tikam02

I have the same problem, any updates?

tomgeorgelin avatar Jan 30 '23 08:01 tomgeorgelin