From 6a38dec38d2a435890aa542903c7070465e6b857 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Wed, 4 May 2016 18:32:35 -0700 Subject: [PATCH] redoctober: disable HTTP/2. There is an issue connecting to the HTTPS UI with HTTP/2 support. Debugging is ongoing, but the immediate fix is to disable HTTP/2. --- redoctober.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/redoctober.go b/redoctober.go index 1151006..2a08f6c 100644 --- a/redoctober.go +++ b/redoctober.go @@ -170,9 +170,10 @@ func NewServer(staticPath, addr, caPath string, certPaths, keyPaths []string, us mux.HandleFunc("/", idxHandler.handle) srv := http.Server{ - Addr: addr, - Handler: mux, - TLSConfig: config, + Addr: addr, + Handler: mux, + TLSConfig: config, + TLSNextProto: map[string]func(*http.Server, *tls.Conn, http.Handler){}, } // The core package is not safe to be shared across goroutines so