Skip to content

Connection closed after 60 sec #1

@cedricPoncot

Description

@cedricPoncot

Known issue :

If JS client doesn't send any data for 60 sec, connection will be closed (then restarted).

Solution (for now) : Implement a ping from JS client

In the erlang doc : https://ninenines.eu/docs/en/cowboy/2.5/manual/cowboy_websocket/

there is this option :
idle_timeout (60000)
Time in milliseconds that Cowboy will keep the connection open without receiving anything from the client.

but i don't succeed to make it work. :/

Need help :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions