-
Notifications
You must be signed in to change notification settings - Fork 57
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
Avoid double send of csms_ack_0 transactions #907
Comments
To reproduce:
TODO: also consider how OCMF is handled |
@Matthias-NIDEC I couldnt reproduce it this way? Can you confirm the steps to reproduce or did I miss something? |
@Matthias-NIDEC do you have an update for this issue? |
@Pietfried One thread t1 executes: this->try_resume_transactions(resuming_session_ids); |
OCPP Version
OCPP1.6
Describe the bug
In the case a charging process is ongoing, the connection to the backend is disconnected and, later, he charging process is stopped.
It is stored inside the transaction database with csms_ack=0 and the stoptransaction.req is stored inside the transaction_queue.
On boot up, the transaction_queue is emptied and the transactions with csms_ack=0 are resend. If the message_queue is alredy emptied before the check of the open transactions, then the stopTransaction.req is sent again.
In order to avoid that a helper vector with transactionIds in flight is added.
See #906
To Reproduce
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: