playwright timeout error
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
调研方向
从 vwa/src/envs/browser.py 中的 asetup 和 page.goto 开始,然后检查 vwa/src/envs/utils.py 中的 timeout wrapper。在检查 classifieds 的 Docker 日志的同时,针对 http://localhost:9980/ 重现间歇性导航失败;完成的标准是确定原因并建立可靠的解决方案。
由索引模型根据 Issue 内容生成。
描述
Traceback (most recent call last):
File "/data/wangzhenchuan/Projects/LIFT/src/environment_manager.py", line 46, in initial_message_construct
await self.parallel_produce(self.busy_tasks,[create_none_action() for _ in range(len(self.busy_tasks))])
File "/data/wangzhenchuan/Projects/LIFT/src/environment_manager.py", line 115, in parallel_produce
results = await asyncio.gather(*coros, return_exceptions=False)
File "<@beartype(vwa.src.envs.browser.FastCachedwActionMatchingBrowserEnv.areset) at 0x7ff6d8537370>", line 65, in areset
File "/data/wangzhenchuan/Projects/LIFT/vwa/src/envs/browser.py", line 783, in areset
obs, info = await super().areset(seed=seed, options=options)
File "/data/wangzhenchuan/Projects/LIFT/vwa/src/logging.py", line 76, in awrap
result = await afunc(*args, **kwargs)# !!!不要忘记进入了
File "<@beartype(vwa.src.envs.browser.FastCachedBrowserEnv.areset) at 0x7ff6d8536e60>", line 65, in areset
File "/data/wangzhenchuan/Projects/LIFT/vwa/src/envs/browser.py", line 589, in areset
await self.asetup(config_file=config_file)
File "/data/wangzhenchuan/Projects/LIFT/vwa/src/envs/utils.py", line 81, in awrap
return await afunc(*args, **kwargs)
File "/data/wangzhenchuan/Projects/LIFT/vwa/src/envs/utils.py", line 49, in awrap
result = await asyncio.wait_for(afunc(*args, **kwargs), timeout=seconds)
File "/data/wangzhenchuan/anaconda3/envs/easyr1/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/data/wangzhenchuan/Projects/LIFT/vwa/src/envs/browser.py", line 284, in asetup
await page.goto(url)
File "/data/wangzhenchuan/anaconda3/envs/easyr1/lib/python3.10/site-packages/playwright/async_api/_generated.py", line 9251, in goto
await self._impl_obj.goto(
File "/data/wangzhenchuan/anaconda3/envs/easyr1/lib/python3.10/site-packages/playwright/_impl/_page.py", line 479, in goto
return await self._main_frame.goto(**locals_to_params(locals()))
File "/data/wangzhenchuan/anaconda3/envs/easyr1/lib/python3.10/site-packages/playwright/_impl/_frame.py", line 147, in goto
await self._channel.send("goto", locals_to_params(locals()))
File "/data/wangzhenchuan/anaconda3/envs/easyr1/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 61, in send
return await self._connection.wrap_api_call(
File "/data/wangzhenchuan/anaconda3/envs/easyr1/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 482, in wrap_api_call
return await cb()
File "/data/wangzhenchuan/anaconda3/envs/easyr1/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 97, in inner_send
result = next(iter(done)).result()
playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded.
=========================== logs ===========================
navigating to "http://localhost:9980/", waiting until "load"
This error is essentially impossible to reproduce reliably, yet it happens very frequently. Sometimes it goes away on its own after a while, and other times it doesn’t recover by itself. I’ve looked at the classifieds Docker logs but can’t see anything wrong. I’m asking for help—has anyone else encountered the same issue?
- 主要语言
- Python
- 星标
- 52
- 派生
- 18
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/ExACT 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 15/100
-
requirement.txt未关闭
难度 2/5 1-3 小时 新手友好度 45/100
-
难度 1/5 1 小时以内 新手友好度 10/100
相似的 Issue
-
docs pydanty:is-working
难度 2/5 1-3 小时 新手友好度 75/100
pydantic/pydantic-ai#8863 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
run-llama/llama_index#23278 ·
维护者通常 2 天内回复
-
documentation from-review-extraction github-actions priority: low severity:nit
难度 1/5 1 小时以内 新手友好度 92/100
LearningCircuit/local-deep-research#6946 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
oracle/langchain-oracle#323 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
tenstorrent/tt-metal#58057 · 1 条评论 ·
维护者通常 1 天内回复