We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66f119b commit a82a8c7Copy full SHA for a82a8c7
coderd/tailnet.go
@@ -102,7 +102,14 @@ func NewServerTailnet(
102
transport: tailnetTransport.Clone(),
103
}
104
tn.transport.DialContext = tn.dialContext
105
- tn.transport.MaxIdleConnsPerHost = 10
+
106
+ // Bugfix: for some reason all calls to tn.dialContext come from
107
+ // "localhost", causing connections to be cached and requests to go to the
108
+ // wrong workspaces. This disables keepalives for now until the root cause
109
+ // can be found.
110
+ tn.transport.MaxIdleConnsPerHost = -1
111
+ tn.transport.DisableKeepAlives = true
112
113
tn.transport.MaxIdleConns = 0
114
// We intentionally don't verify the certificate chain here.
115
// The connection to the workspace is already established and most
0 commit comments