Open jony4 opened 3 years ago
2021/10/19 16:16:11 http: panic serving 10.151.124.64:51155: close of closed channel goroutine 187 [running]: net/http.(*conn).serve.func1() /snap/go/8489/src/net/http/server.go:1801 +0xb9 panic({0xe25740, 0x10fadf0}) /snap/go/8489/src/runtime/panic.go:1047 +0x266 github.com/muesli/beehive/bees.(*Bee).Stop(0xc0002b00b0) /root/beehive/beehive_src/bees/bees.go:320 +0x96 github.com/muesli/beehive/bees.RestartBee(0xc0001d2b20) /root/beehive/beehive_src/bees/bees.go:200 +0x30 github.com/muesli/beehive/api/resources/bees.(*BeeResource).Put(0xc000210900, {0x110ca40, 0xc00020c680}, {0xd95a00, 0xc000032870}, 0xc00051b9b0, 0xc00020c660) /root/beehive/beehive_src/api/resources/bees/bees_put.go:61 +0x225 github.com/muesli/smolder.Resource.Put({{0xf9d2f9, 0xb}, {0xf90b53, 0x3}, {0xf9189f, 0x4}, {0xf9d9c3, 0xb}, {{0x7ffca1f0255e, 0x1a}, ...}, ...}, ...) /root/go/pkg/mod/github.com/muesli/smolder@v0.0.0-20190505085143-9c21fc7135ee/resource.go:384 +0x21b github.com/emicklei/go-restful.(*Container).dispatch.func5(0xc0001d3500, 0x0) /root/go/pkg/mod/github.com/emicklei/go-restful@v2.9.3+incompatible/container.go:283 +0x2c github.com/emicklei/go-restful.(*FilterChain).ProcessFilter(0x0, 0xc0000aa780, 0x0) /root/go/pkg/mod/github.com/emicklei/go-restful@v2.9.3+incompatible/filter.go:21 +0x58 github.com/emicklei/go-restful.(*Container).OPTIONSFilter(0xc000680001, 0x990000c0001d3560, 0x0, 0x9987acc3fb912553) /root/go/pkg/mod/github.com/emicklei/go-restful@v2.9.3+incompatible/options_filter.go:15 +0x54 github.com/emicklei/go-restful.(*FilterChain).ProcessFilter(0xed1720, 0xc00051b8f0, 0xfb6959) /root/go/pkg/mod/github.com/emicklei/go-restful@v2.9.3+incompatible/filter.go:19 +0x47 github.com/muesli/smolder.corsFilter(0x0, 0xc0002417a0, 0xc7) /root/go/pkg/mod/github.com/muesli/smolder@v0.0.0-20190505085143-9c21fc7135ee/smolder.go:78 +0xdb github.com/emicklei/go-restful.(*FilterChain).ProcessFilter(0x5269a6, 0x0, 0xc0005df288) /root/go/pkg/mod/github.com/emicklei/go-restful@v2.9.3+incompatible/filter.go:19 +0x47 github.com/muesli/smolder.optionsFilter(0x0, 0x0, 0x0) /root/go/pkg/mod/github.com/muesli/smolder@v0.0.0-20190505085143-9c21fc7135ee/smolder.go:87 +0x15c github.com/emicklei/go-restful.(*FilterChain).ProcessFilter(0xc000241880, 0xc000000004, 0xc0005df488) /root/go/pkg/mod/github.com/emicklei/go-restful@v2.9.3+incompatible/filter.go:19 +0x47 github.com/muesli/smolder.loggingFilter(0xc00051b9b0, 0xc0002417a0, 0x7f7eb065f988) /root/go/pkg/mod/github.com/muesli/smolder@v0.0.0-20190505085143-9c21fc7135ee/smolder.go:63 +0x230 github.com/emicklei/go-restful.(*FilterChain).ProcessFilter(0x7f7ed7ba3498, 0x20, 0xc000680000) /root/go/pkg/mod/github.com/emicklei/go-restful@v2.9.3+incompatible/filter.go:19 +0x47 github.com/muesli/smolder.gracefulShutdownFilter(0x20, 0xec94e0, 0x1) /root/go/pkg/mod/github.com/muesli/smolder@v0.0.0-20190505085143-9c21fc7135ee/smolder.go:50 +0x128 github.com/emicklei/go-restful.(*FilterChain).ProcessFilter(0xe24840, 0xc00051ba40, 0xc000382540) /root/go/pkg/mod/github.com/emicklei/go-restful@v2.9.3+incompatible/filter.go:19 +0x47 github.com/emicklei/go-restful.(*Container).dispatch(0xc0002de2d0, {0x11193d8, 0xc000382540}, 0xc000322300) /root/go/pkg/mod/github.com/emicklei/go-restful@v2.9.3+incompatible/container.go:285 +0x9c6 net/http.HandlerFunc.ServeHTTP(0x3b, {0x11193d8, 0xc000382540}, 0x0) /snap/go/8489/src/net/http/server.go:2046 +0x2f net/http.(*ServeMux).ServeHTTP(0xc00011d9f0, {0x11193d8, 0xc000382540}, 0xc000322300) /snap/go/8489/src/net/http/server.go:2424 +0x149 github.com/emicklei/go-restful.(*Container).ServeHTTP(0x0, {0x11193d8, 0xc000382540}, 0x10) /root/go/pkg/mod/github.com/emicklei/go-restful@v2.9.3+incompatible/container.go:303 +0x27 net/http.serverHandler.ServeHTTP({0x11164e0}, {0x11193d8, 0xc000382540}, 0xc000322300) /snap/go/8489/src/net/http/server.go:2878 +0x43b net/http.(*conn).serve(0xc0004c2be0, {0x11258d8, 0xc000690060}) /snap/go/8489/src/net/http/server.go:1929 +0xb08 created by net/http.(*Server).Serve /snap/go/8489/src/net/http/server.go:3033 +0x4e8