Repository navigation
fix: Tronity SoC - #3944
Merged
Merged
fix: Tronity SoC#3944
Conversation
create_session() nutzte eine rohe requests.Session ohne Timeout, statt wie jedes andere Fahrzeugmodul (renault, tesla, myskoda, ovms, ...) req.get_http_session() zu verwenden (5s Default-Timeout). Erklaert vermutlich openWB#3938: das Log zeigt fuer betroffene Fahrzeuge "Starting new HTTPS connection" ohne jede Folgezeile - der Request haengt am Socket fest statt nach 5s mit einem Fehler abzubrechen, wodurch der SoC-Abruf fuer dieses Fahrzeug dauerhaft blockiert. Regressionstest prueft, dass create_session() die timeout-behaftete CustomSession liefert, ohne echte Tronity-Zugangsdaten oder einen MQTT-Broker zu benoetigen.
LKuemmel
approved these changes
Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
create_session()im Tronity-Modul nutzt eine roherequests.Sessionohne Timeout, statt wie alle anderen Fahrzeugmodulereq.get_http_session()(5s Timeout). Ein haengender Request kann den SoC-Abruf dauerhaft blockieren - passt zum Log in #3938 ("Starting new HTTPS connection" ohne jede Folgezeile).