Closed ranryl closed 3 years ago
goesl.NewClient(host, port, passwd, timeout)
has ERROR Expected auth/request content type. Got text/rude-rejection goesl/client.go: 64,mistake here if cmr.Get("Content-Type") != "auth/request" { Error(EUnexpectedAuthHeader, cmr.Get("Content-Type")) return fmt.Errorf(EUnexpectedAuthHeader, cmr.Get("Content-Type")) }
system: centos 7.5
goesl.NewClient(host, port, passwd, timeout)
has ERROR Expected auth/request content type. Got text/rude-rejection goesl/client.go: 64,mistake here if cmr.Get("Content-Type") != "auth/request" { Error(EUnexpectedAuthHeader, cmr.Get("Content-Type")) return fmt.Errorf(EUnexpectedAuthHeader, cmr.Get("Content-Type")) }
system: centos 7.5