appleboy / drone-scp

Copy files and artifacts via SSH using a binary, docker or Drone CI.
MIT License
141 stars 29 forks source link

drone-scp error: dial tcp ***:***: i/o timeout #170

Open kelvin401 opened 1 year ago

kelvin401 commented 1 year ago

Without having made any changes to the CI process, I started receiving the drone-scp error: dial tcp :: i/o timeout causing the CI to fail whenever I make a new commit. Does anyone have an idea what it could be?

I'm using this config file.

appleboy commented 1 year ago

The issue is same as https://github.com/appleboy/scp-action/issues/106

appleboy commented 1 year ago

I will check what's different between drone-scp version v1.6.4 and v.1.6.7

appleboy commented 1 year ago

@kelvin401 Can you help to try the two versions?

  1. appleboy/scp-action@v0.1.3 (working?)
  2. appleboy/scp-action@v0.1.4 (not working?)
  3. appleboy/scp-action@209e8c05e0492f6ed6fe8a22dfcaefb083c4cf35 (?)

Thanks.

kelvin401 commented 1 year ago

@appleboy I'm tried this two versions, just appleboy/scp-action@v0.1.3 worked. Evidence-SCP

appleboy commented 1 year ago

@kelvin401 Thanks for your testing. I will check it.

appleboy commented 1 year ago

@kelvin401 Could you help to try appleboy/scp-action@209e8c05e0492f6ed6fe8a22dfcaefb083c4cf35 version? Thanks.

kelvin401 commented 1 year ago

@kelvin401 Could you help to try appleboy/scp-action@209e8c05e0492f6ed6fe8a22dfcaefb083c4cf35 version? Thanks.

Not worked

appleboy commented 1 year ago

@kelvin401 Could you help to try appleboy/scp-action@209e8c05e0492f6ed6fe8a22dfcaefb083c4cf35 version? Thanks.

Not worked

@kelvin401 Can you provide the log with the timestamp? like as below

image

kelvin401 commented 1 year ago

Yes, here it is Evidence-SCP-timestamp

appleboy commented 1 year ago

@kelvin401 Can you help to try the master version? appleboy/scp-action@master

kelvin401 commented 1 year ago

Hi @appleboy, I'd tried execute this version but I received the same error. Evidence-SCP-master

appleboy commented 1 year ago

@kelvin401

May I ask if it's possible for you to create an account for me to test? I am unable to replicate the error environment on my end. In order to expedite the resolution of your issue, I would appreciate it if you could create an account for me.

Maybe you can email the detailed information to my Email appleboy.tw@gmail.com Thanks.

samwolf1982 commented 11 months ago

It works - appleboy/scp-action@v0.1.3 it doesn't work appleboy/scp-action@v0.1.4 / master / 209e8c05e0492f6ed6fe8a22dfcaefb083c4cf35 I've lost full day :)

image

itserror404 commented 2 months ago

Hi guys I am having the same issues anf the above fixes didnt help :(

kelvin401 commented 2 months ago

@itserror404 whats your version? Today I use the version scp-action@v0.1.3, its work.

appleboy commented 1 month ago

@kelvin401 Can you provide the following information?

  1. What is your VM host? Like Linode or other cloud providers?
  2. What is the sshd version?
  3. Post your sshd_config config.