Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

wait_for_connection silently hangs for 60s

未关闭
#60 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
python

调研方向

wait_for_connection 入口点开始,跟踪启动日志中显示的六次连接尝试。检查在 60 秒等待期间如何处理失败,然后让失败原因显示在日志中,并验证失败的连接不再表现得像是卡住了。

由索引模型根据 Issue 内容生成。

描述

It takes 60 seconds to connect to the HS in wait_for_connection, which suggests it's failed 6 times to do so. However, there doesn't appear to be any logs explaining why it's failed to connect so it looks like a hang. The bridge generally seems to work afterwards, so wondering if I am forgetting something.

[2021-11-01 15:29:44,139] [INFO@mau.init] Initialization complete in 0.59 seconds
[2021-11-01 15:29:44,140] [DEBUG@mau.init] Running startup actions...
[2021-11-01 15:29:44,140] [DEBUG@mau.init] Starting appservice...
[2021-11-01 15:29:44,140] [DEBUG@mau.as] Starting appservice web server on 0.0.0.0:29317
[2021-11-01 15:29:44,141] [INFO@mau.mx] Ensuring connectivity to homeserver
[2021-11-01 15:30:45,131] [DEBUG@mau.user.@foo:bar] Starting client due to ensure_started(even_if_no_session=False)
``
主要语言
Python
星标
249
派生
84
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mautrix/python 的其他 Issue

查看 mautrix/python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。