appleboy / appleboy/scp-action

Something seems weird with connections

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.6k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

Everytime I use twice in a roll one of your actions, the second one can't be completed due a time out.

This first time it happened after I used the scp to copy my frontend files then the backends files. Always the backend files ended up with time out. So I've decided to split in two workflows, one looking for the frontend folder and the other for the frontend.

But even after that, the backend stills receiving time outs, not at the SCP anymore, but while using ssh-action.

Look:

![image](https://user-images.githubusercontent.com/4466094/79691185-73be8f00-8234-11ea-9ed2-0a039921304f.png)

So, I really thing there's something weird, maybe the connection stills open and the other action can't use it?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported workflow with two SCP uses, then with separate frontend and backend workflows, and compare the SCP and ssh-action steps. Use the linked screenshot and timeout behavior to investigate whether the first connection remains open. Done means the backend copy and SSH step complete without timing out when actions are used repeatedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.