-
Notifications
You must be signed in to change notification settings - Fork 28
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
Github ssh add known hosts #4
Comments
Hi @Rukamakama thanks for opening the issue. Is there any additional info you can provide? What error does the action show when it fails? |
When it fails I just see above output from job logs |
Hi, I had the same problem as @Rukamakama. The problem is ssh-keyscan can actually send output to stderr even during successful execution see https://serverfault.com/questions/636655/ssh-keyscan-stderr-comment-on-success. Update: |
@s7anley I tested locally and with EC2 and had no issues. The rate-limiting could be an answer, but it does seem like a very low limit. A few other explanations:
I could release a "debug" version with all verbosity set to max? This will have to be under a different tag to prevent accidental verbosity in production environments. |
After doing Login Succeeded
Command: docker-compose -f docker-compose.yml pull
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 11, in <module>
load_entry_point('docker-compose==1.25.4', 'console_scripts', 'docker-compose')()
File "/usr/lib/python3.8/site-packages/compose/cli/main.py", line 72, in main
command()
File "/usr/lib/python3.8/site-packages/compose/cli/main.py", line 125, in perform_command
project = project_from_options('.', options)
File "/usr/lib/python3.8/site-packages/compose/cli/command.py", line 54, in project_from_options
return get_project(
File "/usr/lib/python3.8/site-packages/compose/cli/command.py", line 1[47](https://github.com/Awerito/fastapi-mongodb/runs/7361520218?check_suite_focus=true#step:4:48), in get_project
client = get_client(
File "/usr/lib/python3.8/site-packages/compose/cli/command.py", line 118, in get_client
client = docker_client(
File "/usr/lib/python3.8/site-packages/compose/cli/docker_client.py", line 127, in docker_client
client = APIClient(**kwargs)
File "/usr/lib/python3.8/site-packages/docker/api/client.py", line 165, in __init__
self._custom_adapter = SSHHTTPAdapter(
File "/usr/lib/python3.8/site-packages/docker/transport/sshconn.py", line 111, in __init__
self._connect()
File "/usr/lib/python3.8/site-packages/docker/transport/sshconn.py", line 119, in _connect
self.ssh_client.connect(**self.ssh_params)
File "/usr/lib/python3.8/site-packages/paramiko/client.py", line 435, in connect
self._auth(
File "/usr/lib/python3.8/site-packages/paramiko/client.py", line 764, in _auth
raise saved_exception
File "/usr/lib/python3.8/site-packages/paramiko/client.py", line 740, in _auth
self._transport.auth_publickey(username, key)
File "/usr/lib/python3.8/site-packages/paramiko/transport.py", line 1580, in auth_publickey
return self.auth_handler.wait_for_response(my_event)
File "/usr/lib/python3.8/site-packages/paramiko/auth_handler.py", line 2[50](https://github.com/Awerito/fastapi-mongodb/runs/7361520218?check_suite_focus=true#step:4:51), in wait_for_response
raise e
paramiko.ssh_exception.AuthenticationException: Authentication failed. |
Hello,
Am trying to use this action to deploy my containers with docker-compose.
Here my
ci
fileThis job is failing but the failure message is not clear to me. Here is the job logs
The text was updated successfully, but these errors were encountered: