Github actions scp-action failing

Viewed 1289

I have been using github actions in one of my project for last 2 months to deploy to my QA environment using appleboy/scp-action. So far it was working fine.

But for last 3 days the action is consistently giving following error:

tar all files into /tmp/762144744/PmqnH47N72.tar
scp file to server.
drone-scp error:  error copy file to dest: ***, error message: dial tcp ***:***: i/o timeout
2020/04/02 03:12:52 error copy file to dest: ***, error message: dial tcp ***:***: i/o timeout

I have tried using the timeoutto increase it as per the documentation, but no use. Any guess???

Thanks in Advance.

2 Answers

For me, it seems to be related to 2 things:

  1. Caching of npm dependencies

  2. Wrong permissions on folder. So, I gave the write access.

Now it's fine, but it seems not really fiable.

Please check your storage of os. If you are using linux OS then you can use it.

df -h

And you may be increase storage or remove some unnecessary files.

Related