ioBroker / ioBroker.ham

Supports homebridge plugins in ioBroker
MIT License
32 stars 15 forks source link

Blank Page #460

Open tommyMX opened 1 year ago

tommyMX commented 1 year ago

HI,

im Safari bleibt leider die Wrapper Homebridge Seite leer.

In Chroome geht es :-)

Bildschirm­foto 2022-12-24 um 09 11 05
Apollon77 commented 1 year ago

Steht etwas im Safari in der Browder Fehlerkonsole?

tommyMX commented 1 year ago

Konsole.txt

Hilft dir das?

Apollon77 commented 1 year ago

hmm ... no error ... naja einer der FE Leute schaut irgendwann mal ... :-) Nichts wo ich was tun kann

sansonifabio commented 1 year ago

Hallo @Apollon77 habe jetzt auch das selbe Problem in Windows 11 Pro unter Chrome mit Version 109.0.5414.75 (Offizieller Build) (64-Bit) das ging sonst einwandfrei. Unter Edge geht es auch nicht.

ham

Im Log habe ich nur das hier:

admin.0 | 2023-01-17 12:40:24.632 | info | <== Disconnect system.user.admin from ::ffff:192.168.2.160 ham admin.0 | 2023-01-17 12:40:24.632 | info | <== Disconnect system.user.admin from ::ffff:192.168.2.160 ham

Grüße Fabio PS. Das Problem bleibt auch bei Firefox und Chrome unter Windows 10.

EyesOnly1 commented 1 year ago

HI, Habe das Problem ebenfalls. Getestet unter Win 10 mit IE, Chrome und Edge. Die Daten der Adapter die zuvor hinzugefügt wurden, werden abgerufen und auch geschrieben.

Schimi1983 commented 1 year ago

Hier das gleiche: Win11 x64, Edge

image

vielleicht hilft das aus der Konsole (habe die seite zwei mal neu geladen)

`totalCount: 0, loading: false, skip: 0 VM59 main.8080bc0b.js:436 START_LOADING VM59 main.8080bc0b.js:436 reducer START_LOADING Object VM59 main.8080bc0b.js:436 totalCount: 0, loading: false, skip: 0 VM59 main.8080bc0b.js:436 reducer FETCH_INIT undefined VM59 main.8080bc0b.js:436 reducer UPDATE_CACHE Object VM59 main.8080bc0b.js:436 reducer FETCH_INIT undefined VM59 main.8080bc0b.js:436 reducer UPDATE_CACHE Object VM59 main.8080bc0b.js:436 totalCount: 0, loading: true, skip: 0 VM59 main.8080bc0b.js:436 reducer UPDATE_INSTANCES Array(1) VM59 main.8080bc0b.js:436 totalCount: 0, loading: true, skip: 0 VM59 main.8080bc0b.js:436 reducer UPDATE_INSTANCES Array(1) VM59 main.8080bc0b.js:436 totalCount: 0, loading: true, skip: 0 VM59 main.8080bc0b.js:436 reducer UPDATE_INSTANCES Array(1) VM59 main.8080bc0b.js:436 totalCount: 0, loading: true, skip: 0 tab_m.html:1

   Access to fetch at 'https://api.npms.io/v2/search?q=keywords:homebridge-plugin&from=0&size=100' from origin 'http://smarthome:8081' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

api.npms.io/v2/search?q=keywords:homebridge-plugin&from=0&size=100:1

   Failed to load resource: net::ERR_FAILED

VM59 main.8080bc0b.js:436 reducer REQUEST_ERROR undefined VM59 main.8080bc0b.js:436 totalCount: 0, loading: false, skip: 0 tab_m.html:1

   Access to fetch at 'https://api.npms.io/v2/search?q=keywords:homebridge-plugin&from=0&size=100' from origin 'http://smarthome:8081' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

api.npms.io/v2/search?q=keywords:homebridge-plugin&from=0&size=100:1

   Failed to load resource: net::ERR_FAILED

VM59 main.8080bc0b.js:436 reducer REQUEST_ERROR undefined VM59 main.8080bc0b.js:436 totalCount: 0, loading: false, skip: 0 VM59 main.8080bc0b.js:436 totalCount: 0, loading: false, skip: 0 Prompt.js:15 ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ ██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗ ██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝ ██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗ ██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝

Prompt.js:16 Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters Prompt.js:17 Help us to create open source project with reactJS! Prompt.js:18 See you :) socket.io.js:66 [2023-01-18T20:30:21.964Z] Try to connect instrument.ts:123 totalCount: 0, loading: false, skip: 0 instrument.ts:123 START_LOADING instrument.ts:123 reducer START_LOADING {requestedSkip: 0, take: 100} instrument.ts:123 totalCount: 0, loading: false, skip: 0 instrument.ts:123 reducer FETCH_INIT undefined instrument.ts:123 reducer UPDATE_CACHE {query: 'https://api.npms.io/v2/search?q=keywords:homebridge-plugin&from=0&size=100', adapterConfig: {…}} instrument.ts:123 reducer FETCH_INIT undefined instrument.ts:123 reducer UPDATE_CACHE {query: 'https://api.npms.io/v2/search?q=keywords:homebridge-plugin&from=0&size=100', adapterConfig: {…}} instrument.ts:123 totalCount: 0, loading: true, skip: 0 instrument.ts:123 reducer UPDATE_INSTANCES ['system.adapter.ham.0'] instrument.ts:123 totalCount: 0, loading: true, skip: 0 instrument.ts:123 reducer UPDATE_INSTANCES ['system.adapter.ham.0'] instrument.ts:123 totalCount: 0, loading: true, skip: 0 instrument.ts:123 reducer UPDATE_INSTANCES ['system.adapter.ham.0'] instrument.ts:123 totalCount: 0, loading: true, skip: 0 tab_m.html:1

   Access to fetch at 'https://api.npms.io/v2/search?q=keywords:homebridge-plugin&from=0&size=100' from origin 'http://smarthome:8081' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

instrument.ts:151

   GET https://api.npms.io/v2/search?q=keywords:homebridge-plugin&from=0&size=100 net::ERR_FAILED 522

(anonym) @ instrument.ts:151 ce @ plugins-table.jsx:230 (anonym) @ plugins-table.jsx:250 Vf @ react-dom.production.min.js:244 oc @ react-dom.production.min.js:286 tm @ react-dom.production.min.js:273 xs @ react-dom.production.min.js:127 fy @ react-dom.production.min.js:283 xl @ react-dom.production.min.js:281 qp @ react-dom.production.min.js:270 k @ scheduler.production.min.js:13 j @ scheduler.production.min.js:14 instrument.ts:123 reducer REQUEST_ERROR undefined instrument.ts:123 totalCount: 0, loading: false, skip: 0`

image

ahnungsbefreit commented 1 year ago

Same here, Win 10 and Chrome or Firefox image

Apollon77 commented 1 year ago

Ok, I will check, but please note/remember:

1.) If you are also affected please use the "thumbs up" on the first post to show that ... 2.) You can always still use the normal Admin configuration of the adapter. enter the packages there and add the full json for configuration ... yes not that "Nice" as with the tab, but still ends in the same results

ahnungsbefreit commented 1 year ago

ok, just wanted to provide more evidence of the root cause.

Schimi1983 commented 1 year ago

today it works ..... confusing...

sansonifabio commented 1 year ago

bestätige geht bei mir auch wieder.

Apollon77 commented 1 year ago

Ja der Fehler kam vom npm server der den API request "verboten" hat ... und jetzt wieder gestattet ... da muss ich reinschauen :-(

sansonifabio commented 1 year ago

Ja der Fehler kam vom npm server der den API request "verboten" hat ... und jetzt wieder gestattet ... da muss ich reinschauen :-(

Danke für deine Mühen 👍