Skip to content

Socket not always closed #257

Open
Open
@thomas-huegel

Description

@thomas-huegel

Describe the bug
Sometimes - but not always - the socket is not well closed after server interruption (^C).
The socket does not appear in the output of ss -tln.

To Reproduce
Steps to reproduce the behavior (not deterministically):

  1. Start your server
  2. Interrupt it through Ctrl+C
  3. Restart your server

Expected behavior
I would expect the socket to be closed every time.

Screenshots

ERROR - bind: The given address is already in use. 
Bind attempt failed:  Socket.bind: Binding socket failed.
Retrying. Might take 10-15 seconds.
.ERROR - bind: The given address is already in use. 
.ERROR - bind: The given address is already in use. 
.ERROR - bind: The given address is already in use. 

Desktop (please complete the following information):

  • Linux x64

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