Closed lategoodbye closed 5 months ago
This is indeed not the expected behavior but I'm a little bit surprised because we have actually handling of this use case (start transaction offline, then charger returns online) in place.
Im a little bit confused by this part of the log:
Feb 26 10:14:46 tarragon manager[1628]: 2024-02-26 10:14:46.472676 [ERRO] ocpp:OCPP ocpp::EnhancedMessage<M> ocpp::MessageQueue<M>::receive(const string&) [with M = ocpp::v16::MessageType; std::string = std::__cxx11::basic_string<char>] :: Received a CALLRESULT OR CALLERROR with mismatching uid: cd52d42c-69f7-4f08-b52d-27dd44516a49 != 2e55de9d-3fea-4782-9b57-2bc027976a31
Feb 26 10:14:46 tarragon manager[1628]: 2024-02-26 10:14:46.473201 [ERRO] ocpp:OCPP std::string ocpp::v16::conversions::messagetype_to_string(ocpp::v16::MessageType) :: No known string conversion for InternalError MessageType
Feb 26 10:14:46 tarragon manager[1628]: 2024-02-26 10:14:46.476727 [ERRO] ocpp:OCPP std::string ocpp::v16::conversions::messagetype_to_string(ocpp::v16::MessageType) :: No known string conversion for InternalError MessageType
Feb 26 10:14:46 tarragon manager[1628]: 2024-02-26 10:14:46.476563 [ERRO] ocpp:OCPP void ocpp::v16::ChargePointImpl::message_callback(const string&) :: Received an unsupported message: InternalError
Feb 26 10:14:46 tarragon manager[1628]: 2024-02-26 10:14:46.881001 [ERRO] ocpp:OCPP ocpp::EnhancedMessage<M> ocpp::MessageQueue<M>::receive(const string&) [with M = ocpp::v16::MessageType; std::string = std::__cxx11::basic_string<char>] :: Received a CALLRESULT OR CALLERROR with mismatching uid: cd52d42c-69f7-4f08-b52d-27dd44516a49 != 941dfb0b-b995-45f5-9833-9dfb3f60dcfb
Feb 26 10:14:46 tarragon manager[1628]: 2024-02-26 10:14:46.881427 [ERRO] ocpp:OCPP std::string ocpp::v16::conversions::messagetype_to_string(ocpp::v16::MessageType) :: No known string conversion for InternalError MessageType
Feb 26 10:14:46 tarragon manager[1628]: 2024-02-26 10:14:46.885118 [ERRO] ocpp:OCPP std::string ocpp::v16::conversions::messagetype_to_string(ocpp::v16::MessageType) :: No known string conversion for InternalError MessageType
Feb 26 10:14:46 tarragon manager[1628]: 2024-02-26 10:14:46.884982 [ERRO] ocpp:OCPP void ocpp::v16::ChargePointImpl::message_callback(const string&) :: Received an unsupported message: InternalError
because it is not represented in the OCPP logs that you shared. Do you have the EVerest OCPP html logs available and are able to share these?
I trimmed the log because i assumed the rest would be irrelevant, here the full OCPP log from Steve:
[INFO ] 2024-02-26 09:10:45,446 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"5c9dcc97-0722-4a3f-9b7b-4da03a402e42","BootNotification",{"chargeBoxSerialNumber":"123","chargePointModel":"Charge Control C","chargePointVendor":"chargebyte","firmwareVersion":"0.5.0"}]
[INFO ] 2024-02-26 09:10:45,448 de.rwth.idsg.steve.service.CentralSystemService16_Service - The boot of the chargebox 'lesbos_left' with registration status 'Optional[ACCEPTED]' is acknowledged.
[INFO ] 2024-02-26 09:10:45,454 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [3,"5c9dcc97-0722-4a3f-9b7b-4da03a402e42",{"status":"Accepted","currentTime":"2024-02-26T09:10:45.448Z","interval":1800}]
[INFO ] 2024-02-26 09:10:45,739 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"a17fc2be-0319-4ae4-91fc-f8525e7d0b8a","StatusNotification",{"connectorId":0,"errorCode":"NoError","status":"Available","timestamp":"2024-02-26T09:10:45.500Z"}]
[INFO ] 2024-02-26 09:10:45,744 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [3,"a17fc2be-0319-4ae4-91fc-f8525e7d0b8a",{}]
[INFO ] 2024-02-26 09:10:45,772 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"67044b36-7b82-4d38-a0c4-7fb308d77549","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-22T11:36:22.799Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:45,772 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"67044b36-7b82-4d38-a0c4-7fb308d77549","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:45,801 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"017c3e5e-1690-4569-bafa-da556d9b27a1","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-22T11:40:50.789Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:45,801 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"017c3e5e-1690-4569-bafa-da556d9b27a1","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:45,816 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"6c4d9636-7c1e-457e-80b0-75585aa6ee29","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-22T12:47:31.100Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:45,816 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"6c4d9636-7c1e-457e-80b0-75585aa6ee29","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:45,829 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"9db53c13-cf75-4211-ba02-233852a7bd8f","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-22T12:51:10.134Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:45,829 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"9db53c13-cf75-4211-ba02-233852a7bd8f","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:45,862 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"062f8b22-0d5b-4672-85f9-c30d26de5853","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-22T12:51:38.720Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:45,862 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"062f8b22-0d5b-4672-85f9-c30d26de5853","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:45,894 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"9e82cdbb-b59a-4eb1-bf64-fe25e2aa0e61","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-22T13:02:29.790Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:45,895 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"9e82cdbb-b59a-4eb1-bf64-fe25e2aa0e61","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:45,921 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"ef9bd9b1-376a-4c34-9268-53ddcb163a89","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-22T14:07:31.364Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:45,921 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"ef9bd9b1-376a-4c34-9268-53ddcb163a89","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:45,955 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"37e59345-268f-4df0-b689-fd5070eb50b4","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-22T16:01:59.122Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:45,956 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"37e59345-268f-4df0-b689-fd5070eb50b4","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:45,990 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"c5973901-9089-4587-b91d-81b0b4caf452","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-22T16:13:15.890Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:45,990 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"c5973901-9089-4587-b91d-81b0b4caf452","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,009 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"2db0b6a3-6a5e-4a2b-8a39-e2fe7b372545","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T07:39:25.844Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,010 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"2db0b6a3-6a5e-4a2b-8a39-e2fe7b372545","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,025 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"78e29396-0396-4871-9f21-a75fe2084f9d","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T07:46:58.430Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,025 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"78e29396-0396-4871-9f21-a75fe2084f9d","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,081 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"83456e97-ecb7-4bf2-a339-6c2b16100735","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T07:57:02.869Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,082 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"83456e97-ecb7-4bf2-a339-6c2b16100735","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,104 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"a917a7c1-3e80-4906-9429-f7bcd4f57203","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T07:58:01.260Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,104 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"a917a7c1-3e80-4906-9429-f7bcd4f57203","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,129 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"c6657336-cb5c-4f64-ad9d-c5c69392061c","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T09:02:01.925Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,130 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"c6657336-cb5c-4f64-ad9d-c5c69392061c","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,180 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"06e6836e-04c2-4ab2-9edb-fee032b46d5c","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T09:25:57.780Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,180 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"06e6836e-04c2-4ab2-9edb-fee032b46d5c","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,193 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"540db80a-fa82-4d1c-ae36-d70b48daa4cb","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T09:39:58.199Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,193 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"540db80a-fa82-4d1c-ae36-d70b48daa4cb","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,205 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"18b7f2d7-a165-49b5-a809-cae0b65a7913","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T10:13:41.360Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,206 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"18b7f2d7-a165-49b5-a809-cae0b65a7913","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,226 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"9c01b1ef-16a9-4d8b-b904-b7e679cdd15f","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T10:24:49.233Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,227 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"9c01b1ef-16a9-4d8b-b904-b7e679cdd15f","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,272 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"a7a97ef5-5ca1-4794-9980-a7135fdd9f32","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T10:31:06.935Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,272 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"a7a97ef5-5ca1-4794-9980-a7135fdd9f32","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,298 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"a34adcc5-96fb-4e57-af73-d1aff2e24c77","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T12:30:06.147Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,298 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"a34adcc5-96fb-4e57-af73-d1aff2e24c77","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,314 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"f65f00d7-05f6-4bba-96db-11c79ef6649c","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T14:41:26.335Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,315 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"f65f00d7-05f6-4bba-96db-11c79ef6649c","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,330 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"63100bdf-a195-46cd-92cf-18d348ebd71c","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T14:54:52.010Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,330 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"63100bdf-a195-46cd-92cf-18d348ebd71c","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,359 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"b4e922c5-9b6c-4e81-a5fc-067e0443c3ba","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-23T17:22:55.807Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,359 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"b4e922c5-9b6c-4e81-a5fc-067e0443c3ba","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,372 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"c556c659-55f6-4f1a-9a09-af17859afa50","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-26T09:09:18.980Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,372 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"c556c659-55f6-4f1a-9a09-af17859afa50","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:10:46,383 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"7d022070-28fa-45bd-a121-a756549b1d50","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Available","timestamp":"2024-02-26T09:10:45.505Z"}]
[INFO ] 2024-02-26 09:10:46,388 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [3,"7d022070-28fa-45bd-a121-a756549b1d50",{}]
[INFO ] 2024-02-26 09:10:46,398 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"203c4586-f02a-43d1-9496-06a93a00710b","SecurityEventNotification",{"techInfo":"The Charge Point has booted","timestamp":"2024-02-26T09:10:45.547Z","type":"StartupOfTheDevice"}]
[INFO ] 2024-02-26 09:10:46,399 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [4,"203c4586-f02a-43d1-9496-06a93a00710b","NotImplemented","The action 'SecurityEventNotification' you are looking for is not found",{}]
[INFO ] 2024-02-26 09:14:46,425 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"2e55de9d-3fea-4782-9b57-2bc027976a31","StatusNotification",{"connectorId":1,"errorCode":"NoError","info":"EVConnected","status":"Preparing","timestamp":"2024-02-26T09:12:49.706Z"}]
[INFO ] 2024-02-26 09:14:46,434 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [3,"2e55de9d-3fea-4782-9b57-2bc027976a31",{}]
[INFO ] 2024-02-26 09:14:46,435 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"941dfb0b-b995-45f5-9833-9dfb3f60dcfb","StartTransaction",{"connectorId":1,"idTag":"DEADBEEF","meterStart":971,"timestamp":"2024-02-26T09:12:50.059Z"}]
[INFO ] 2024-02-26 09:14:46,841 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [3,"941dfb0b-b995-45f5-9833-9dfb3f60dcfb",{"transactionId":1458,"idTagInfo":{"status":"Accepted","expiryDate":"2024-02-26T10:14:46.831Z"}}]
[INFO ] 2024-02-26 09:14:46,845 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"cd52d42c-69f7-4f08-b52d-27dd44516a49","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Charging","timestamp":"2024-02-26T09:12:50.265Z"}]
[INFO ] 2024-02-26 09:14:46,850 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [3,"cd52d42c-69f7-4f08-b52d-27dd44516a49",{}]
[INFO ] 2024-02-26 09:14:46,864 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"036b161b-7291-4549-b6ef-5ad88d11b1af","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Finishing","timestamp":"2024-02-26T09:14:44.244Z"}]
[INFO ] 2024-02-26 09:14:46,869 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [3,"036b161b-7291-4549-b6ef-5ad88d11b1af",{}]
[INFO ] 2024-02-26 09:14:46,881 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"5f90e0ca-7ddc-4e66-9cb9-8f9d47b98a3b","StopTransaction",{"meterStop":971,"reason":"EVDisconnected","timestamp":"2024-02-26T09:14:44.157Z","transactionId":-1}]
[ERROR] 2024-02-26 09:14:46,883 de.rwth.idsg.steve.repository.impl.OcppServerRepositoryImpl - Exception occurred
org.jooq.exception.DataAccessException: SQL [insert into `stevedb`.`transaction_stop` (`transaction_pk`, `event_timestamp`, `event_actor`, `stop_timestamp`, `stop_value`, `stop_reason`) values (?, ?, ?, ?, ?, ?)]; Data truncation: Out of range value for column 'transaction_pk' at row 1
at org.jooq_3.16.7.MYSQL.debug(Unknown Source) ~[?:?]
at org.jooq.impl.Tools.translate(Tools.java:3095) ~[jooq-3.16.7.jar:?]
at org.jooq.impl.DefaultExecuteContext.sqlException(DefaultExecuteContext.java:670) ~[jooq-3.16.7.jar:?]
at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:354) ~[jooq-3.16.7.jar:?]
at org.jooq.impl.AbstractDelegatingQuery.execute(AbstractDelegatingQuery.java:115) ~[jooq-3.16.7.jar:?]
at de.rwth.idsg.steve.repository.impl.OcppServerRepositoryImpl.updateTransaction(OcppServerRepositoryImpl.java:280) ~[steve.jar:?]
at de.rwth.idsg.steve.service.CentralSystemService16_Service.stopTransaction(CentralSystemService16_Service.java:221) ~[steve.jar:?]
at de.rwth.idsg.steve.ocpp.soap.CentralSystemService16_SoapServer.stopTransaction(CentralSystemService16_SoapServer.java:117) ~[steve.jar:?]
at de.rwth.idsg.steve.ocpp.ws.ocpp16.Ocpp16WebSocketEndpoint$Ocpp16CallHandler.dispatch(Ocpp16WebSocketEndpoint.java:97) ~[steve.jar:?]
at de.rwth.idsg.steve.ocpp.ws.pipeline.AbstractCallHandler.accept(AbstractCallHandler.java:46) ~[steve.jar:?]
at de.rwth.idsg.steve.ocpp.ws.pipeline.IncomingPipeline.accept(IncomingPipeline.java:61) ~[steve.jar:?]
at de.rwth.idsg.steve.ocpp.ws.AbstractWebSocketEndpoint.handleTextMessage(AbstractWebSocketEndpoint.java:117) ~[steve.jar:?]
at de.rwth.idsg.steve.ocpp.ws.AbstractWebSocketEndpoint.onMessage(AbstractWebSocketEndpoint.java:89) ~[steve.jar:?]
at de.rwth.idsg.steve.ocpp.ws.ConcurrentWebSocketHandler.handleMessage(ConcurrentWebSocketHandler.java:50) ~[steve.jar:?]
at org.springframework.web.socket.adapter.jetty.Jetty10WebSocketHandlerAdapter.onWebSocketText(Jetty10WebSocketHandlerAdapter.java:78) ~[spring-websocket-5.3.23.jar:5.3.23]
at org.eclipse.jetty.websocket.core.internal.messages.StringMessageSink.accept(StringMessageSink.java:53) ~[websocket-core-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.acceptMessage(JettyWebSocketFrameHandler.java:334) ~[websocket-jetty-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onTextFrame(JettyWebSocketFrameHandler.java:407) ~[websocket-jetty-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onFrame(JettyWebSocketFrameHandler.java:240) ~[websocket-jetty-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession$IncomingAdaptor.lambda$onFrame$1(WebSocketCoreSession.java:671) ~[websocket-core-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1463) ~[jetty-server-10.0.11.jar:10.0.11]
at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482) ~[jetty-server-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212) ~[websocket-core-server-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession$IncomingAdaptor.onFrame(WebSocketCoreSession.java:671) ~[websocket-core-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.core.internal.ExtensionStack.onFrame(ExtensionStack.java:120) ~[websocket-core-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.onFrame(WebSocketCoreSession.java:481) ~[websocket-core-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onFrame(WebSocketConnection.java:262) ~[websocket-core-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.fillAndParse(WebSocketConnection.java:455) ~[websocket-core-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onFillable(WebSocketConnection.java:340) ~[websocket-core-common-10.0.11.jar:10.0.11]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319) ~[jetty-io-10.0.11.jar:10.0.11]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) ~[jetty-io-10.0.11.jar:10.0.11]
at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) ~[jetty-io-10.0.11.jar:10.0.11]
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:412) ~[jetty-util-10.0.11.jar:10.0.11]
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:381) ~[jetty-util-10.0.11.jar:10.0.11]
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:268) ~[jetty-util-10.0.11.jar:10.0.11]
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:138) ~[jetty-util-10.0.11.jar:10.0.11]
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:407) ~[jetty-util-10.0.11.jar:10.0.11]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894) ~[jetty-util-10.0.11.jar:10.0.11]
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038) ~[jetty-util-10.0.11.jar:10.0.11]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column 'transaction_pk' at row 1
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104) ~[mysql-connector-java-8.0.30.jar:8.0.30]
at com.mysql.cj.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:555) ~[mysql-connector-java-8.0.30.jar:8.0.30]
at com.mysql.cj.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:339) ~[mysql-connector-java-8.0.30.jar:8.0.30]
at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354) ~[mysql-connector-java-8.0.30.jar:8.0.30]
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44) ~[HikariCP-5.0.1.jar:?]
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java) ~[HikariCP-5.0.1.jar:?]
at org.jooq.tools.jdbc.DefaultPreparedStatement.execute(DefaultPreparedStatement.java:219) ~[jooq-3.16.7.jar:?]
at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:419) ~[jooq-3.16.7.jar:?]
at org.jooq.impl.AbstractDMLQuery.execute(AbstractDMLQuery.java:961) ~[jooq-3.16.7.jar:?]
at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:340) ~[jooq-3.16.7.jar:?]
... 36 more
[INFO ] 2024-02-26 09:14:46,888 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [3,"5f90e0ca-7ddc-4e66-9cb9-8f9d47b98a3b",{}]
[INFO ] 2024-02-26 09:14:46,995 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"a1815cac-59dd-44eb-8566-14a9568d33d7","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Available","timestamp":"2024-02-26T09:14:44.528Z"}]
[INFO ] 2024-02-26 09:14:46,999 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [3,"a1815cac-59dd-44eb-8566-14a9568d33d7",{}]
[INFO ] 2024-02-26 09:15:00,102 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Received: [2,"03f18431-f271-4b29-9961-17b1a57dfecd","MeterValues",{"connectorId":1,"meterValue":[{"sampledValue":[{"context":"Sample.Clock","format":"Raw","location":"Outlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"971.18"}],"timestamp":"2024-02-26T09:14:58.497Z"}]}]
[INFO ] 2024-02-26 09:15:00,110 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=5863aadf-4995-59e9-1bda-f2c9e09c9e78] Sending: [3,"03f18431-f271-4b29-9961-17b1a57dfecd",{}]
Sorry, the EVerest OCPP html log get lost because of a "systemctl restart everest"?
I also set "DisableSecurityEventNotifications" to true in our OCPP configuration, but the issue is still reproducible.
I was also able to reproduce this issue with EVerest-core 2024.02: see Timestamp 2024-02-29T13:38:25.099Z 2024-02-29T12%3A51%3A36.034Z.zip
So far I was not able to reproduce this and the transactionId received by the CSMS when returning online is always used in further messages.
I was also able to reproduce this issue with EVerest-core 2024.02: see Timestamp 2024-02-29T13:38:25.099Z 2024-02-29T12%3A51%3A36.034Z.zip
In your logs it looks like the StartTransaction.conf is never received by the CSMS so that the transactionId
is not known. Do you do a complete offline transaction or does the charging station connects to the CSMS again before you do a C -> A ?
The problem with this trace is that it doesn't reflect the reality. The StatusNotification & StartTransaction since 2024-02-29T13:34:27.639Z are send AFTER the controller has been disconnected, because of TCP/IPs nature this take some until the application realize it's offline or online.
Edit: I missed an important detail: HeartbeatInterval is set to 1800 and client-side WebSocketPing is disabled.
Ok, thanks for the clarification. In general I would recommend to set the websocket ping so that disconnects can be noticed quicker. Can you always reproduce the transactionId
being one or does this only happen sometimes?
In general i agree to use websocket ping, but i also prefer reliable software. Regarding the reproducibility, i don't know the exact circumstances to achieve 100%, but the fault is very stable and not random. So i would say it's easy to reproduce on our platform (80 - 90 % maybe). In case i should investigate this issue deeper, please provide a good starting point (not yet familiar with the EVerest/libocpp code) or some debug instructions.
The -1 transactionId comes from the initialized value of the message? Does the OCPP client has some kind of live dump?
Ok, maybe its worth it to have a short meeting about this. Contacted you on Zulip.
I was now able to reproduce the issue and opened a PR with a fix: https://github.com/EVerest/libocpp/pull/551
The issue was that the StopTransaction.conf handler could not update the transactionId for future messages, because the transaction_handler could not find the respective transaction. This could occur when EVerest was booting and offline.
OCPP Version
OCPP1.6
Describe the bug
We noticed the following issue with our Tarragon platform and EVerest core 2024.01. In case we start an offline transaction and stop it online the stopTransaction contains transactionId -1. But the expected behavior would be that EVerest replace the bogus transactionId with the real value from the previous StartTransaction.Conf. Otherwise the transaction will be running endlessly.
OCPP communication with Steve as backend (shouldn't matter)
To Reproduce
Anything else?
EVerest log: