lorenzodonini / ocpp-go

Open Charge Point Protocol implementation in Go
MIT License
262 stars 125 forks source link

ocpp service stucked ,Every 3 days or so #133

Open xunnew opened 2 years ago

xunnew commented 2 years ago

after getted BootNotification request more than 10 times from chargepoint ,ths ocpp server is stucked ,see logs likes this:

websocekt CP->CS json data: [2,"28ad5fa3-bde3-4eb7-8427-62bca72c1dec","Heartbeat",{}] websocekt CP->CS json data: [2,"2a513217-43e5-40e1-b01e-62bca8d85e4f","Heartbeat",{}] websocekt CP->CS json data: [2,"33cfae6f-eee8-41de-b557-62bca98442f3","Heartbeat",{}] websocekt CP->CS json data: [2,"d55973d5-c39a-4890-9c16-62bcab311012","Heartbeat",{}] websocekt CP->CS json data: [2,"c02371d0-1b09-41e4-8827-62bcabdcbff4","Heartbeat",{}] websocekt CP->CS json data: [2,"6cdd8150-eac8-4db3-a2c4-62bcad8934a8","Heartbeat",{}] websocekt CP->CS json data: [2,"9f2508d5-9784-45c6-b467-62bcae3413d5","Heartbeat",{}] websocekt CP->CS json data: [2,"5a9472c8-b0c7-4a15-9a42-62bcafe1ceda","Heartbeat",{}] websocekt CP->CS json data: [2,"5c8d4a65-7b7f-48d2-a926-62bcb08d2898","Heartbeat",{}] websocekt CP->CS json data: [2,"89053057-d9e8-4066-b63d-62bcb239ad60","Heartbeat",{}] websocekt CP->CS json data: [2,"4f5387f8-596e-4c46-a38c-62bcb2e5f1c3","Heartbeat",{}] websocekt CP->CS json data: [2,"601325b7-5727-4818-b944-62bcb49164bb","Heartbeat",{}] websocekt CP->CS json data: [2,"a0495576-bc26-43bc-ae69-62bcb53d52b7","Heartbeat",{}] websocekt CP->CS json data: [2,"943cf97d-4e97-479c-ac8b-62bcb6e9ef89","Heartbeat",{}] websocekt CP->CS json data: [2,"e2d6b23b-ee6d-4c2f-a07e-62bcb795b9f8","Heartbeat",{}] websocekt CP->CS json data: [2,"dca508fc-f7aa-4809-be8f-62bcb941fe35","Heartbeat",{}] websocekt CP->CS json data: [2,"78df67c1-2e97-4bd7-8368-62bcb9ed3f71","Heartbeat",{}] websocekt CP->CS json data: [2,"418da474-001b-4b85-acd9-62bcbb997cbb","Heartbeat",{}] websocekt CP->CS json data: [2,"02f905f4-6ed0-4d48-9e16-62bcbc459df1","Heartbeat",{}] websocekt CP->CS json data: [2,"8ed944d7-5a8d-4d9e-b77d-62bcbdf1e2c8","Heartbeat",{}] websocekt CP->CS json data: [2,"75bd1853-87cb-4d1b-8755-62bcbe9d052f","Heartbeat",{}] websocekt CP->CS json data: [2,"8d0a5c76-b458-4848-a9e1-62bcc04986f6","Heartbeat",{}] websocekt CP->CS json data: [2,"fcbdb650-e37b-462b-aac5-62bcc0f5a814","Heartbeat",{}] websocekt CP->CS json data: [2,"fff03667-e5c9-4244-be1c-62bcc2a10bac","Heartbeat",{}] websocekt CP->CS json data: [2,"0c750b88-68c0-46a3-823d-62bcc34d23ac","Heartbeat",{}] websocekt CP->CS json data: [2,"0baf48a6-41b6-4d15-8a46-62bcc4f963e5","Heartbeat",{}] websocekt CP->CS json data: [2,"e140b08b-e5fa-4514-852b-62bcc5a5d578","Heartbeat",{}] websocekt CP->CS json data: [2,"a16d8916-6ad6-424d-8091-62bcc752c290","Heartbeat",{}] websocekt CP->CS json data: [2,"5e5ff694-3039-4e1a-90a9-62bcc7fedaf2","Heartbeat",{}] websocekt CP->CS json data: [2,"285c764d-f884-4edc-8bec-62bcc9aa17a8","Heartbeat",{}] websocekt CP->CS json data: [2,"b248b90b-fcc2-4069-9181-62bcca56a8c2","Heartbeat",{}] websocekt CP->CS json data: [2,"6437ac52-8746-4bd1-8abc-62bccc020426","Heartbeat",{}] websocekt CP->CS json data: [2,"52564832-4b47-4777-ac8a-62bcccae3896","Heartbeat",{}] websocekt CP->CS json data: [2,"98ea83d5-9b74-4b86-9c5b-62bcce5af667","Heartbeat",{}] websocekt CP->CS json data: [2,"1d1f0d0e-e35e-4a11-bd95-62bccf06dc52","Heartbeat",{}] websocekt CP->CS json data: [2,"3f09b2eb-9b8b-44c9-bb91-62bcd0b2ace2","Heartbeat",{}] websocekt CP->CS json data: [2,"a8354306-6679-416d-b407-62bcd15e2a9b","Heartbeat",{}] websocekt CP->CS json data: [2,"2a2833d5-9b0e-4d49-8712-62bcd30ad615","Heartbeat",{}]

utsavanand2 commented 2 years ago

@xunnew I'm facing a similar issue, it would really help if you can tell what logs do you see on the charging station side when you see this behavior on the charging station side.