Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Task was destroyed but it is pending: WebsocketImplProtocol.async_data_received (Sentry-wrapped)

オープン
#5,072 コメント 9 件 リアクション 0 件 担当者 1 名 GitHub で見る

@alexander-alderman-webb がすでに取り組んでいます。

2025年11月24日 から。

評価

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

説明

Bug Errors Integration: Sanic Python
How do you use Sentry?

Sentry Saas (sentry.io)

Version

2.43.0

Steps to Reproduce

Hi team!

I'm having quite a few errors like these popping up in my Sentry account. At first, I thought it was an issue with my Websocket implementation, but looking at the stacktrace, some of the errors are from a standard GET request, such as this one:
https://cnicodeme.sentry.io/share/issue/7f8aa28baa194938bd13f44953014819/
(For the Sentry team, feel free to access this ticket, and all the other that have the "Task was destroyed but it is pending" currently open in my organization).

I suspect that the Sentry system doesn't have the time to send the data to Sentry.io and is killed before, somehow.
Unfortunately the error doesn't contain the original one, making it harder to trace where it originated and/or fix it.

Expected Result

It shouldn't throw a "Task was destroyed but it is pending" but instead the actual underlying error. I suspect the task of sending that error to Sentry is killed before it has the chance to deliver the payload.

Actual Result

I'm using Sanic 24.6.

Happy to share anything more that is needed

主要言語
Python
スター
2.2k
フォーク
672
平均マージ
22時間 47分
マージ済み PR(30日)
224

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-python のほかの issue

getsentry/sentry-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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