diff --git a/backend/cache/plex.go b/backend/cache/plex.go index f5464dde4..3a8dd5d19 100644 --- a/backend/cache/plex.go +++ b/backend/cache/plex.go @@ -108,7 +108,7 @@ func (p *plexConnector) closeWebsocket() { func (p *plexConnector) listenWebsocket() { u := strings.Replace(p.url.String(), "http://", "ws://", 1) - u = strings.Replace(u, "https://", "ws://", 1) + u = strings.Replace(u, "https://", "wss://", 1) conn, err := websocket.Dial(fmt.Sprintf(defPlexNotificationURL, strings.TrimRight(u, "/"), p.token), "", "http://localhost") if err != nil {