Skip to content
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

Connection refused #307

Open
bhushankummar opened this issue Mar 20, 2024 · 5 comments
Open

Connection refused #307

bhushankummar opened this issue Mar 20, 2024 · 5 comments

Comments

@bhushankummar
Copy link

I am receiving this error. And it will disappear immediately when I rerun the same action.
I have tried with latest version, I'm facing the same.

2024/03/20 16:44:37 dial tcp 104.131.72.198:22: connect: connection refused
/usr/bin/docker run --name bb49a8a65f19be224c278fa5439d79935726_163bd1 --label 18bb49 --workdir /github/workspace --rm -e "NODE_ENV" -e "DOCKERHUB_USERNAME" -e "DOCKERHUB_TOKEN" -e "INPUT_ENVS" -e "INPUT_TIMEOUT" -e "INPUT_HOST" -e "INPUT_USERNAME" -e "INPUT_KEY" -e "INPUT_SCRIPT" -e "INPUT_PORT" -e "INPUT_PASSPHRASE" -e "INPUT_PASSWORD" -e "INPUT_SYNC" -e "INPUT_USE_INSECURE_CIPHER" -e "INPUT_CIPHER" -e "INPUT_COMMAND_TIMEOUT" -e "INPUT_KEY_PATH" -e "INPUT_FINGERPRINT" -e "INPUT_PROXY_HOST" -e "INPUT_PROXY_PORT" -e "INPUT_PROXY_USERNAME" -e "INPUT_PROXY_PASSWORD" -e "INPUT_PROXY_PASSPHRASE" -e "INPUT_PROXY_TIMEOUT" -e "INPUT_PROXY_KEY" -e "INPUT_PROXY_KEY_PATH" -e "INPUT_PROXY_FINGERPRINT" -e "INPUT_PROXY_CIPHER" -e "INPUT_PROXY_USE_INSECURE_CIPHER" -e "INPUT_SCRIPT_STOP" -e "INPUT_ENVS_FORMAT" -e "INPUT_DEBUG" -e "INPUT_ALLENVS" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/root/data/actions-runner/_work/_temp/_github_home":"/github/home" -v "/root/data/actions-runner/_work/_temp/_github_workflow":"/github/workflow" -v "/root/data/actions-runner/_work/_temp/_runner_file_commands":"/github/file_commands" -v "/root/data/actions-runner/_work/slm-api/slm-api":"/github/workspace" 18bb49:a8a65f19be224c278fa5439d79935726
@appleboy
Copy link
Owner

@bhushankummar check firewall setting.

@bhushankummar
Copy link
Author

Validated, It's open.
I am using steps as below.
1 - appleboy/[email protected] (Passed)
2 - appleboy/[email protected] (Passed)
3 - appleboy/[email protected] (Failed)

Surprisingly it failed on Step 3 Only and after a retry, it just passed.

@appleboy
Copy link
Owner

@bhushankummar Why use multiple different versions of ssh-action (v1.0.2 + v1.0.3)?

@bhushankummar
Copy link
Author

I tried keeping them the same v1.0.3 for all output is still the same. Also tested with all of them at v1.0.2, still it's failing.

@bhushankummar
Copy link
Author

@appleboy The issue is still the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants