Skip to content

[Bug] panic: repeated read on failed websocket connection #8

@0xF7A4C6

Description

@0xF7A4C6
panic: repeated read on failed websocket connection

goroutine 21 [running]:
github.com/gorilla/websocket.(*Conn).NextReader(0xc000a3c420)
        C:/Users/arm/go/pkg/mod/github.com/gorilla/websocket@v1.5.0/conn.go:1030 +0x26e
github.com/gorilla/websocket.(*Conn).ReadMessage(0xc01b0c5f70?)
        C:/Users/arm/go/pkg/mod/github.com/gorilla/websocket@v1.5.0/conn.go:1093 +0x13
github.com/surrealdb/surrealdb.go/internal/websocket.(*WebSocket).read(0xc0148ed740?, {0xb85400, 0xc00a8bdd40})
        C:/Users/arm/go/pkg/mod/github.com/surrealdb/surrealdb.go@v0.2.1/internal/websocket/ws.go:140 +0x25
github.com/surrealdb/surrealdb.go/internal/websocket.(*WebSocket).initialize.func1()
        C:/Users/arm/go/pkg/mod/github.com/surrealdb/surrealdb.go@v0.2.1/internal/websocket/ws.go:167 +0x5e
created by github.com/surrealdb/surrealdb.go/internal/websocket.(*WebSocket).initialize in goroutine 1
        C:/Users/arm/go/pkg/mod/github.com/surrealdb/surrealdb.go@v0.2.1/internal/websocket/ws.go:160 +0x4f
exit status 2
make: *** [Makefile:10: run] Error 1
Appuyez sur une touche pour continuer...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions