diff --git a/sdk/cdsclient/http_websocket.go b/sdk/cdsclient/http_websocket.go index 45b0106c81..efc0ccb1f9 100644 --- a/sdk/cdsclient/http_websocket.go +++ b/sdk/cdsclient/http_websocket.go @@ -40,7 +40,7 @@ func (c *client) RequestWebsocket(ctx context.Context, path string, msgToSend <- urlWebsocket := url.URL{ Scheme: strings.Replace(uHost.Scheme, "http", "ws", -1), Host: uHost.Host, - Path: "/ws", + Path: uHost.Path + "/ws", } headers := make(map[string][]string)