matth-x / MicroOcpp

OCPP 1.6 client for microcontrollers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server error, data loss!

meylence opened this issue · comments

Hi @matth-x ,

I am trying to set up an electric charging station system for my home, but I have been encountering errors for a week, as shown in the images below. Could you help me understand the possible reasons for these errors?

Ekran görüntüsü 2024-06-11 173858

image

Hi @meylence,

The StopTransaction operation fails and MicroOcpp drops it, so the corresponding data is likely lost.

The server reports the error message "Invalid ID Tag" so my first guesses are:

  • MicroOcpp does not send the idTag after RemoteStopTransaction, but the server requires it (if you're willing to share which backend you're using, I would be interested!)
  • The idTag is not properly configured in the backend system

Maybe the server logs provide more information.

When I look at the backend software, I encounter an interesting phenomenon. When I choose normal shutdown in the backend software, everything works normally and it shuts down the system.
1

However, When I shut down with the force shut down option, the system crashes here.
2