Skip to content

Instantly share code, notes, and snippets.

@WhoSoup
Created January 5, 2020 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WhoSoup/9722804f43dbef01ff4f0812cf890d5d to your computer and use it in GitHub Desktop.
Save WhoSoup/9722804f43dbef01ff4f0812cf890d5d to your computer and use it in GitHub Desktop.
[hashquark 2019/12/20 18:16:44] runtime error: index out of range
2019/12/20 18:16:44 http: panic serving xxx.xxx.xxx.xxx:35178: runtime error: index out of range
goroutine 189374 [running]:
net/http.(*conn).serve.func1(0xc02648dd60)
/usr/local/go/src/net/http/server.go:1769 +0x139
panic(0xce4400, 0x171a440)
/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/FactomProject/factomd/wsapi.HandleV2Diagnostics(0x108af60, 0xc0000c8000, 0x0, 0x0, 0x1, 0x1, 0x2f)
/go/src/github.com/FactomProject/factomd/wsapi/wsapiV2.go:1588 +0x1143
github.com/FactomProject/factomd/wsapi.HandleV2JSONRequest(0x108af60, 0xc0000c8000, 0xc031fb3740, 0x0, 0x0)
/go/src/github.com/FactomProject/factomd/wsapi/wsapiV2.go:169 +0xb03
github.com/FactomProject/factomd/wsapi.HandleV2(0x1066300, 0xc001cb2000, 0xc04019ae00)
/go/src/github.com/FactomProject/factomd/wsapi/wsapiV2.go:65 +0x3dc
github.com/FactomProject/factomd/wsapi.APILogger.func1.1(0x1066300, 0xc001cb2000, 0xc04019ae00)
/go/src/github.com/FactomProject/factomd/wsapi/server.go:96 +0x16d
github.com/FactomProject/factomd/wsapi.IDInjector.func1.1(0x1066300, 0xc001cb2000, 0xc04019ae00)
/go/src/github.com/FactomProject/factomd/wsapi/server.go:106 +0x136
net/http.HandlerFunc.ServeHTTP(0xc0024843a0, 0x1066300, 0xc001cb2000, 0xc04019ae00)
/usr/local/go/src/net/http/server.go:1995 +0x44
github.com/FactomProject/factomd/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc001402b40, 0x1066300, 0xc001cb2000, 0xc04019ac00)
/go/src/github.com/FactomProject/factomd/vendor/github.com/gorilla/mux/mux.go:210 +0xe3
net/http.serverHandler.ServeHTTP(0xc000435ad0, 0x1066300, 0xc001cb2000, 0xc04019ac00)
/usr/local/go/src/net/http/server.go:2774 +0xa8
net/http.(*conn).serve(0xc02648dd60, 0x10694c0, 0xc031fb3480)
/usr/local/go/src/net/http/server.go:1878 +0x851
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2884 +0x2f4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment