Skip to content

http: panic serving $IP:57780: repeated read on failed websocket connection #1686

@alexander-potemkin

Description

@alexander-potemkin

I'm getting the following error regularly in the logs, don't believe it's Ok...

Dec 17 16:11:20 servername outline-ss-server[1026]: Dec 17 16:11:20.074 INF http: panic serving $IP:57780: repeated read on failed websocket connection
Dec 17 16:11:20 servername outline-ss-server[1026]: goroutine 45603 [running]:
Dec 17 16:11:20 servername outline-ss-server[1026]: net/http.(*conn).serve.func1()
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/lib/google-golang/src/net/http/server.go:1924 +0xd3
Dec 17 16:11:20 servername outline-ss-server[1026]: panic({0x8b3680?, 0xa20d40?})
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/lib/google-golang/src/runtime/panic.go:799 +0x132
Dec 17 16:11:20 servername outline-ss-server[1026]: github.com/gorilla/websocket.(*Conn).NextReader(0xc0001394a0)
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/local/google/home/sbruens/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:1030 +0x1fe
Dec 17 16:11:20 servername outline-ss-server[1026]: github.com/Jigsaw-Code/outline-sdk/x/websocket.(*gorillaConn).Read(0xc00015ec80, {0xc0006de000, 0x10000, 0x10000})
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/local/google/home/sbruens/go/pkg/mod/github.com/!jigsaw-!code/outline-sdk/[email protected]/websocket/endpoint.go:157 +0xe5
Dec 17 16:11:20 servername outline-ss-server[1026]: github.com/Jigsaw-Code/outline-ss-server/service.(*associationHandler).HandleAssociation(0xc0001b2b40, {0xa25f10, 0xc001c54dc0}, {0x7f08d59a59e8, 0xc000068800}, {0xa261f8, 0xc00149f3e0})
Dec 17 16:11:20 servername outline-ss-server[1026]:         /tmp/tmp.4xeW1Iu78j/outline-ss-server/service/udp.go:162 +0x2ae
Dec 17 16:11:20 servername outline-ss-server[1026]: main.(*OutlineServer).runConfig.func1.2.8({0xa25850?, 0xc0000c6fc0?}, 0xc000373540)
Dec 17 16:11:20 servername outline-ss-server[1026]:         /tmp/tmp.4xeW1Iu78j/outline-ss-server/cmd/outline-ss-server/main.go:376 +0x2ba
Dec 17 16:11:20 servername outline-ss-server[1026]: net/http.HandlerFunc.ServeHTTP(0xc000373540?, {0xa25850?, 0xc0000c6fc0?}, 0x94dd00?)
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/lib/google-golang/src/net/http/server.go:2271 +0x29
Dec 17 16:11:20 servername outline-ss-server[1026]: main.(*OutlineServer).runConfig.func1.2.ProxyHeaders.23({0xa25850, 0xc0000c6fc0}, 0xc000373540)
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/local/google/home/sbruens/go/pkg/mod/github.com/gorilla/[email protected]/proxy_headers.go:59 +0x143
Dec 17 16:11:20 servername outline-ss-server[1026]: net/http.HandlerFunc.ServeHTTP(0x0?, {0xa25850?, 0xc0000c6fc0?}, 0x2d?)
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/lib/google-golang/src/net/http/server.go:2271 +0x29
Dec 17 16:11:20 servername outline-ss-server[1026]: main.(*OutlineServer).runConfig.func1.2.StripPrefix.24({0xa25850, 0xc0000c6fc0}, 0xc000373400)
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/lib/google-golang/src/net/http/server.go:2333 +0x262
Dec 17 16:11:20 servername outline-ss-server[1026]: net/http.HandlerFunc.ServeHTTP(0xc000210000?, {0xa25850?, 0xc0000c6fc0?}, 0x6a4716?)
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/lib/google-golang/src/net/http/server.go:2271 +0x29
Dec 17 16:11:20 servername outline-ss-server[1026]: net/http.(*ServeMux).ServeHTTP(0x470119?, {0xa25850, 0xc0000c6fc0}, 0xc000373400)
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/lib/google-golang/src/net/http/server.go:2801 +0x1c7
Dec 17 16:11:20 servername outline-ss-server[1026]: net/http.serverHandler.ServeHTTP({0xc000d6fec0?}, {0xa25850?, 0xc0000c6fc0?}, 0x6?)
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/lib/google-golang/src/net/http/server.go:3281 +0x8e
Dec 17 16:11:20 servername outline-ss-server[1026]: net/http.(*conn).serve(0xc0001bd830, {0xa25ed8, 0xc000100a80})
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/lib/google-golang/src/net/http/server.go:2079 +0x625
Dec 17 16:11:20 servername outline-ss-server[1026]: created by net/http.(*Server).Serve in goroutine 24
Dec 17 16:11:20 servername outline-ss-server[1026]:         /usr/lib/google-golang/src/net/http/server.go:3436 +0x4bc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions