Closed Mestro82 closed 3 months ago
Hm, ich kann das nicht reproduzieren. Sonderzeichen sind unproblematisch. Ich hab das gerade noch mal mit @
, anderen Sondernzeichen und Emoji 😄 ausprobiert, sollte keinen Unterschied machen.
auch Set oder Reset funktioniert nicht.
Kannst du mal genauer beschreiben, was bei dir passiert, welche Schritte du gehst und welches Verhalten du beobachtest?
Zur Sicherheit: Du verwendest evcc direkt. Nicht in einem iframe oder durch irgend eine Art Reverse Proxy?
Reset (mehrmals) -> es kommt keine Abfrage bei GUI Start
Die Abfrage kommt erst, wenn du in die Einstellungen (Menü > Konfiguration) gehst. Die Haupt-UI ist aktuell immer ohne Authentifizierung aufrufbar.
Wenn ich die Konfiguration aufrufe kommt nur das Fenster „Passwort“ aber nicht „neues Passwort“ vergeben… ich verwende EVCC direkt (bin auch direkt auf dem Raspi)… hatte dann im Verdacht dass wenn ich noch an der yaml datei bin, diese geschlossen… aber weder Set noch Reset funktionieren… gibt es einem Log der das vll aufnimmt?
EVCC vorher gestoppt… EVCC vorher gestartet… beides mal beides probieren…
Wenn ihr geht ihr bei Reset vor?
Was helfen würde ist, wenn du mal einen Screenshot des Network tabs deiner Browser devtools machen könntest.
Zu 'evcc passwort set|reset': dafür sollte der evcc process immer vorher angehalten werden damit noch parallel in die gleiche db geschrieben wird.
Was helfen würde ist, wenn du mal einen Screenshot des Network tabs deiner Browser devtools machen könntest.
Da bräuchte ich etwas Unterstützung was ich huer genau machen muss
Spannend ist für diesen Fall dieser Request:
An die Chrome Dev-Tools kommst du so: https://developer.chrome.com/docs/devtools/open?hl=de
Danke für die Screenshots. Kannst du einmal erklären, was du genau gemacht hast und was passiert ist? Hauptseite aufgerufen. Bei Navigation auf Konfiguration einen Passwort-Dialog bekommen. Richtiges Passwort eingegeben und eine Ablehnung (ungültiges passwort) in der UI bekommen?
Ja genau.. dann unsicher gewesen wg dem PW.. dann "reset" versucht.. verwundert dass keien Abfrage bzgl neuem Passwort kommt.. dann "set" mit neuem Passwort... weiterhin die Fehlermeldung.. kann ich EVCC komplett zurücksetzen?
@Mestro82 Du kannst du Datenbank-Datei löschen (o. umbenennen). Beim nächsten Start legt evcc eine neue Datebank an. Der Ort siehst du beim Hochfahren im Log. Da sind allerdings auch deine Ladevorgänge drin.
Ich habe das gleiche Problem auch ohne Sonderzeichen. Das eingegebene Passwort wird nicht erkannt, password reset und password set hat beides keine Auswirkung. den evcc Dienst hatte ich vorher gestoppt. Gleiches Symptom: Es kommt zwar die Passwortabfrage aber es wird kein Passwort akzeptiert.
Die DevTools sehen bei mir ähnlich unspektakulär aus:
tobias@pi5htr:~ $ sudo systemctl stop evcc tobias@pi5htr:~ $ evcc password set [main ] INFO 2024/06/13 21:57:33 evcc 0.126.6 [main ] INFO 2024/06/13 21:57:33 using config file: /etc/evcc.yaml [db ] INFO 2024/06/13 21:57:33 using sqlite database: /home/tobias/.evcc/evcc.db [mqtt ] INFO 2024/06/13 21:57:33 connecting evcc-1649255431 at tcp://localhost:1883 [eebus ] INFO 2024/06/13 21:57:33 Local SKI: 1d6492b269e9503fb3d979a2d0887cdd5bbe70db ? Password [? for help] *** tobias@pi5htr:~ $ sudo systemctl start evcc tobias@pi5htr:~ $ sudo evcc password reset [main ] INFO 2024/06/13 21:58:54 evcc 0.126.6 [main ] INFO 2024/06/13 21:58:54 using config file: /etc/evcc.yaml [db ] INFO 2024/06/13 21:58:54 using sqlite database: /root/.evcc/evcc.db [mqtt ] INFO 2024/06/13 21:58:54 connecting evcc-1890168441 at tcp://localhost:1883 [eebus ] INFO 2024/06/13 21:58:54 Local SKI: xxxxx ? Are you sure? Yes tobias@pi5htr:~ $ sudo systemctl start evcc
Ich habe festgestellt, wenn die YAML einen Fehler produziert, wird wieder ein neues Passwort abgefragt.
Ich hatte nun final meinen Raspi neu aufgesetzt und jetzt funktioniert auch mein Passwort mit @ problemlos
@Mestro82 Ok, cool, dass sich das Problem gelöst hat. So richtig verstehe ich das aber noch nicht. Was für einen Fehler hattest du in der Yaml der zu diesem Verhalten geführt hat.
@Mestro82 ich konnte es jetzt reproduzieren. Danke für die Hinweise.
Describe the bug
Hallo zusammen, ich habe eine Passwort mit dem Zeichen @ verwendet. Allerdings kann ich mich damit nicht einloggen und auch Set oder Reset funktioniert nicht. Auch im Log kann ich den Vorgang Reset nicht sehen. Führt das "Sonderzeichen" zu Problemen?
Steps to reproduce
Configuration details
Log details
What type of operating system are you running?
Linux
Version
0.126.6