Skip to content
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

http://ccu3-webui/addons/red/uibindex gives ERR_INVALID_URL #511

Open
simonbuehler opened this issue Jun 28, 2021 · 4 comments
Open

http://ccu3-webui/addons/red/uibindex gives ERR_INVALID_URL #511

simonbuehler opened this issue Jun 28, 2021 · 4 comments

Comments

@simonbuehler
Copy link

Hi hab die issue zuerst bei uibuilder gestellt, das internal\url.js kommt aber aus redmatic, darum konnte er mir da nicht helfen, hat hier jemand vllt eine Idee?

speziell der Teil

Jun 25 10:40:31 ccu3-webui daemon.err node-red: TypeError [ERR_INVALID_URL]: Invalid URL: undefined
Jun 25 10:40:31 ccu3-webui daemon.err node-red:     at onParseError (internal/url.js:259:9)
Jun 25 10:40:31 ccu3-webui daemon.err node-red:     at new URL (internal/url.js:335:5)
Jun 25 10:40:31 ccu3-webui daemon.err node-red:     at /usr/local/addons/redmatic/var/node_modules/node-red-contrib-uibuilder/nodes/uibuilder.js:993:21
Jun 25 10:40:31 ccu3-webui daemon.err node-red:     at Layer.handle [as handle_request] (/usr/local/addons/redmatic/lib/node_modules/node-red/node_modules/express/lib/router/layer.js:95:5)
Jun 25 10:40:31 ccu3-webui daemon.err node-red:     at next (/usr/local/addons/redmatic/lib/node_modules/node-red/node_modules/express/lib/router/route.js:137:13)
Jun 25 10:40:31 ccu3-webui daemon.err node-red:     at Route.dispatch (/usr/local/addons/redmatic/lib/node_modules/node-red/node_modules/express/lib/router/route.js:112:3)
Jun 25 10:40:31 ccu3-webui daemon.err node-red:     at Layer.handle [as handle_request] (/usr/local/addons/redmatic/lib/node_modules/node-red/node_modules/express/lib/router/layer.js:95:5)
Jun 25 10:40:31 ccu3-webui daemon.err node-red:     at /usr/local/addons/redmatic/lib/node_modules/node-red/node_modules/express/lib/router/index.js:281:22
Jun 25 10:40:31 ccu3-webui daemon.err node-red:     at Function.process_params (/usr/local/addons/redmatic/lib/node_modules/node-red/node_modules/express/lib/router/index.js:335:12)
Jun 25 10:40:31 ccu3-webui daemon.err node-red:     at next (/usr/local/addons/redmatic/lib/node_modules/node-red/node_modules/express/lib/router/index.js:275:10)

Siehe: TotallyInformation/node-red-contrib-uibuilder#143

hi,
i get TypeError [ERR_INVALID_URL]: Invalid URL: undefined when trying to access uibuilder- or instance details. see attached debug logfile, any idea how to fix?

redmatic.2021-06-25T09_01_29.058Z.log

@Sineos
Copy link

Sineos commented Jun 28, 2021

Ich hab keinerlei Erfahrung mit dem uibuilder. Durch die Integration von NR in die CCU Umgebung stehen dir aber nicht beliebige URLs zur Verfügung.
Schau mal, ob dir das weiter hilft: https://github.com/Sineos/node-red-contrib-weatherman/blob/master/README_DE.md#httpstatic-verzeichnis-und-skript-dateien

@simonbuehler
Copy link
Author

Danke, schaue ich mir an, ging ja aber bis zum Update von NR und uibuilder, leider beide gleichzeitig drum kann ich gerade nichts ausschließen

@Sineos
Copy link

Sineos commented Jun 28, 2021

Hmm, wenn es vorher ging, dann ist das Problem vermutlich an anderer Stelle.

@simonbuehler
Copy link
Author

ich denke es ist ein nodejs bug wie in nodejs/node#25879

@hobbyquaker gibt es die Möglichkeit die nodejs dep bochzuziehen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants