[BUG] Cannot deploying apps: write after end
cuonghuunguyen opened this issue · comments
hi, any updates abt this issue? it seems to be a critical bug for apps developers
Hi! Is this code public?
I indeed noticed some situations with different error messages, or sometimes the code not being executed and no errors showing, but I forgot to note the code or isolate it to create a reproducible environment to handle over to the apps engine devs.
And now I can't produce this errors again :)
yes, could you have a look at my Birthday app in my repo list?
https://github.com/cuonghuunguyen/Rocket.Chat.Apps-Birthday
I can reproduce this in the latest version
Any updates on this issue?
The error happened in getUploadFormData.ts
and this line
const bb = busboy({ headers: request.headers, defParamCharset: 'utf8', limits });
Seems to be a bug from vm2
implementation
@cuonghuunguyen would you mind trying to reproduce this again on the latest version (6.1.4)?
We had some improvements to vm2 and fixed some other apps related errors. Hope the experience is better now
sure, will inform you as soon as I have the result
Investigated and found the problem, the vm2
will cause the memory leak when running axios.