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: concurrent write to websocket connection #2

Open
inotnako opened this issue Mar 4, 2016 · 2 comments
Open

panic: concurrent write to websocket connection #2

inotnako opened this issue Mar 4, 2016 · 2 comments
Assignees

Comments

@inotnako
Copy link

inotnako commented Mar 4, 2016

panic: concurrent write to websocket connection
goroutine 123 [running]:
panic(0x33fa00, 0xc8206329f0)
    /usr/local/go/src/runtime/panic.go:464 +0x3e6
github.com/gorilla/websocket.(*Conn).flushFrame(0xc8202ad700, 0x778c01, 0x0, 0x0, 0x0, 0x0, 0x0)
    /Users/antonkonovalov/go/src/github.com/gorilla/websocket/conn.go:450 +0x5ba
github.com/gorilla/websocket.(*Conn).NextWriter(0xc8202ad700, 0x1, 0x0, 0x0, 0x0, 0x0)
    /Users/antonkonovalov/go/src/github.com/gorilla/websocket/conn.go:378 +0x9b
github.com/gorilla/websocket.(*Conn).WriteJSON(0xc8202ad700, 0x3f37a0, 0xc820567660, 0x0, 0x0)
    /Users/antonkonovalov/go/src/github.com/gorilla/websocket/json.go:22 +0x4b
github.com/gophergala/gopherling/loader.(*loader).spawnClient(0xc8202ea4b0, 0xc8202e8fb0, 0xc82005ce40)
    /Users/antonkonovalov/go/src/github.com/gophergala/gopherling/loader/loader.go:83 +0x47f
github.com/gophergala/gopherling/loader.(*loader).Run.func1(0xc8202ea4b0, 0xc8202e8fb0, 0xc82005ce40)
    /Users/antonkonovalov/go/src/github.com/gophergala/gopherling/loader/loader.go:106 +0x35
created by github.com/gophergala/gopherling/loader.(*loader).Run
    /Users/antonkonovalov/go/src/github.com/gophergala/gopherling/loader/loader.go:107 +0xb4
@mikesaidani
Copy link
Contributor

Thank you, i'll look into it.

@mikesaidani mikesaidani self-assigned this Mar 8, 2016
@edwindvinas
Copy link

Hi! I also encounter the issue. May I know how to fix this?

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

No branches or pull requests

3 participants