DEV Community

tarohida
tarohida

Posted on

4 3

Error on appleboy/ssh-action. dial tcp: lookup example.example on 192.0.2.1:53: i/o timeout

Problem

One day, I get Error like below.

2022/01/18 22:51:31 dial tcp: lookup example.example on 192.0.2.1:53: read udp 192.0.2.2:37138->192.0.2.1:53: i/o timeout
Enter fullscreen mode Exit fullscreen mode

i/o timeout · Issue #32 · appleboy/ssh-action

I found this nearly issue. But error in this issue is about 22 port.

My error is about 53 port.

Just be sure, I recreate and replace ssh key. But Problem was not solved.

How to solve it

I think it is related to DNS, so I change host address from domain name to IP address.

And then, pipeline finished successfully.

I don't know cause, but problem was solved.

      uses: appleboy/ssh-action@master
      with:
        host: ${{ secrets.HOST }}
        username: ${{ secrets.USER }}
        key: ${{ secrets.KEY }}
        port: 22
Enter fullscreen mode Exit fullscreen mode

Additional Information

  • I replaced actual IP address and domain name to example IP address and domain name.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay