node-red-web-nodes icon indicating copy to clipboard operation
node-red-web-nodes copied to clipboard

Dropbox in node sometimes hang indefinitely on Checking for changes

Open kjetilei opened this issue 7 years ago • 0 comments
trafficstars

Background: I have a Node-red setup that among many other things queues up files for uploading to Dropbox, then upload a single file from the queue and wait for a verification from the "Dropbox in" node that the file has been added (listening to the Add event) before continuing on the next file in queue.

I have now experienced several times that the "Dropbox in" node hangs indefinitely on "Checking for changes" (the blue icon and "Checking for changes" stays on).

This has happened after many hours of happily uploading several thousand files. It seems to happen when the Dropbox has gone full (but I don't believe that in itself is triggering the bug since "Drobox in" has hung also when no "insufficient_space" errors have been logged by "Dropbox out") and/or when I delete 600-800 of the files (5MB each) from Dropbox at once to free up space.

I log the files being sent through "Dropbox out" and being reported added through "Dropbox in". Sadly the log files doesn't show why this is happening since "Dropbox in" just hangs and doesn't submit any error messages or similar.

Also, as this has only happened when I have been away from the Node-red setup, deleting the files from Dropbox remotely, I have not been able to observe if it hung then or later.

I have tried to replicate the issue when I'm able to observe the Node-red editor, by filling up the Dropbox quota and deleting over 1000 files at once, but not succeeded in hanging the "Dropbox in" node when doing so.

Since it could be hard to track down the cause for this, I primarily log this issue as a FYI, but tips/a fix would be welcome :)

Node-RED version: v0.17.5 Node.js version: v9.2.0 Node-RED Node Dropbox version: v1.0.2

kjetilei avatar Dec 02 '17 18:12 kjetilei