Skip to content
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

Fix bug where security event notification was sent while bootnotification was still pending. #984

Conversation

maaikez
Copy link
Contributor

@maaikez maaikez commented Feb 12, 2025

Describe your changes

Bug was caused by security event messages stored in the database. Setting a flag when retrieving it from the database to wait sending the message until the bootnotification is accepted, fixes it.

Issue ticket number and link

#983

Checklist before requesting a review

  • I have performed a self-review of my code
  • [n/a] I have made corresponding changes to the documentation
  • [n/a] If OCPP 2.0.1: I have updated the OCPP 2.0.1 status document
  • I read the contribution documentation and made sure that my changes meet its requirements

…ting a flag when retrieving it from the database to wait sending the message until the bootnotification is accepted, fixes it.

Signed-off-by: Maaike Zijderveld, iolar <[email protected]>
@maaikez maaikez merged commit fc107f3 into main Feb 12, 2025
8 checks passed
@maaikez maaikez deleted the bug/securityeventnotificationreq-are-sent-before-csms-accepted-bootnotification branch February 12, 2025 09:26
hikinggrass pushed a commit that referenced this pull request Feb 17, 2025
…ation was still pending. #984

Bug was caused by security event messages stored in the database. Setting a flag when  retrieving it from the database to wait sending the message until the bootnotification is accepted, fixes it. 

Signed-off-by: Maaike Zijderveld, iolar <[email protected]>
maaikez added a commit that referenced this pull request Feb 17, 2025
…ation was still pending. #984

Bug was caused by security event messages stored in the database. Setting a flag when  retrieving it from the database to wait sending the message until the bootnotification is accepted, fixes it.

Signed-off-by: Maaike Zijderveld, iolar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SecurityEventNotification.req are sent before CSMS Accepted BootNotification
2 participants