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
I have built an app with Django and I have written a command that processes Excel files, generating json files which are then copied to a remote machine using Paramiko. When I execute the command manually works perfectly, however, when it's ran by the crontab throws the exception
File "/code/blacklist_app/models.py", line 76, in upload
ssh.connect(host, username=usuario, password=password)
File "/usr/local/lib/python3.8/site-packages/paramiko/client.py", line 349, in connect
retry_on_signal(lambda: sock.connect(addr))
File "/usr/local/lib/python3.8/site-packages/paramiko/util.py", line 283, in retry_on_signal
return function()
File "/usr/local/lib/python3.8/site-packages/paramiko/client.py", line 349, in
retry_on_signal(lambda: sock.connect(addr))
OSError: [Errno 99] Cannot assign requested address
The text was updated successfully, but these errors were encountered:
I have built an app with Django and I have written a command that processes Excel files, generating json files which are then copied to a remote machine using Paramiko. When I execute the command manually works perfectly, however, when it's ran by the crontab throws the exception
The text was updated successfully, but these errors were encountered: