Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

ThaliCore: TCPListener "Address already in use" doesn't trigger the retry logic #1942

@enricogior

Description

@enricogior

In ThaliCore we added a retry logic for transient errors, we need to figure out if we can recover from this error:

[ThaliCore] TCPListener.startListeningForConnections(on:connectionAccepted:completion:)
failed, error:Error Domain=NSPOSIXErrorDomain Code=48 "Address already in use" 
UserInfo={NSLocalizedDescription=Address already in use, 
NSLocalizedFailureReason=Error in bind() function}
2017-07-18 07:16:46 - DEBUG thaliMobileNativeWrapper: 'multiConnectResolved: 
{"syncValue":"0","error":"Connection could not be established","portNumber":0}'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions