Closed klose54 closed 1 year ago
See this thread for details: https://discourse.nodered.org/t/nodered-keeps-restarting-with-processticksandrejections-error/76956/4?u=steve-mcl
So after delaying the node call for a few seconds after the flow starts, I do not have this error anymore but I have this 👍 [red] ```
Uncaught Exception:
[error] Error: Get state failed: received 504 Gateway Time-out
at SurePetCareClient.getState (/home/klose54/.node-red/node_modules/sure-pet-care-client/dist/client.js:41:31)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
I do believe that this could be caused by a server fault on the surepet side, but maybe there is something missing for nodejs v16 that would handle a server error and not crash nodered ?
Edits in a fork with the changes thanks to @Steve-Mcl
Hello,
I'm using the contrib node in nodered for a while, and after a crash of my setup I had to make a complete fresh new setup with nodered v3.
I deployed a flows backup with the node and the credentials, when using it manually it works as it as always worked, but when i make it work with an inject node with a repeat every second, it makes this error and nodered keeps ketting it and constantly reboot