ioBroker / ioBroker.javascript

Script engine for JavaScript and Blockly
MIT License
325 stars 120 forks source link

Suchfunktion blockiert den Browser. #666

Closed ITCrowdIOB closed 3 years ago

ITCrowdIOB commented 4 years ago

Die Suchfunktion in Blockly blockiert den JavaScript Tab im Browser (xxx:8081/#tab-javascript). Getestet mit Firefox und Edge. Ein Reload des Tabs behebt die Blockade, eine Suche ist aber weiterhin nicht möglich.

GermanBluefox commented 4 years ago

Mit große Wahrscheinlichkeit gibt es da ein Fehlermeldung in der Browserkonsole (F12). Was ist die?

ITCrowdIOB commented 4 years ago

Bitteschön.

Von: Bluefox notifications@github.com Gesendet: Montag, 12. Oktober 2020 18:07 An: ioBroker/ioBroker.javascript ioBroker.javascript@noreply.github.com Cc: ITCrowdIOB reg2@team-eul.de; Author author@noreply.github.com Betreff: Re: [ioBroker/ioBroker.javascript] Suchfunktion blockiert den Browser. (#666)

Mit große Wahrscheinlichkeit gibt es da ein Fehlermeldung in der Browserkonsole (F12). Was ist die?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ioBroker/ioBroker.javascript/issues/666#issuecomment-707210339 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APJKVM2VBD3S2R3LSY65KJDSKMSTHANCNFSM4SMBM4LQ . https://github.com/notifications/beacon/APJKVM7J6GG6ZITL6IX5AHDSKMSTHA5CNFSM4SMBM4L2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFITSYYY.gif

Layout-Darstellung wurde erzwungen, bevor die Seite vollständig geladen war. Falls Stylesheet noch nicht geladen sind, kann dies zu einem kurzzeitigen Darstellung des Inhalts ohne Formatierung führen. jquery-3.2.1.min.js:4 window.controllers/Controllers sollte nicht mehr verwendet werden. Verwenden Sie es nicht für die Browser-Erkennung. ace.js:1 Passwort-Felder sind auf einer unsicheren (http://) Seite vorhanden. Dies ist ein Sicherheitsrisiko, durch das Zugangsdaten gestohlen werden können. 192.168.135.21:8081 Einige Cookies verwenden das empfohlene "SameSite"-Attribut inkorrekt. 8 Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. socket.io Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. socket.io Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. socket.io Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. 2 socket.io Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. socket.io Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. socket.io Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. 2 socket.io Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. socket.io Cannot compare "" and "0.0.12" admin.js:153 iobroker.javascript@4.9.0 using theme "blue" index.js:17:8

██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ ██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗ ██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝ ██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗ ██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ instrument.ts:129:35 Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters instrument.ts:129:35 Help us to create open source project with reactJS! instrument.ts:129:35 See you :) instrument.ts:129:35 Einige Cookies verwenden das empfohlene "SameSite"-Attribut inkorrekt. 3 Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. socket.io Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. socket.io Das Cookie "io" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. 2 socket.io Detected custom blockly: iot instrument.ts:129:35 Detected custom blockly: email instrument.ts:129:35 Detected an editable field that was not serializable. Please define SERIALIZABLE property as true on all editable custom fields. Proceeding with serialization. 84 instrument.ts:129:35 Script terminated by timeout at: value@http://192.168.135.21:8081/adapter/javascript/static/js/main.96d02009.chunk.js:2:168284 value@http://192.168.135.21:8081/adapter/javascript/static/js/main.96d02009.chunk.js:2:144761 onChange/e.filterTimer<@http://192.168.135.21:8081/adapter/javascript/static/js/main.96d02009.chunk.js:2:157986 r@http://192.168.135.21:8081/adapter/javascript/static/js/2.dad9a102.chunk.js:2:839777 SideMenu.js:490:32

FabianHM commented 3 years ago

Ich kann das Problem auch noch in der Verion 4.9.4 bestätigen. Browser: Firefox version 82.0 sowie Google Chrome Version 86.0.4240.111 (Offizieller Build) (64-Bit)

Versions: Adapter version: <4.9.4> JS-Controller version: <3.1.6> Node version: <12.19.0> Operating system: linux

ITCrowdIOB commented 3 years ago

Bestätigt 4.9.4 hat den Fehler noch.

Script terminated by timeout at: filterListStatic@http://192.168.135.21:8081/adapter/javascript/static/js/main.30ec9d0b.chunk.js:2:143646 filterList@http://192.168.135.21:8081/adapter/javascript/static/js/main.30ec9d0b.chunk.js:2:143960 onChange/this.filterTimer<@http://192.168.135.21:8081/adapter/javascript/static/js/main.30ec9d0b.chunk.js:2:157249 r@http://192.168.135.21:8081/adapter/javascript/static/js/2.b74161fd.chunk.js:2:838113 SideMenu.js:490:32

liv-in-sky commented 3 years ago

ich habe das problem auch bei der suche im script-tab- chrome wird völlig blockiert - nicht mal beenden von chrome ist möglich - es gibt dann einen task im taskmanager der als sehr hoch betitelt wird - stoppt man den, kann man wieder arbeiten zusätzlich hat sich auch die reihenfolge der scripts geändert - früher waren die root elemente oben angezeigt - jetzt unten

ich vermute es kam nach dem javascript adapter update (4.9.4). habe aber wieder downgegraded auf 4.9.3 und der fehler bleibt - admin version getestet mit 4.1.8 und 4.1.10

meine fehlerliste

`DevTools failed to load SourceMap: Could not load content for chrome-extension://fmdakbpfjabdopnpmppicnmahagijiml/chip-bundled.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME :8081/#tab-javascript:1 Autofocus processing was blocked because a document's URL has a fragment '#tab-javascript'. DevTools failed to load SourceMap: Could not load content for chrome-extension://dafgdjggglmmknipkhngniifhplpcldb/browser-polyfill.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME MobileWidget.js:12 Autofill widget is starting; isChildFrame=false, url=http://192.168.178.59:8081/#tab-javascript DevTools failed to load SourceMap: Could not load content for chrome-extension://fmdakbpfjabdopnpmppicnmahagijiml/content-script-bundled.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME DevTools failed to load SourceMap: Could not load content for chrome-extension://fmdakbpfjabdopnpmppicnmahagijiml/chip-bundled.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME DevTools failed to load SourceMap: Could not load content for http://192.168.178.59:8081/lib/js/socket.io.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE index.js:17 iobroker.javascript@4.9.3 using theme "colored" instrument.ts:129 ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ ██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗ ██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝ ██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗ ██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝

instrument.ts:129 Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters instrument.ts:129 Help us to create open source project with reactJS! instrument.ts:129 See you :) DevTools failed to load SourceMap: Could not load content for http://192.168.178.59:8081/adapter/min-maps/vs/loader.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed to load SourceMap: Could not load content for chrome-extension://dafgdjggglmmknipkhngniifhplpcldb/browser-polyfill.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME DevTools failed to load SourceMap: Could not load content for chrome-extension://fmdakbpfjabdopnpmppicnmahagijiml/content-script-bundled.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME DevTools failed to load SourceMap: Could not load content for http://192.168.178.59:8081/adapter/min-maps/vs/editor/editor.main.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE MobileWidget.js:12 Autofill widget is disabled; isChildFrame=true, url=http://192.168.178.59:8081/adapter/javascript/tab.html DevTools failed to load SourceMap: Could not load content for http://192.168.178.59:8081/adapter/min-maps/vs/editor/editor.main.nls.de.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE instrument.ts:129 Detected custom blockly: cloud instrument.ts:129 Detected custom blockly: email instrument.ts:129 Detected custom blockly: telegram instrument.ts:129 Detected custom blockly: iot instrument.ts:129 Detected custom blockly: iqontrol instrument.ts:129 Detected custom blockly: sayit instrument.ts:129 Detected custom blockly: pushover instrument.ts:129 Detected custom blockly: whatsapp-cmb`

liv-in-sky commented 3 years ago

hi @ITCrowdIOB @FabianHM

konntet ihr den alten zustand wieder herstellen - also funktionierende suche - habe versucht alles mögliche downzugraden - kein erfolg - kann nicht mehr suchen - bei 500 scripten etwas mühselig

ITCrowdIOB commented 3 years ago

In 4.9.7 ist der Fehler behoben. Danke dafür.

liv-in-sky commented 3 years ago

@ITCrowdIOB welche admin version hast du installiert - die neuste ? 4.1.10

ITCrowdIOB commented 3 years ago

Ja. 4.1.10

Von: liv-in-sky notifications@github.com Gesendet: Mittwoch, 28. Oktober 2020 17:33 An: ioBroker/ioBroker.javascript ioBroker.javascript@noreply.github.com Cc: ITCrowdIOB reg2@team-eul.de; Mention mention@noreply.github.com Betreff: Re: [ioBroker/ioBroker.javascript] Suchfunktion blockiert den Browser. (#666)

@ITCrowdIOB https://github.com/ITCrowdIOB welche admin version hast du installiert - die neuste ? 4.1.10

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ioBroker/ioBroker.javascript/issues/666#issuecomment-718055070 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APJKVM3WXKRJA3PYELTBV6LSNBBU7ANCNFSM4SMBM4LQ . https://github.com/notifications/beacon/APJKVM2VKGA6OW5KXWH2RTDSNBBU7A5CNFSM4SMBM4L2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFLGKNHQ.gif

liv-in-sky commented 3 years ago

mit admin 4.1.6 und javascript 4.9.7 funktioniert es auch bei mir wieder - wenn ich zeit habe versuche ich den admin 4.1.10 nochmal , aber den hatte ich auch schon drauf mit der neusten javascript version - da ging es nicht