thainnos / LICSTER

A Low-cost ICS Security Testbed for Education and Research
Other
100 stars 33 forks source link

HMI webserver crashes when booting before PLC #8

Closed felix-maini closed 4 years ago

felix-maini commented 4 years ago

The webserver boots quicker than the PLC. It then tries to open a connection to the PLC. Since that is not possible at that point, it simply crashes.

felix-maini commented 4 years ago

I fixed the issue. Now, the webserver starts regardless of the PLC. As long as it cannot open a connection to the PLC it shows DISCONNECTED as its state. I also added a Refresh button to refresh the page. The disconnected state does NOT disappear automatically once the connection is established. In future versions an more elegant version is planned.

mniedermaier commented 4 years ago

@saufel The HMI boots up, but does not connect after the network connection is available.

9

mniedermaier commented 4 years ago

Fixed in both branches