ioBroker / ioBroker.sonoff

Control Sonoff-Tasmota devices via ioBroker
MIT License
37 stars 30 forks source link

TypeError: window.CryptoJS is undefined #321

Closed stephanritscher closed 9 months ago

stephanritscher commented 9 months ago

Describe the bug
After upgrading to v3.0.3, I tried to update MQTT user/password as I read here that config changes require this. This failed with an error popup.

To Reproduce
Steps to reproduce the behavior:

  1. Go to instances and press settings icon of sonoff.0
  2. Enter a new MQTT password (and possibly change other settings)
  3. Press save & close (same behaviour with "save", but more steps to verify)
  4. A popup with the error [JsonConfig] Cannot set object: TypeError: window.CryptoJS is undefined appears.
  5. Re-open adapter settings and see that the changed settings have not been stored.

Expected behavior
The entered settings should have been stored. Especially, MQTT user/password should have been stored such that devices should be able to connect again which failed after sonoff adapter upgrade (supposedly) due to config changes.

Versions:

Additional context
I use redis for objects and states:

$ iob status
iobroker is running on this host.

At least one iobroker host is running.

Objects type: redis
States  type: redis
Apollon77 commented 9 months ago

Which browser do you use?

stephanritscher commented 9 months ago

Firefox on Linux Fedora

Apollon77 commented 9 months ago

irgendwelche Fehlw rin der Browser Konsole wie geblockte skripte oder sowas?

stephanritscher commented 9 months ago

Ich habe gerade festgestellt, dass das Problem von meinem Reverse-Proxy-Setup verursacht wird. Bei direkter Verbindung hat alles geklappt. Vielen Dank für den Tipp