Skip to content

Transaction expiration time depends on server timestamp #199

@cah-kenankujovic

Description

@cah-kenankujovic

Hi,
I ran into an issue where every transaction would fail with this message:

This transaction has expired. You can get the expiration time of a transaction through its expiresAt (Date) and expiresIn (ms) properties.

The issue turns out to be that Neo4J runs in Docker container, and this container had wrong time (about 3 minutes in past). This is somewhat known issue with Docker, and it very easy to fix it.

However, my question is this:
What is the value of calculating the expiration time on the client? It seems to me this should handled by the server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions