EcoG-io/iso15118

Some EVCC errors cause program to hang forever

clerouxgit opened this issue · 0 comments

In EVCC/comm_session_handler, while loop in function get_from_rcv_queue cause program to hang on most error cases.

This prevent the program to stop and to be restarted by unpluging/repluging the cable.

It would be nice to add breaks after an exception is raised. Additionnaly, functions called in the while loop should raise an exception instead of just doing a return in case of blocking errors.

This EVCC hang issue can be reproduced by (non exaustive) :

  • interrupting SECC side during communication
  • setting incompatible TLS requirement : Enforce TLS on SECC, disable TLS on EVCC