Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action version v0.1.5 causing multiple err: outputs #174

Closed
rxa313 opened this issue Aug 8, 2022 · 13 comments
Closed

Action version v0.1.5 causing multiple err: outputs #174

rxa313 opened this issue Aug 8, 2022 · 13 comments

Comments

@rxa313
Copy link

rxa313 commented Aug 8, 2022

After the recent release of v0.1.5, I checked my logs and notice the output after script is returning loads of unnecessary err: outs.

v0.1.5:

======CMD======
pwd

======END======
out: /home/***
err: 
err: 
err: 
err: 
out: 
out: 
err: 
err: 
err: 
out: 
err: 
out: 
err: 
err: 
out: 
err: 
out: 
err: 
err: 
err: 
err: 
err: 
out: 
err: 
out: 
err: 
err: 
out: 
err: 
out: 
err: 
out: 
err: 
err: 
err: 
out: 
err: 
err: 
err: 
out: 
out: 
out: 
err: 
err: 
out: 
out: 
out: 
err: 
out: 
err: 
out: 
err: 
err: 
out: 
out: 
out: 
out: 
err: 
err: 
err: 
err: 
err: 
out: 
out: 
out: 
err: 
out: 
err: 
err: 
err: 
err: 
err: 
err: 
err: 
err: 
err: 
==============================================
✅ Successfully executed commands to all host.
==============================================

I tested using v0.1.4 and it returns the correct output:

======CMD======
pwd

======END======
out: /home/***
==============================================
✅ Successfully executed commands to all host.
==============================================
@linucks
Copy link

linucks commented Aug 9, 2022

Same here.

1 similar comment
@gamoreli
Copy link

gamoreli commented Aug 9, 2022

Same here.

@jeromecoupe
Copy link

jeromecoupe commented Aug 11, 2022

Thank you for this one. Very useful tool to have around.

Same issue here, with multiple commands (PHP and Node scripts).
If I compare the output of v0.1.5 to v0.1.4:

  • Everything executes and works as planned, including outputs.
  • I get a long list (70 lines or so) of err and out statements
  • After the list, I get the ✅ Successfully executed commands to all host. lines

This is quite puzzling because, as far as I can see, v0.1.5 is a docs related upgrade. The only other recent change is apparently a drone-ssh update

@yyjlincoln
Copy link

yyjlincoln commented Aug 15, 2022

Seems like it was introduced by drone-ssh:
appleboy/drone-ssh#192

Pinning the version to dce9d56 may help for now:

uses: appleboy/ssh-action@dce9d565de8d876c11d93fa4fe677c0285a66d78

@fredcohen-aa
Copy link

Same thing. Sometimes it's hundreds of blank err: and out: lines for no apparent reason

@indymaat
Copy link

indymaat commented Oct 3, 2022

Same issue here, using appleboy/ssh-action@v0.1.5

Everything works as expected but just a veeeeryy long output...

4746 out: 
4747 out: 
4748 err: 
4749 out: 
4750 err: 
4751 out: 
4752 ==============================================
4753 ✅ Successfully executed commands to all host.
4754 ==============================================

@kanes115
Copy link

kanes115 commented Oct 7, 2022

Same here

daffodilistic added a commit to daffodilistic/nus-SWE5005 that referenced this issue Oct 10, 2022
@Stas-AbsoluteDesign
Copy link

@appleboy apart from using a specific old version as per #174 (comment) suggestion above.. is there any proper fix planned? :(

@maxlingenfelter
Copy link

Experiencing the same problem on the laravel project
image
image

@brianjmurrell
Copy link

dce9d56

When I switch from master to this commit I get authentication errors:

2022/11/16 19:30:56 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

@appleboy
Copy link
Owner

appleboy commented Nov 26, 2022

I will take it. I think something wrong with a8d82ec commits

@appleboy
Copy link
Owner

appleboy commented Dec 9, 2022

Please try the v0.1.6 version. https://github.com/appleboy/ssh-action/releases/tag/v0.1.6

@appleboy appleboy closed this as completed Dec 9, 2022
@webbyus
Copy link

webbyus commented Sep 25, 2023

Please try the v0.1.6 version. https://github.com/appleboy/ssh-action/releases/tag/v0.1.6

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests