kube-latency icon indicating copy to clipboard operation
kube-latency copied to clipboard

http://10.47.0.9:8080/data' failed: unexpected EOF

Open fvigotti opened this issue 6 years ago • 0 comments

Hi I found your project quite interesting and unique, After quite long search I've found nothing similar , but when testing with the default helm charts ( and default images, no recompilation attempted ) you've created the application give me this error :

net/http.(*conn).serve.func1(0xc420302280)
        /usr/local/go/src/net/http/server.go:1721 +0xd0
panic(0x11f6460, 0x1b23cb0)
        /usr/local/go/src/runtime/panic.go:489 +0x2cf
math/rand.(*rngSource).Int63(0xc420114a00, 0x5c1752f489dcf9a4)
        /usr/local/go/src/math/rand/rng.go:231 +0x8c
github.com/simonswine/kube-latency/vendor/github.com/dustin/randbo.(*randbo).Read(0xc420315bc0, 0xc4207e2000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
        /go/src/github.com/simonswine/kube-latency/vendor/github.com/dustin/randbo/randbo.go:29 +0x48
io.(*LimitedReader).Read(0xc420564920, 0xc4207e2000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
        /usr/local/go/src/io/io.go:436 +0x6c
io.copyBuffer(0x1ae6e80, 0xc420248b60, 0x1ae47c0, 0xc420564920, 0xc4207e2000, 0x8000, 0x8000, 0x1232260, 0xc420248b60, 0xc4206cbab0)
        /usr/local/go/src/io/io.go:390 +0x100
io.CopyBuffer(0x1ae6e80, 0xc420248b60, 0x1ae47c0, 0xc420564920, 0xc4207e2000, 0x8000, 0x8000, 0x428716, 0x5, 0x7fc6142a6180)
        /usr/local/go/src/io/io.go:371 +0x88
net/http.(*response).ReadFrom(0xc42030c2a0, 0x1ae47c0, 0xc420564920, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:559 +0x59a
io.copyBuffer(0x1ae5080, 0xc42030c2a0, 0x1ae47c0, 0xc420564920, 0x0, 0x0, 0x0, 0x123cbc0, 0x1ae5001, 0xc420564920)
        /usr/local/go/src/io/io.go:384 +0x2cb
io.Copy(0x1ae5080, 0xc42030c2a0, 0x1ae47c0, 0xc420564920, 0x120e3a0, 0x12f00e0, 0xc420248b00)
        /usr/local/go/src/io/io.go:360 +0x68
io.CopyN(0x1ae5080, 0xc42030c2a0, 0x1ae04c0, 0xc420315bc0, 0x1000000, 0x5, 0x4fe417, 0xc420344460)
        /usr/local/go/src/io/io.go:336 +0x90
main.(*App).handleData(0xc4202914a0, 0x1af1a00, 0xc42030c2a0, 0xc42025e600)
        /go/src/github.com/simonswine/kube-latency/app.go:105 +0x99
main.(*App).(main.handleData)-fm(0x1af1a00, 0xc42030c2a0, 0xc42025e600)
        /go/src/github.com/simonswine/kube-latency/app.go:254 +0x48
net/http.HandlerFunc.ServeHTTP(0xc420248720, 0x1af1a00, 0xc42030c2a0, 0xc42025e600)
        /usr/local/go/src/net/http/server.go:1942 +0x44
net/http.(*ServeMux).ServeHTTP(0x1b35500, 0x1af1a00, 0xc42030c2a0, 0xc42025e600)
        /usr/local/go/src/net/http/server.go:2238 +0x130
net/http.serverHandler.ServeHTTP(0xc42016f130, 0x1af1a00, 0xc42030c2a0, 0xc42025e600)
        /usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420302280, 0x1af2a40, 0xc4201b6680)
        /usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:2668 +0x2ce
time="2018-10-18T13:49:44Z" level=warning msg="test download from 'http://10.47.0.9:8080/data' failed: unexpected EOF" 

ping seems to works but the "/data" tests seems to have a problem.. unfortunately I'm not a go programmer and will take a while to find the problem, do you have any idea on how to fix ?

thank you :)

fvigotti avatar Oct 18 '18 13:10 fvigotti