Hi,
I've developed a driver that uses a websocket connection to communicate with the data source.
The integration works fine and the driver is able to get the data from the data source properly, for a considerable amount of time.
The only issue I had is that when the Websocket Status is changed to 'Closed', the element never re-establishes the connection, unless we restart the element.
What should be done to restore the socket connection without restarting the element?
Hi Pedro,
the help mentions 2 things for when the websocket connection is closed:
- Restart the element.
- Update the 'dynamic IP'-parameter so the connection is re-established.
Reference: DataMiner Development Library (section behavior on this page)
Could option 2 be a solution? There is also more details on changing this parameter found here DataMiner Development Library.