-
Notifications
You must be signed in to change notification settings - Fork 49
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
throw new Error(res.stderr.toString()) #81
Comments
I've seen the source where 'res.stderr.toString' is.It seems that the res.status !== 0,what's that means? |
It means that the background worker that is sending the requests has crashed. I don't know what could be causing this. |
Same story, Node 8.9. |
Could you try using the new version. I've not done anything that I specifically expect to have fixed your issue, but a lot has been re-written, so it's possible things will have resolved themselves. |
I stumbled upon the same problem with the latest version (5.0.0) but with a slightly different error message:
I assume that they are related (even mine is thrown in your ForbesLindesay/sync-rpc repo). That's why I comment here instead of opening up a new issue there. @ForbesLindesay, do you have any guess on this? Edit: Clearify why I comment here. |
@biolauri thanks for this report, that was really helpful. could you try it out with version 1.3.3 (just released) of sync-rpc and let me know if you get a more helpful error. |
I just updated both dependencies (to sync-request@6.0.0 and sync-rpc@1.3.3) and the error above is replaces by the following error instead (which might be a bit more helpful):
I'm just guessing, as it seems to be similar to shelljs/shelljs#819: Maybe the input input is too large for (our specific) OS and we're exceeding the maximum OS size limit on command line parameters , so it might be better to pass it as a file. But, again, I'm just guessing blindly. Edit: Be more precise in the first sentence. |
Thanks @biolauri. That definitely was an issue, and I never would have spotted it without your help. It should be fixed by sync-rpc 1.3.4. Let me know if there are still issues. I really think this one might have fixed it. |
Not at all! Thank you for your fast reply and fix! 🙇 Unfortunately, I stumbled upon another issue:
|
@biolauri That doesn't look like an issue that's specific to sync-request. That looks like it's just a problem with certificates on the server you are communicating with. nodejs/help#979 offers some general advice for self-signed certificates. I'm going to close this as it looks like the original issue has been resolved. |
Add
|
I use sync-request to send lots of sync request. But after i send part of them,my app crash.
just like this
The text was updated successfully, but these errors were encountered: