toniebox-reverse-engineering / teddycloud

teddyCloud is an open source server replacement for the Boxine Cloud
https://toniebox-reverse-engineering.github.io/docs/tools/teddycloud/
GNU General Public License v2.0
409 stars 31 forks source link

View Toniebox not loading #214

Open rgoggy opened 1 week ago

rgoggy commented 1 week ago

When trying to load the view Tonieboxen I get an error in the Chrome Log "index-hMb_Kd2P.js:610 Error fetching and transforming data: TypeError: (intermediate value) is not iterable at n (index-hMb_Kd2P.js:610:9957)" In the browser it just shows Loading.

The view Tonies is working and shows all Tonies

SciLor commented 1 week ago

Which version are you using? What is your hardware and OS? Did it work before? Did you try to redeploy?

henryk86 commented 1 week ago

Can you post your config.overlay.json? (You can change the Mac to XX but replace all Chars with X

maybe some content is mailformed?

rgoggy commented 1 week ago

Is a Fresh install with docker 0.6 Image on a x86 with seperate alpine Image on proxmox

overlay.xxx.commonName=xxx overlay.xxx.boxName=teddyCloud Box Xxx overlay.xxx.boxModel= overlay.xxx.core.client_cert.file.crt=certs/ client/client.der overlay.xxx.core.client_cert.file.key=certs/ client/private.der overlay.xxx.toniebox.api_access=true

henryk86 commented 1 week ago

Can you enter something behind model? Maybe the empty value is the problem?

rgoggy commented 1 week ago

I Ader cc3200 without ““ but no Change After Reboot

henryk86 commented 1 week ago

try this value: 03-0013

but i just had a look into the code... even with cc3200 the default grey version should be shown (50% transparency or so)

rgoggy commented 1 week ago

It is now like this, but no change and same error in developer console in Chrome overlay.xxx.commonName=xxx overlay.xxx.boxName=teddyCloud Box xxxc overlay. xxx.boxModel=03-0013 overlay.xxx.core.client_cert.file.crt=certs/client/client.der overlay.xxx.core.client_cert.file.key=certs/client/private.der overlay.xxx.toniebox.api_access=true

henryk86 commented 1 week ago

can you check in the browsers dev mode in tab network what are the responses for:

/api/tonieboxesJson

and

/api/tonieboxesCustomJson

and post it here?

rgoggy commented 1 week ago

what responses do you mean? actually it is just downloading it. In Network it says Status 200 with each 161B and 33/46 ms

rgoggy commented 1 week ago

/api/getBoxes brings back: {"boxes":[{"ID":"xxx","commonName":"xxx","boxName":"teddyCloud Box xxx","boxModel":"03-0013"}]}