Authentication failed

Dear all,

I have this error: paramiko.ssh_exception.AuthenticationException: Authentication failed.
that pauses all my job without neither submitted to the cluster.
I checked my ssh key and it is ok, as well as ‘verdi computer test’, that gives all ok.
I tried to restart the daemon, still not able to fix.
(The complete error is reported below)

Any suggestions?
Thanks a lot
Best
Chiara Cignarella

+-> ERROR at 2024-01-18 11:28:25.003910+01:00
 | Traceback (most recent call last):
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/aiida/engine/utils.py", line 187, in exponential_backoff_retry
 |     result = await coro()
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/aiida/engine/processes/calcjobs/tasks.py", line 86, in do_upload
 |     transport = await cancellable.with_interrupt(request)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/aiida/engine/utils.py", line 94, in with_interrupt
 |     result = await next(wait_iter)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/asyncio/tasks.py", line 571, in _wait_for_one
 |     return f.result()  # May raise f.exception().
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/asyncio/futures.py", line 201, in result
 |     raise self._exception.with_traceback(self._exception_tb)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/aiida/engine/transports.py", line 89, in do_open
 |     transport.open()
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/aiida/transports/plugins/ssh.py", line 498, in open
 |     proxy_client.connect(proxy['host'], **proxy_connargs)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/paramiko/client.py", line 450, in connect
 |     self._auth(
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/paramiko/client.py", line 781, in _auth
 |     raise saved_exception
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/paramiko/client.py", line 757, in _auth
 |     self._transport.auth_publickey(username, key)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/paramiko/transport.py", line 1635, in auth_publickey
 |     return self.auth_handler.wait_for_response(my_event)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/paramiko/auth_handler.py", line 259, in wait_for_response
 |     raise e
 | paramiko.ssh_exception.AuthenticationException: Authentication failed.
+-> ERROR at 2024-01-18 11:31:35.727007+01:00
 | Traceback (most recent call last):
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/aiida/engine/utils.py", line 187, in exponential_backoff_retry
 |     result = await coro()
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/aiida/engine/processes/calcjobs/tasks.py", line 86, in do_upload
 |     transport = await cancellable.with_interrupt(request)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/aiida/engine/utils.py", line 94, in with_interrupt
 |     result = await next(wait_iter)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/asyncio/tasks.py", line 571, in _wait_for_one
 |     return f.result()  # May raise f.exception().
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/asyncio/futures.py", line 201, in result
 |     raise self._exception.with_traceback(self._exception_tb)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/aiida/engine/transports.py", line 89, in do_open
 |     transport.open()
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/aiida/transports/plugins/ssh.py", line 498, in open
 |     proxy_client.connect(proxy['host'], **proxy_connargs)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/paramiko/client.py", line 450, in connect
 |     self._auth(
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/paramiko/client.py", line 781, in _auth
 |     raise saved_exception
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/paramiko/client.py", line 757, in _auth
 |     self._transport.auth_publickey(username, key)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/paramiko/transport.py", line 1635, in auth_publickey
 |     return self.auth_handler.wait_for_response(my_event)
 |   File "/home/cignarella/micromamba/envs/aiida-sscha-1d/lib/python3.10/site-packages/paramiko/auth_handler.py", line 259, in wait_for_response
 |     raise e
 | paramiko.ssh_exception.AuthenticationException: Authentication failed.
+-> WARNING at 2024-01-18 11:31:35.742827+01:00
 | maximum attempts 5 of calling do_upload, exceeded

Hi @ccigna, if verdi computer test is good, then you have connection to the remote machine (on CSCS I guess?) If the process is in pause state, you can run verdi process play -a to resume all the paused processes.