Using node-red-contrib-tfjs-coco-ssd locally

Hi, I'm trying to use node-red-contrib-tfjs-coco-ssd locally (offline) withouth success.
windows 10
node-red V1.2.6
node.js V14.15.4
I tryed installing the node in both way, via "npm" and "manage palette": It works great if I leave blank the URL setting (so using the on-line model), but I cannot find the correct path to make it working offline.

I may be wrong but that looks as if it may be an issue that the contrib node should have caught to prevent node-red from crashing. Tagging @dceejay as he is the maintainer of the node I believe.

For the future please try to copy/paste output here rather than screenshot it. When pasting use the </> button at the top of the forum text window.

Thanks Colin. Here the output message

10 Jan 15:19:12 - [info] Server now running at
(node:10136) UnhandledPromiseRejectionWarning: FetchError: request to http://localhost:1880/coco/model.json failed, reason: connect ECONNREFUSED
    at ClientRequest.<anonymous> (C:\Users\Io\.node-red\node_modules\node-fetch\lib\index.js:1393:11)
    at ClientRequest.emit (events.js:315:20)
    at Socket.socketErrorListener (_http_client.js:469:9)
    at Socket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:10136) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see (rejection id: 1)
(node:10136) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

The error is caused by the fact that there is you get a connection refused from http://localhost:1880/coco/model.json. However that should not cause a crash.

Thanks. Can you help me to understand why this happens and how to solve it?

No, sorry, I don't know anything about that node. That is why I tagged Dave earlier, as he is the maintainer of the node.

Once you tag someone, is this already informed? Once I tried the message option of the forum, but this actually starts a new topic inviting to the recipient.

Yes, he should get notified.

Does the example flow from the node's readme work for you?

Today is Sunday so I was taking some time away from the keyboard.
Yes it shouldn't crash - but it seems like it's coming from inside the tfjs library - I'll have a look.
Meanwhile you can see the url it is trying to load... - it's getting a 401 from you so presumably you have some form of authentication turned on which it can't just handle - Is there an endpoint where you could move that file to where which you can access locally ?

Hi dceejay, thanks a lot. Yes, it's Sunday and I understand :slightly_smiling_face:.

Sorry, I don't understand what you mean and what attempt I should make. I set both password protection in settings.js: flows and dashboard

Hi, I'm making several trying but without success. I always get back error messages.
Any help is welcome.