Closed scottsweb closed 7 years ago
scott - I just realized I opened an issue (#5) just like this. Were you able to determine what had changed? Jon
@JonMurphy afraid not. I am finding node red crashes quite a bit still and it is no longer logging properly either. I need to spend some more time investigating.
Finally getting back to working on this. I can reproduce the problem.
Excellent!
The problem has to do with getting responses from nest with null values. I'm trying out some simple changes and doing better exception handling. Put the fixes on github but not yet published to npm.
Hans - since I know little to nothing about npm, I am guessing I cannot test until it is published on npm and I can install it within node-red. If this is incorrect please let me know.
This should be fixed in version 0.1.9. When the node received null data responses it was still trying to convert the response to a string, hence the uncaught exception.
If you reinstall "sudo npm install -g node-red-contrib-nest" it should install the latest version.
Streaming mode still has some issues but the regular mode should work fine and not crash node-red when it encounters errors.
Started seeing frequent crashes today, logs are:
Will do some investigation to see if I can find out what has changed.