-
Notifications
You must be signed in to change notification settings - Fork 125
Closed
Description
These messages are logged if the initial connection to the dex server fails:
[ERR] CORE[wss://dex.decred.org:7232/ws]: Initial connection failed, starting reconnect loop: dial tcp 45.77.164.152:7232: i/o timeout
[ERR] CORE: Trouble establishing connection to dex.decred.org:7232 (will retry). Error: connect failure: dial tcp 45.77.164.152:7232: i/o timeout
No retrying actually takes place however. I took a brief look at the code and it seems to be because the context passed into wsConn.keepAlive
is canceled. The retry loop is started properly if the following line is removed (first added in #1474):
Line 124 in a2556d1
cancel() // no context leak |
buck54321 and norwnd
Metadata
Metadata
Assignees
Labels
No labels