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

Bug in application streaming data after update from 3.2.9 to 3.4.0 #4206

Closed
jeffrson opened this issue Mar 20, 2019 · 4 comments
Closed

Bug in application streaming data after update from 3.2.9 to 3.4.0 #4206

jeffrson opened this issue Mar 20, 2019 · 4 comments

Comments

@jeffrson
Copy link

jeffrson commented Mar 20, 2019

My application uses SFTP (via ssh2-promises) to copy data.

It opens a readStream (sftp.createreadstream) and a writeStream (sftp2.createwritestream) and copies data with readStream.pipe(writeStream).

After I upgraded pm2 to 3.4.0 I get strange copy errors (exception log contains "cannot access method slice of undefined"). Error codes appear to come from my application, but breakpoints are not hit (from where the codes are sent).

As soon as I go back to 3.2.9 everything works again.

@vmarchaud
Copy link
Contributor

which node version are you using ?

@jeffrson
Copy link
Author

10.15.3 - sorry

@jeffrson jeffrson changed the title Bug in Application after Update from 3.2.9 to 3.4.0 Bug in application streaming data after update from 3.2.9 to 3.4.0 Mar 20, 2019
@jeffrson
Copy link
Author

pm2 3.3.1 seems good as well

@vmarchaud
Copy link
Contributor

Hey,

It should be fixed with a pm2 re-installation:

npm install pm2 -g
pm2 update

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

No branches or pull requests

3 participants