You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are intermittently encountering an issue where we are unable to connect to a VM. Before attempting to connect, we proactively check whether the machine is online. Only if it is online do we proceed with the connection using the SSH GitHub Action. Despite these precautions, the issue occurs occasionally, but it mostly resolves after a rerun.
Error we get
Yaml Config
Please post your Yaml configuration file along with the output results.
- name: Wait for machine to be onlinerun: | while ! nc -w10 -z -v $vmIpAddress 22;do echo "Waiting for machine to be online..."; doneid: vm_ip_address
- name: Exporting variables to bash profileuses: appleboy/ssh-action@masterwith:
command_timeout: 60mhost: ${{ steps.vm_ip_address.outputs.IP_ADDRESS }}username: azureuserkey: ${{ secrets.PRIVATE_KEY }}port: 22script: | HOME_DIR="/home/azureuser"
Related environment
Please provide the following information:
Your hosting provider information, such as DigitalOcean, Linode, AWS, or GCP.
Azure
The version information of your host's SSH service.
Describe the bug
We are intermittently encountering an issue where we are unable to connect to a VM. Before attempting to connect, we proactively check whether the machine is online. Only if it is online do we proceed with the connection using the SSH GitHub Action. Despite these precautions, the issue occurs occasionally, but it mostly resolves after a rerun.
Error we get
Yaml Config
Please post your Yaml configuration file along with the output results.
Related environment
Please provide the following information:
The text was updated successfully, but these errors were encountered: