coder / coder/websocket

failed to get reader: failed to read frame header: EOF

Abierto
#520 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
5.5k
Forks
372
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**What does this error mean?**

You can read the context log of this issue at https://github.com/switchupcb/disgo/issues/81.

Here is the code involved.

```json
{"level":"info","time":"2025-02-25T11:15:50.047882793Z","session":"19a66158dd23faa53df0a0cce17ea441","client":"948649712649662524","message":"received signal: <-s.Context.Done with state \"connected\""}
```

This log is output at https://github.com/switchupcb/disgo/blob/v10/wrapper/session_routine_manager.go#L114

```json
{"level":"info","time":"2025-02-25T11:15:50.064255893Z","session":"19a66158dd23faa53df0a0cce17ea441","client":"948649712649662524","error":"listen: failed to get reader: failed to read frame header: EOF","message":"<-s.Context.Done manager wait error result"}
```

This log is output at [`unimplemented in public`](https://github.com/switchupcb/disgo/blob/v10/wrapper/session_routine_manager.go#L120) which contains `LogSession(Logger.Info(), s.ID).Str(LogCtxClient, bot.ApplicationID).Err(err).Msgf("<-s.Context.Done manager wait error result")`
- from `return err` at https://github.com/switchupcb/disgo/blob/v10/wrapper/session_routine_listener.go#L40
- from `socket.Read` at https://github.com/switchupcb/disgo/blob/v10/wrapper/session_routine_listener.go#L19

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.