coder / coder/websocket

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

オープン
#520 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
5.5k
フォーク
372
PR マージ指標
30日以内にマージされた PR はありません

説明

**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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。