You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in callback AsyncIOEventEmitter._emit_run.<locals>.callback(<Task finishe...('networkId')>) at /var/www/changedetection.io/.venv/lib/python3.10/site-packages/pyee/asyncio.py:69
handle: <Handle AsyncIOEventEmitter._emit_run.<locals>.callback(<Task finishe...('networkId')>) at /var/www/changedetection.io/.venv/lib/python3.10/site-packages/pyee/asyncio.py:69>
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/var/www/changedetection.io/.venv/lib/python3.10/site-packages/pyee/asyncio.py", line 77, in callback
self.emit("error", exc)
File "/var/www/changedetection.io/.venv/lib/python3.10/site-packages/pyee/base.py", line 211, in emit
self._emit_handle_potential_error(event, args[0] if args else None)
File "/var/www/changedetection.io/.venv/lib/python3.10/site-packages/pyee/base.py", line 169, in _emit_handle_potential_error
raise error
File "/var/www/changedetection.io/.venv/lib/python3.10/site-packages/pyppeteer/network_manager.py", line 157, in _onRequestPaused
requestId = event['networkId']
KeyError: 'networkId'
however self._userRequestInterceptionEnabled was False and self._protocolRequestInterceptionEnabled was True
So basically it's happening when I use the proxy authentication, _updateProtocolRequestInterception sets _protocolRequestInterceptionEnabled to True
i suspect that recaptcha JS is fired from a sub worker or similar
The text was updated successfully, but these errors were encountered:
dgtlmoon
changed the title
[pup2.1.1] async def _onRequestPaused often called with networkId not set in the event (maybe related to fetch happens from within a sub worker)
[pup2.1.1] async def _onRequestPaused often called with networkId not set in the event when using proxy credentials
Feb 10, 2024
dgtlmoon
changed the title
[pup2.1.1] async def _onRequestPaused often called with networkId not set in the event when using proxy credentials
[pup2.1.1] async def _onRequestPaused often called with networkId not set in the event after using page.authenticateFeb 10, 2024
pyppeteer/pyppeteer/network_manager.py
Line 151 in 5265b3e
Maybe related microsoft/playwright#27376
however
self._userRequestInterceptionEnabled
wasFalse
andself._protocolRequestInterceptionEnabled
wasTrue
So basically it's happening when I use the proxy authentication,
_updateProtocolRequestInterception
sets_protocolRequestInterceptionEnabled
toTrue
then the usual page.goto() etc
Sorry for the screenshot..
will add more details as I find them
i suspect that recaptcha JS is fired from a sub worker or similar
The text was updated successfully, but these errors were encountered: