Skip to content

Websocket connection disconnet, Neptune limitation for IAM Authentication enabled #14

@priyabratap

Description

@priyabratap

First of all, I would like to thank you for the beautiful wrapper connection with IAM authenitcation.

There is an AWS neptune limitation :
When IAM authentication is enabled, a WebSocket connection is always disconnected a few minutes more than 10 days after it was established, if it hasn't already been closed by then.

I saw there is one option to enable autoReconnect with a maxRetry (default is 10). Once we reached maxRetry then because of the Neptune Limitation, the connection will be disconnected after 10days.

Very high level, I can think about a solution to make the autoReconnect a default option in case of _closeHandler. Additionally, we can log the _closeHandler behaviour to know about the timing of disconnect exactly after 10days or not.

Love to hear a better solution to address the above issue. Also, I am very interested to contribute here.

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