-
-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i/o timeout #309
Comments
Please post your all workflow. Thanks. |
This is my workflow at the moment `name: Laravel on: jobs:
|
I have the same error: deploy:
runs-on: self-hosted
environment: production
needs: [test]
if: github.ref == 'refs/heads/main'
steps:
- uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script_stop: true
script: |
cd ${{ github.event.repository.name }}
git fetch
git checkout '${{ github.sha }}'
bash bin/main_run |
@felipe3dfx Your SSH Server OS version and make sure your firewall policy? |
have you try add step to add vpn connection so at least you can ping the target server? |
@felipe3dfx did your self runner can ssh to the target host? |
Thanks for the feedback, I researched and saw connect with a docker image, is the correct way? when I try this way it returns |
@irakli-ika depend on your case, but for me I use ovpn, so the jobs can go like this
|
I don't have any restrictions on the firewall for port 22.
|
@felipe3dfx Where is your server? in Linode or any other cloud provider? |
I am experiencing a similar issue. I am using a GitHub self-hosted runner and from that server I was able to SSH into the target server. However, when using the appleyboy ssh-action, I am getting timeout response. |
@appleboy I use Linode (Runner included) |
I'm facing a similar problem where the pipeline times out when connecting to my EC2, whether using Edit: |
Please check the associated security group for the cloud instance. Most probably only Your machine IP is authorized to SSH into your instance. |
@irakli-ika Any feedback? Please reopen the issue if you continue to encounter the same problem. |
Hello, I try to deploy a project with Github to Digitalocean, I use ssh-action@v1.0.3 and have this issue
***:22: i/o timeout
.I saw old solutions with
port: 8000
but it returns the same error***:8000: i/o timeout
, can you help me fix this issue?The text was updated successfully, but these errors were encountered: