We’ve been seeing drone server (version 0.8.5) panics and restarted by docker-compose quite often recently.
Error logs:
time="2018-07-31T07:53:54Z" level=debug msg="drone granted &{UserID:16 RepoID:44 Repo: Pull:true Push:true Admin:true Synced:1533023440} permission to project"
time="2018-07-31T07:53:54Z" level=info ip=51.15.x.x latency=9.884133ms method=GET path="/api/repos/project/builds/1293" status=200 time="2018-07-31T07:53:54Z" user-agent="Go-http-
client/2.0"
panic: send on closed channel
goroutine 201282 [running]:
github.com/drone/drone/server.EventStreamSSE.func2.1(0x0, 0x0, 0xc422f3e000, 0xa233, 0x10f1c, 0xc421eeb020)
/go/src/github.com/drone/drone/server/stream.go:89 +0x176
created by github.com/drone/drone/vendor/github.com/cncd/pubsub.(*topic).publish
/go/src/github.com/drone/drone/vendor/github.com/cncd/pubsub/topic.go:36 +0xd2
panic: send on closed channel
goroutine 182871 [running]:
github.com/drone/drone/server.EventStreamSSE.func2.1(0x0, 0x0, 0xc421172000, 0x9ac, 0x120a, 0xc421b49bc0)
/go/src/github.com/drone/drone/server/stream.go:89 +0x176
created by github.com/drone/drone/vendor/github.com/cncd/pubsub.(*topic).publish
/go/src/github.com/drone/drone/vendor/github.com/cncd/pubsub/topic.go:36 +0xd2
Is this a known issue?