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

Tests flaking due to `websocket url timeout reached`

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

@richvdh 已经在做这个了。

开始于 2026年3月18日。

评估

这个 Issue 还没有评估数据。

描述

In https://github.com/matrix-org/matrix-js-sdk/pull/4566, the complement crypto test failed twice. It looks like it fails on the first test being run, timing out on initialization. So a timeout probably needs to be increased somewhere.

Output of the failure:

2024/12/04 11:41:33 Sharing [SERVER_NAME=hs1 SYNAPSE_COMPLEMENT_DATABASE=sqlite] host environment variables with container
  2024/12/04 11:41:40 Sharing [SERVER_NAME=hs2 SYNAPSE_COMPLEMENT_DATABASE=sqlite] host environment variables with container
  
  **********************************************************************************************
  Ryuk has been disabled for the current execution. This can cause unexpected behavior in your environment.
  More on this: https://golang.testcontainers.org/features/garbage_collector/
  **********************************************************************************************
  2024/12/04 11:41:46 github.com/testcontainers/testcontainers-go - Connected to docker: 
    Server Version: 26.1.3
    API Version: 1.45
    Operating System: Ubuntu 22.04.5 LTS
    Total Memory: 15981 MB
    Resolved Docker Host: unix:///var/run/docker.sock
    Resolved Docker Socket Path: /var/run/docker.sock
    Test SessionID: 68f4e740a8b5bc1b66c578875a8351e0820b0aa00d63f66e510201081bf77751
    Test ProcessID: 566213f1-3462-4f54-9753-919dca62ac31
  2024/12/04 11:41:46 🐳 Creating container for image mitmproxy/mitmproxy:10.1.5
  2024/12/04 11:41:46 ✅ Container created: 2224e487dd3b
  2024/12/04 11:41:46 🐳 Starting container: 2224e487dd3b
  2024/12/04 11:41:46 ✅ Container started: 2224e487dd3b
  2024/12/04 11:41:46 🚧 Waiting for container id 2224e487dd3b image: mitmproxy/mitmproxy:10.1.5. Waiting for: &{timeout:<nil> Log:loading complement crypto addons IsRegexp:false Occurrence:1 PollInterval:100ms}
  2024/12/04 11:41:50 🔔 Container is ready: 2224e487dd3b
      deploy.go:205: ComplementCryptoDeployment created (network=complement_crypto_dirty):
      deploy.go:206:   NAME          INT          EXT
      deploy.go:207:   synapse:      hs1          http://127.0.0.1:32769/ (rp=http://127.0.0.1:32777)
      deploy.go:208:   synapse:      hs2          http://127.0.0.1:32774/ (rp=http://127.0.0.1:32776)
      deploy.go:209:   mitmproxy:    mitmproxy    controller=http://127.0.0.1:32775/
      client.go:685: [CSAPI] POST hs1/_matrix/client/v3/register => 200 OK (20.990225ms)
      client.go:685: [CSAPI] POST hs1/_matrix/client/v3/register => 200 OK (16.981548ms)
      client.go:685: [CSAPI] POST hs1/_matrix/client/v3/createRoom => 200 OK (99.561305ms)
  JS SDK listening on http://127.0.0.1:45249/
      lang_jssdk.go:42: must.NotError: NewJSClient: %s -> failed to RunHeadless: failed to navigate to http://127.0.0.1:45249: websocket url timeout reached
主要语言
Go
星标
20
派生
13
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

matrix-org/complement-crypto 的其他 Issue

查看 matrix-org/complement-crypto 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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