Skip to content

Retry binding GPGNet socket after fail + delay #30

@Geosearchef

Description

@Geosearchef

Socket probably still open / not closed completely

2021-12-29 22:46:49.320 ERROR Couldn't start GPGNetServer (c.f.iceadapter.gpgnet.GPGNetServer:51)
java.net.BindException: Address already in use: bind
    at java.base/sun.nio.ch.Net.bind0(Native Method)
    at java.base/sun.nio.ch.Net.bind(Net.java:550)
    at java.base/sun.nio.ch.Net.bind(Net.java:539)
    at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
    at java.base/java.net.ServerSocket.bind(ServerSocket.java:396)
    at java.base/java.net.ServerSocket.<init>(ServerSocket.java:282)
    at java.base/java.net.ServerSocket.<init>(ServerSocket.java:173)
    at com.faforever.iceadapter.gpgnet.GPGNetServer.init(GPGNetServer.java:49)
    at com.faforever.iceadapter.IceAdapter.main(IceAdapter.java:60)

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