playwright timeout error
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start with vwa/src/envs/browser.py at asetup and page.goto, then inspect the timeout wrapper in vwa/src/envs/utils.py. Reproduce the intermittent navigation failure against http://localhost:9980/ while checking the classifieds Docker logs; done means identifying the cause and establishing a reliable resolution.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- Python
- Stars
- 52
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/ExACT
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
requirement.txt Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 1/5 Under an hour Newbie friendliness 10/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/skills#1811 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
speaches-ai/speaches#678 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
datalayer/mcp-compose#42 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
UKGovernmentBEIS/inspect_evals#2523 ·