-
-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fiat: ignore HTTP 403 during deep refresh #13428
Conversation
For the http 500 I'd need credentials sent to [email protected]. My local Fiat is working. |
Looks like I can reproduce it. Error happens after the PIN auth:
Unfortunately its unclear why this happens. I can only suggest to deactivate PIN auth in this case. Sorry. |
Weird. Because PIN auth worked before in 0.125.0 and previous versions without producing this error. At least as long as the car was charging. |
@SolarPowerEV could you try- when charging and with pin- 125 and 126? There should be no difference. |
I agree, there shouldn't be any difference with a PIN provided between 0.125.0 and 0.126.0. But that is also not the problem. The current issue is the different behavior if no PIN is set in the evcc.yaml. It just went from producing a 403 to a 500 error instead of providing an error free output for those who haven't entered a PIN. |
See #13428 (comment). Did you try 125 vs 126? |
No, because on my production system (Synology) I am still running 0.124.10. Because that works reliably. I also get the impression that there might be a misunderstanding at the core of all of this: So what should be fixed is the way evcc deals with the output from the FIAT-servers when no charging is going on. The charging part was always fine and needed no behavior change. |
Maybe this matrix makes it a bit clearer: 0.124.10: So what should be addressed is only the case 2A. So that one can have the PIN in the evcc.yaml without getting any error messages when the car is not connected and charging. But it seems to me though as if you have worked on changing the behavior of 2B. Which doesn't solve the 403-issue I experience as a simple user of evcc. |
Addendum: 0.126.0: 0.126.1: 0.126.2: Before the handling of the "not-charging" status isn't fixed, installing the new version on my Synology doesn't make any sense for me, because I only risk messing up a working system and reverting back to a previous version is unfortunately a nasty endeavor in the Synology docker environment due to the way the Synology UI works. |
Template was not created because of faulte PR- now reverted twice. |
Kann ich leider nicht nachvollziehen. Sowohl 0.124.10 als auch 0.126.2 liefern bei meinem Testfahrzeug mit PIN den gleichen HTTP 500. Mangels Logfile und Zugangsdaten zu dem oben beschriebenen Verhalten gibts leider nichts zu tun :( |
Ich gebe mich geschlagen: Ich habe keine Ahnung, wieso mein Pull-Request faulty sein soll. Die 8 automatischen Checks hat er bestanden. Anscheinend hat auch niemand Interesse daran, mir zu erklären, wo das Problem konkret liegt, das zum "revert" führt. Selbsterklärend ist das Doku-System definitiv nicht, wenn man selbst als Mensch mit abgeschlossenem Studium und Jahrzehnten in der IT an so vielen Details scheitert. Daher bin ich raus und werde auch nicht wieder versuchen, zur Verbesserung der Doku beizutragen, da Aufwand und Nutzen in keinem vernünftigen Verhältnis stehen, weil selbst so eine kleine und simple Textänderung einen derartigen Rattenschwanz nach sich zieht. Schade, denn ich hätte gerne geholfen, die Doku zu ergänzen. Aber so funktioniert es definitiv nicht. |
Zu dem Fiat-Template selbst: Ist aber auch egal, am Ende ist eine Fehlermeldung eine Fehlermeldung und aus Nutzersicht unschön und die angezeigte Zahl nicht wirklich kriegsentscheidend. Ich verzichte daher weiterhin auf die PIN in meiner evcc.yaml, um Fehlermeldungen zu vermeiden. Und triggere den Refresh des SoC über das Aufrufen der FIAT-App gegen Ende des Ladevorgangs, was dazu führt, dass ein oder zwei Intervalle später dann auch evcc diesen genaueren SoC von den FIAT-Servern übermittelt bekommt. Da aber anscheinend nicht der Code von evcc nach der 0.124.10 für die neue 500-Fehlermeldung verantwortlich ist, traue ich mich jetzt vermutlich doch daran, auf die 0.126.2 zu updaten. Ich kann dann gerne nochmal Tests mit und ohne PIN durchführen und ein Logfile übermitteln, sobald wieder genug Sonne scheint. |
Refs #13223 (comment)