steve-community / steve

SteVe - OCPP server implementation in Java
GNU General Public License v3.0
796 stars 389 forks source link

OCPP charge point (TELLUS 4120) keeps dropping communication to steve #666

Closed rishabhmehandru closed 3 years ago

rishabhmehandru commented 3 years ago

Checklist

Specifications

SteVe Version     : ...3.4.5
Operating system  : ...ubuntu debian
JDK               : ...
Database          : ...mysql 5.7

Expected Behavior

Connection with websocket maintained all the time. ...

Actual Behavior

Connection to machines gets dropped.When physically machine interface is rebooted, connection is re-estabilished ...

Steps to Reproduce the Problem

  1. ...More than one charge point connected
  2. ...One just drops within a few hours
  3. ...

Additional context

...

goekay commented 3 years ago

how often do these drops occur? steve should not cause any connection drops. are you sure that steve's network is stable? are you sure that charging stations maintain a stable network connectivity? can you post any logs for more context?

rishabhmehandru commented 3 years ago

Yes, I think we need machine to machine SIM

On Sat, Oct 2, 2021 at 4:19 PM Sevket Gökay @.***> wrote:

how often do these drops occur? steve should not cause any connection drops. are you sure that steve's network is stable? are you sure that charging stations maintain a stable network connectivity? can you post any logs for more context?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RWTH-i5-IDSG/steve/issues/666#issuecomment-932832870, or unsubscribe https://github.com/notifications/unsubscribe-auth/AILGEGURDDTIG6GWCLJWHCLUE6HQ5ANCNFSM5EXA4G3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

goekay commented 3 years ago

Yes, I think we need machine to machine SIM

i don't know how to start any investigation with this bit of information.

i assume that your problem is not because of steve, but other components. i cannot help you there.

rishabhmehandru commented 3 years ago

Hi

I switched to machine2machine SIM but I am still seeing dropping off of one of the chargers. Will you be willing to look at the log and help me figure out why the charger is dropping?

Best Rishabh

goekay commented 3 years ago

... can you post any logs for more context?

sure, i was willing one week ago, i am willing now :)

rishabhmehandru commented 3 years ago

steve.log

rishabhmehandru commented 3 years ago

THanks for helping! I really appreciate it.

goekay commented 3 years ago

here is my report:

the logs of steve do not tell anything further. there is no indication that steve is at fault. if you want to continue your investigation and find the root cause, you should look at the logs of the charging station. hopefully you can find the reasons there.

my strong assumption is that the instability of wireless networks can cause connections being dropped and reopened from time to time. 14 connection drops while 846 messages were exchanged within 16,5 hours can be considered acceptable. the missing patterns in connection drop behavior support my assumption.

rishabhmehandru commented 3 years ago

Hi

Thank you so much for your help. I will investigate further on the machine side to see why this could have happened.

Best Rishabh

On Sat, Oct 9, 2021 at 4:49 PM Sevket Gökay @.***> wrote:

here is my report:

  • the logs cover the operation of approx. 16 hours and 30 mins
  • during this period 423 messages were sent successfully
  • 14 "abnormal connection close" cases
  • the error codes are 1006 and 1011
  • there is no pattern to why these connections drop. in one case, the dropped connection was open for a couple of milliseconds ( sessionId=bee9343d-6ca2-1b7a-5733-14ab885151b0). in another case, the connection was open for almost 6 hours ( sessionId=2c30dcca-dee2-f49d-148a-cc4130a00485) without issues and then suddenly it was being dropped.
  • most of the drops were during the night (from 00:00 to 08:00). after 8:00 there are only 3 cases. however, i dont know that to do with this info.

the logs of steve do not tell anything further. there is no indication that steve is at fault. if you want to continue your investigation and find the root cause, you should look at the logs of the charging station. hopefully you can find the reasons there.

my strong assumption is that the instability of wireless networks can cause connections being dropped and reopened from time to time. 14 connection drops while 423 messages were sent successfully within 16,5 hours can be considered acceptable. the missing patterns in connection drop behavior support my assumption.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RWTH-i5-IDSG/steve/issues/666#issuecomment-939377543, or unsubscribe https://github.com/notifications/unsubscribe-auth/AILGEGWINXGNOXJMUW7ZVODUGDIG3ANCNFSM5EXA4G3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.