Open sinanisler opened 3 months ago
already 20sec timeout is stated in code. is the internet connection is perfect for you?
Faced the same issue on another kinsta page. The real issue is the timeout is not handled, it just stops there, no option to re-activate the agent.
Link :: https://kinsta.com/blog/laravel-relationships/
Exception in thread Thread-3 (
File "C:\Users\amitmishra\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "D:\Source\devika\src\agents\agent.py", line 73, in openpage
, raw = await browser.screenshot(project_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Source\devika\src\browser\browser.py", line 50, in screenshot
screenshot = await self.page.screenshot()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Source\devika.venv\Lib\site-packages\playwright\async_api_generated.py", line 9283, in screenshot
await self._impl_obj.screenshot(
File "D:\Source\devika.venv\Lib\site-packages\playwright_impl_page.py", line 715, in screenshot
encoded_binary = await self._channel.send("screenshot", params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Source\devika.venv\Lib\site-packages\playwright_impl_connection.py", line 59, in send
return await self._connection.wrap_api_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Source\devika.venv\Lib\site-packages\playwright_impl_connection.py", line 509, in wrap_api_call
return await cb()
^^^^^^^^^^
File "D:\Source\devika.venv\Lib\site-packages\playwright_impl_connection.py", line 97, in inner_send
result = next(iter(done)).result()
^^^^^^^^^^^^^^^^^^^^^^^^^
playwright._impl._errors.TimeoutError: Timeout 30000ms exceeded.
when it starts to visit more than one URL there is possibility this timeout happening.
it is possible some pages loads slow, too long, too big and effects playwright rendering. (or kinsta blocking agent?) ask this to agent to replicate timeout console log
visit this page and create summarization from it "https://kinsta.com/blog/wordpress-shortcodes/ "
Expected behavior it should just open the URL on browser but failed.Desktop