Skip to content

Changing system time #1848

@troutgoingupstream

Description

@troutgoingupstream

What would be the right course of action to refresh both server and client in a situation when I change the system time? We noticed a bunch of issues with that especially when moving backwards more than one hour.
We found out, that as a minimum we have to refresh all subscriptions on the client side, as opcua uses asyncio.sleep internally which waits for the original timestamp, and we didn’t get opc updated until the time „catched up” the original time.
But now we see
asyncua.server.uaprocessor: sending service fault response: The session cannot be used because ActivateSession has not been called. (BadSessionNotActivated)
error.
Is the complete server and all clients shutdown and restart an only option/walkaround right now to mitigate that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions