Comments (6)
Thenn it seems to me that this binding is invalid because it requests the "http URL" as object id in the background whoch is anninvalid id. Yes it was working long time because js.controller did not hardly check such completely invalid Object IDs.
Please adjust the binding.
and/or make sure (I assume you use js.contrtoller 5? to also update all adapters to latest beta, because this crash should be fixed already
from iobroker.web.
So, eben alles auf den aktuellsten Stand gebracht:
Node: 18.17.0
Npm: 9.6.7
Admin: 6.7.0
js-controller: 5.0.11
Web Adapter: 6.1.0
Die Frage ist, wo im Binding liegt der Fehler? Sind das die Sonderzeichen "_ -"? Das könnte schwierig werden, weil ein Teil der URL wird von Grafana selbstständig generiert ohne das ich da einen Einfluss drauf habe ( z.B. /y-NtFCqVz/.... ).
`
host.GLT | 2023-08-03 12:40:53.379 | error | instance system.adapter.web.0 terminated with code 6 (UNCAUGHT_EXCEPTION) | |
---|---|---|---|---|
host.GLT | 2023-08-03 12:40:53.378 | error | Caught by controller[0]: at parseType (C:\ioBroker\GLT\node_modules\redis-parser\lib\parser.js:302:14) | |
host.GLT | 2023-08-03 12:40:53.378 | error | Caught by controller[0]: at parseError (C:\ioBroker\GLT\node_modules\redis-parser\lib\parser.js:179:12) | |
host.GLT | 2023-08-03 12:40:53.378 | error | Caught by controller[0]: ?orgId=1&refresh=10s&from=now-24h&to=now&kiosk" is not a valid ID pattern | |
host.GLT | 2023-08-03 12:40:53.378 | error | Caught by controller[0]: ReplyError: Error The pattern "http://10.122.60.87:3000/d/_YPf3jtHz/frequenz-vergleich | |
host.GLT | 2023-08-03 12:40:53.378 | error | Caught by controller[0]: 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(). The promise rejected with the reason: | |
web.0 | 9152 | 2023-08-03 12:40:52.359 | error | Error The pattern "http://10.122.60.87:3000/d/_YPf3jtHz/frequenz-vergleich ?orgId=1&refresh=10s&from=now-24h&to=now&kiosk" is not a valid ID pattern |
web.0 | 9152 | 2023-08-03 12:40:52.359 | error | ReplyError: Error The pattern "http://10.122.60.87:3000/d/_YPf3jtHz/frequenz-vergleich ?orgId=1&refresh=10s&from=now-24h&to=now&kiosk" is not a valid ID pattern at parseError (C:\ioBroker\GLT\node_modules\redis-parser\lib\parser.js:179:12) at parseType (C:\ioBroker\GLT\node_modules\redis-parser\lib\parser.js:302:14) |
web.0 | 9152 | 2023-08-03 12:40:52.353 | error | unhandled promise rejection: Error The pattern "http://10.122.60.87:3000/d/_YPf3jtHz/frequenz-vergleich ?orgId=1&refresh=10s&from=now-24h&to=now&kiosk" is not a valid ID pattern |
web.0 | 9152 | 2023-08-03 12:40:52.353 | error | 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(). |
web.0 | 9152 | 2023-08-03 12:38:33.438 | error | Invalid pattern on subscribe: The pattern "http://10.122.60.87:3000/d/86YdIsuVz/shelly-sumpfpumpe?orgId=1&refresh=10s&from=now-24h&to=now&kiosk" is not a valid ID pattern |
from iobroker.web.
Wie lautet denn die objektID die da in dem Feld steht? Und man mus genau schauen eas das Widget tut... am ENd elandet wihl irgendwie die URL als Objekt ID und wird abgefragt
from iobroker.web.
Was meinst du mit Objekt ID? Da kann ich jetzt nichts mit anfangen.
Das hier?
{ "common": { "name": "Grafana View URL", "role": "info.url", "type": "string", "read": true, "write": true, "def": "" }, "native": {}, "type": "state", "from": "system.adapter.javascript.0", "user": "system.user.admin", "ts": 1609532111027, "_id": "0_userdata.0.grafanaSolar.grafanaViewURL", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }
Und das ist das Blockly was aus den unterschiedlichen Pull Down Listeneinträgen eine URL zusammenbaut.
from iobroker.web.
Ok, dann wird scheinbar der WERT von dem "grafanaViewURL" state nochmal angefragt ... frage ist jetzt warum. Da muss jemand rander die bundungs besser versteht ... vllt @foxriver76 eine Idee?
from iobroker.web.
Siehe auch meinen Comment hier: Scheint das selbe Problem zu sein, oder?
from iobroker.web.
Related Issues (20)
- Update stable version in repo from 4.3.0 to 5.4.1 HOT 3
- Depricate Let's Encrypt/certificate configuration HOT 1
- Included SimpleAPI - Can not authenticate directly in URL
- JS Controller 5.x "Let's encrypt" warning at start
- unvalid binding in vis crashes web adapter with jjs-controller 5.0.4 HOT 8
- Update stable version in repo from 4.3.0 to 5.5.3 HOT 1
- Allow to disable LE to use the LE port in Acme HOT 2
- Nutzerberechtigungen: Zugriff auf Web HOT 4
- Interaction of web v6.1.0 with Fully Kiosk Browser (FKB)
- Update stable version in repo from 4.3.0 to 6.1.0 HOT 1
- Please fix issues reported by adapter checker
- JS-Controller 5.0.12: Binary States are deprecated and will be removed in js-controller 5.1 HOT 4
- Invalid pattern on subscribe: The pattern "..." is not a valid ID pattern HOT 5
- Aktualisierungen der Werte in der Visualisierung träge, ab Version 6.1.2 HOT 26
- SSL not working after last update HOT 8
- V6.1.5 - no refresh with Minuvis HOT 9
- Update stable version in repo from 6.1.2 to 6.1.10 HOT 2
- Update stable version in repo from 6.1.10 to 6.2.3 HOT 2
- Update stable version in repo from 6.2.3 to 6.2.5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.web.