Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: runtime error: send on closed channel #144

Closed
sn00011 opened this issue May 22, 2015 · 3 comments
Closed

panic: runtime error: send on closed channel #144

sn00011 opened this issue May 22, 2015 · 3 comments

Comments

@sn00011
Copy link

sn00011 commented May 22, 2015

panic: runtime error: send on closed channel

goroutine 10818 [running]:
runtime.panic(0xd11480, 0x15748fe)
    /usr/local/go/src/pkg/runtime/panic.c:279 +0xf5
github.com/bitly/go-nsq.(*Consumer).onConnMessage(0xc208688000, 0xc209069200, 0xc208bba000)
    /root/gopath/src/mysite.com.cn/kefu/portal/Godeps/_workspace/src/github.com/bitly/go-nsq/consumer.go:632 +0x90
github.com/bitly/go-nsq.(*consumerConnDelegate).OnMessage(0xc208fa45e0, 0xc209069200, 0xc208bba000)
    /root/gopath/src/mysite.com.cn/kefu/portal/Godeps/_workspace/src/github.com/bitly/go-nsq/delegates.go:111 +0x3e
github.com/bitly/go-nsq.(*Conn).readLoop(0xc209069200)
    /root/gopath/src/mysite.com.cn/kefu/portal/Godeps/_workspace/src/github.com/bitly/go-nsq/conn.go:518 +0xb9b
created by github.com/bitly/go-nsq.(*Conn).Connect
    /root/gopath/src/mysite.com.cn/kefu/portal/Godeps/_workspace/src/github.com/bitly/go-nsq/conn.go:181 +0x6af

Could this be a issue in the go-nsq?

@mreiferson
Copy link
Member

@kurtzhong can you provide more of the logs before the panic so I can try to figure out what happened?

@sn00011
Copy link
Author

sn00011 commented May 25, 2015

Unfortunately i don't have more relevant logs, and I don't meet this error in last two days. I found i was using the 1.0.4-alpha version and I've update the package to 1.0.4.

@mreiferson
Copy link
Member

closing, assuming this has been fixed in 1.0.4+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants