'Target page, context or browser has been closed' after updating to 0.40.0.0 (0.40.0.2) #1212
Replies: 19 comments 32 replies
-
hmm, moved to discussion for now, i havent seen this at all, not even in the many paid instances we have what hardware are you running? "Parsing everything using the latest version of playwright." what does that mean exactly ? are you referring to the pip library or you mean the "browserless" docker container or? |
Beta Was this translation helpful? Give feedback.
-
what about in the logs? anything? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have a feeling its a mismatch between |
Beta Was this translation helpful? Give feedback.
-
I was using selenium for these monitors before today but just switched to playwright to take advantage of the new Browser steps functionality that was released with v0.40.0.2, so its pretty fresh. Regardless, ive re-pulled a fresh image and theres no improvement. If you can suggest a different playwright version to pull, I can give it a try. |
Beta Was this translation helpful? Give feedback.
-
I experience the same issue and have tried the following different tags for browserless/chrome:
They all give the same error. Reverting the changedetection image to |
Beta Was this translation helpful? Give feedback.
-
Ive also tried a variety of random browserless/chrome images, both puppeteer and chrome-stable versions, going back more than 8 months and none have solved the problem. URLs include: https://www.plex.tv/media-server-downloads/ |
Beta Was this translation helpful? Give feedback.
-
Guys, try to imagine that i'm not sitting next to you, I need more information so it means
|
Beta Was this translation helpful? Give feedback.
-
Can anyone try with |
Beta Was this translation helpful? Give feedback.
-
@bykidi are you doing something that you have failed to mention, like browsersteps or some other option? can you hit the share-url link and give me that? (as it is mentioned in the bug report guidelines todo so) |
Beta Was this translation helpful? Give feedback.
-
I'm going to start just outright deleting any issue posted where the poster has not bothered to include screenshots of all settings |
Beta Was this translation helpful? Give feedback.
-
sorry for late answer, was busy at work. i'm not using any new functionality (yet) since i upgraded to 0.40.0.0 DISTRIB_ID=Ubuntu |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Had the same issue since updating to v0.40.0.0/2 with all my URLs. There were no issues before the v0.40 version Seems to have fixed it by using the "Clear Snapshot History" button in settings. Will monitor and report back if the issue comes back Here is my docker run command: docker pull dgtlmoon/changedetection.io:latest && docker pull browserless/chrome:latest
docker run -d \
--name browserless \
--restart unless-stopped \
--shm-size="2g" \
-p 5556:3000 \
-e "DEFAULT_LAUNCH_ARGS=[\"--window-size=1920,1080\"]" \
browserless/chrome:latest
docker run -d \
--name changedetection.io \
--restart unless-stopped \
-p 5555:5000 \
-e PLAYWRIGHT_DRIVER_URL="ws://192.168.31.100:5556?stealth=1&--disable-web-security=true" \
-v /home/radu/.changedetectionio:/datastore \
dgtlmoon/changedetection.io:latest |
Beta Was this translation helpful? Give feedback.
-
I have the same issue and it only happens when I want to run some browser actions. On a simple page load using Browserless everything works fine. It looks like the job times out and then the browser shuts down, hence ChangeDetection can't forward further commands to it. I tried setting the "Wait seconds before extracting text" param to 5, 10 and 15, but the issue still persists. Device & system: Linux 5.15.0-1021-raspi #23-Ubuntu SMP PREEMPT aarch64 aarch64 aarch64 GNU/Linux
|
Beta Was this translation helpful? Give feedback.
-
yeah I had this exact error message and I had to raise the CONNECTION_TIMEOUT to 300000 (300s) and that solved it. |
Beta Was this translation helpful? Give feedback.
-
From my experience, that happens when the memory or CPU is low for the browserless container. Like when a Windows qemu VM (12g memory assigned. Hypervisor's memory is 32g but already the other linux vm with 18gb is running) is running but the shared memory for the browserless container is 2g at the same time. |
Beta Was this translation helpful? Give feedback.
-
below is what I have and I have a few monitors that are good now after changing to : Basic fast Plaintext/HTTP Client
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
'Target page, context or browser has been closed'.
Parsing everything using the latest version of playwright. Some of them parse properly, some throw an error after updating to the latest and the first 0.40 release of changedetection.
I'm using the latest version of browserless, if that can help (not the one that is specified in the manual. just to test things.)
Version
0.40.0.2
To Reproduce
Update to the latest version of playwright & changedetection
Screenshots

Beta Was this translation helpful? Give feedback.
All reactions