changedetection: browserless.service: Failed at step EXEC spawning /opt/browserless/start.sh: No such file or directory #48

Closed
opened 2026-02-04 16:22:05 +03:00 by OVERLORD · 12 comments
Owner

Originally created by @adaszko on GitHub (Nov 14, 2024).

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

After installing the changedetection script, one of the systemd services fails at startup. Error message in the title. It completely breaks all the Playwright based fetchers.

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

No response

Please provide detailed steps to reproduce the issue.

  1. Install changedetection script
  2. Attach to the LXC container
  3. journalctl -u browserless.service -f
Originally created by @adaszko on GitHub (Nov 14, 2024). ### Please verify that you have read and understood the guidelines. yes ### A clear and concise description of the issue. After installing the changedetection script, one of the systemd services fails at startup. Error message in the title. It completely breaks all the `Playwright` based fetchers. ### What settings are you currently utilizing? Default Settings ### Which Linux distribution are you employing? Debian 12 ### If relevant, including screenshots or a code block can be helpful in clarifying the issue. _No response_ ### Please provide detailed steps to reproduce the issue. 1. Install changedetection script 2. Attach to the LXC container 3. `journalctl -u browserless.service -f`
OVERLORD added the question label 2026-02-04 16:22:05 +03:00
Author
Owner

@MickLesk commented on GitHub (Nov 19, 2024):

Do you still have the error?

I have just installed it and tested everything. There is not a single error. Unfortunately, I also don't know where this start.sh should be called. Because it is located in /opt/browserless/scripts/start.sh and not in /opt/browserless/start.sh

Do you have a method for follow-up? Do I have to do anything else in the UI?

image
@MickLesk commented on GitHub (Nov 19, 2024): Do you still have the error? I have just installed it and tested everything. There is not a single error. Unfortunately, I also don't know where this start.sh should be called. Because it is located in /opt/browserless/scripts/start.sh and not in /opt/browserless/start.sh Do you have a method for follow-up? Do I have to do anything else in the UI? <img width="1443" alt="image" src="https://github.com/user-attachments/assets/2c092a04-9a45-4ed7-a568-eff991216b3e">
Author
Owner

@adaszko commented on GitHub (Nov 19, 2024):

I'm not at a computer right now. I'll be able to post more details in a week. Hope it can wait. Cheers!

@adaszko commented on GitHub (Nov 19, 2024): I'm not at a computer right now. I'll be able to post more details in a week. Hope it can wait. Cheers!
Author
Owner

@b3nw commented on GitHub (Nov 23, 2024):

having same issue after doing an update using the update script, reverting to my backup of the original install is functional.

root@change:~# journalctl -u browserless.service  -f
Nov 22 21:54:11 change systemd[1]: Started browserless.service - browserless service.
Nov 22 21:54:11 change systemd[1]: browserless.service: Main process exited, code=exited, status=203/EXEC
Nov 22 21:54:11 change systemd[1]: browserless.service: Failed with result 'exit-code'.
Nov 22 21:54:16 change systemd[1]: browserless.service: Scheduled restart job, restart counter is at 80.
Nov 22 21:54:16 change systemd[1]: Stopped browserless.service - browserless service.
Nov 22 21:54:16 change (start.sh)[83687]: browserless.service: Failed to locate executable /opt/browserless/start.sh: No such file or directory
Nov 22 21:54:16 change (start.sh)[83687]: browserless.service: Failed at step EXEC spawning /opt/browserless/start.sh: No such file or directory
Nov 22 21:54:16 change systemd[1]: Started browserless.service - browserless service.
Nov 22 21:54:16 change systemd[1]: browserless.service: Main process exited, code=exited, status=203/EXEC
Nov 22 21:54:16 change systemd[1]: browserless.service: Failed with result 'exit-code'.

I saw the script in /opt/browserless/script/start.sh when I made a sym link to it, I get:

root@change:/opt/browserless# journalctl -u browserless.service  -f
Nov 22 21:55:25 change browserless[84118]:   Installed Browsers:
Nov 22 21:55:25 change browserless[84118]:       at file:///opt/browserless/build/browserless.js:203:23
Nov 22 21:55:25 change browserless[84118]:       at Array.forEach (<anonymous>)
Nov 22 21:55:25 change browserless[84118]:       at Browserless.start (file:///opt/browserless/build/browserless.js:198:19)
Nov 22 21:55:25 change browserless[84118]: } reason: Error: Couldn't load route "/chrome/content?(/)" due to missing browser binary for "ChromeCDP".
Nov 22 21:55:25 change browserless[84118]: Installed Browsers:
Nov 22 21:55:25 change browserless[84118]:     at file:///opt/browserless/build/browserless.js:203:23
Nov 22 21:55:25 change browserless[84118]:     at Array.forEach (<anonymous>)
Nov 22 21:55:25 change browserless[84118]:     at Browserless.start (file:///opt/browserless/build/browserless.js:198:19)
Nov 22 21:55:25 change browserless[84118]: 2024-11-23T03:55:25.789Z browserless.io:index.js:info  Process is finished, exiting
@b3nw commented on GitHub (Nov 23, 2024): having same issue after doing an update using the update script, reverting to my backup of the original install is functional. ``` root@change:~# journalctl -u browserless.service -f Nov 22 21:54:11 change systemd[1]: Started browserless.service - browserless service. Nov 22 21:54:11 change systemd[1]: browserless.service: Main process exited, code=exited, status=203/EXEC Nov 22 21:54:11 change systemd[1]: browserless.service: Failed with result 'exit-code'. Nov 22 21:54:16 change systemd[1]: browserless.service: Scheduled restart job, restart counter is at 80. Nov 22 21:54:16 change systemd[1]: Stopped browserless.service - browserless service. Nov 22 21:54:16 change (start.sh)[83687]: browserless.service: Failed to locate executable /opt/browserless/start.sh: No such file or directory Nov 22 21:54:16 change (start.sh)[83687]: browserless.service: Failed at step EXEC spawning /opt/browserless/start.sh: No such file or directory Nov 22 21:54:16 change systemd[1]: Started browserless.service - browserless service. Nov 22 21:54:16 change systemd[1]: browserless.service: Main process exited, code=exited, status=203/EXEC Nov 22 21:54:16 change systemd[1]: browserless.service: Failed with result 'exit-code'. ``` I saw the script in /opt/browserless/script/start.sh when I made a sym link to it, I get: ``` root@change:/opt/browserless# journalctl -u browserless.service -f Nov 22 21:55:25 change browserless[84118]: Installed Browsers: Nov 22 21:55:25 change browserless[84118]: at file:///opt/browserless/build/browserless.js:203:23 Nov 22 21:55:25 change browserless[84118]: at Array.forEach (<anonymous>) Nov 22 21:55:25 change browserless[84118]: at Browserless.start (file:///opt/browserless/build/browserless.js:198:19) Nov 22 21:55:25 change browserless[84118]: } reason: Error: Couldn't load route "/chrome/content?(/)" due to missing browser binary for "ChromeCDP". Nov 22 21:55:25 change browserless[84118]: Installed Browsers: Nov 22 21:55:25 change browserless[84118]: at file:///opt/browserless/build/browserless.js:203:23 Nov 22 21:55:25 change browserless[84118]: at Array.forEach (<anonymous>) Nov 22 21:55:25 change browserless[84118]: at Browserless.start (file:///opt/browserless/build/browserless.js:198:19) Nov 22 21:55:25 change browserless[84118]: 2024-11-23T03:55:25.789Z browserless.io:index.js:info Process is finished, exiting ```
Author
Owner

@navels commented on GitHub (Nov 26, 2024):

I just ran into this as well. Fixed by going through the latest install script and

  1. going through the install process step-by-step
  2. ensuring the service definitions are up-to-date
  3. restarting the services
@navels commented on GitHub (Nov 26, 2024): I just ran into this as well. Fixed by going through the latest [install script](https://github.com/community-scripts/ProxmoxVE/blob/main/install/changedetection-install.sh) and 1. going through the install process step-by-step 2. ensuring the service definitions are up-to-date 3. restarting the services
Author
Owner

@navels commented on GitHub (Nov 26, 2024):

I have seen this pattern before, where the install script will be updated but the update script is left alone. Not ideal.

@navels commented on GitHub (Nov 26, 2024): I have seen this pattern before, where the install script will be updated but the update script is left alone. Not ideal.
Author
Owner

@SrPeterr commented on GitHub (Nov 29, 2024):

Having the same problem, so the best solution is to install it again? 😅

@SrPeterr commented on GitHub (Nov 29, 2024): Having the same problem, so the best solution is to install it again? 😅
Author
Owner

@sendmebits commented on GitHub (Dec 4, 2024):

@navels did you actually have to make changes in this step? If so can you outline what you did?

2. ensuring the service definitions are up-to-date

@sendmebits commented on GitHub (Dec 4, 2024): @navels did you actually have to make changes in this step? If so can you outline what you did? **_2. ensuring the service definitions are up-to-date_**
Author
Owner

@ViiMorales commented on GitHub (Dec 7, 2024):

I'm having this error while trying to install:

-Collecting playwright
 \  Downloading playwright-1.49.0-py3-none-manylinux1_x86_64.whl (44.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.1/44.1 MB 6.6 MB/s eta 0:00:00
 \Requirement already satisfied: greenlet==3.1.1 in /usr/local/lib/python3.11/dist-packages (from playwright) (3.1.1)
 |Collecting pyee==12.0.0
  Downloading pyee-12.0.0-py3-none-any.whl (14 kB)
 /Requirement already satisfied: typing-extensions in /usr/local/lib/python3.11/dist-packages (from pyee==12.0.0->playwright) (3.10.0.2)
 |Installing collected packages: pyee, playwright
  Attempting uninstall: pyee
    Found existing installation: pyee 11.1.1
    Uninstalling pyee-11.1.1:
      Successfully uninstalled pyee-11.1.1
 /ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pyppeteer-ng 2.0.0rc5 requires pyee<12.0.0,>=11.0.0, but you have pyee 12.0.0 which is incompatible.
Successfully installed playwright-1.49.0 pyee-12.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
 -Cloning into '/opt/browserless'...
 \fatal: unable to access 'https://github.com/browserless/chrome/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
 |
[ERROR] in line 77: exit code 0: while executing command $STD git clone https://github.com/browserless/chrome /opt/browserless

And when trying to navigate to https://github.com/browserless/chrome/ i get a redirection to https://github.com/browserless/browserless could that be part of the issue?

@ViiMorales commented on GitHub (Dec 7, 2024): I'm having this error while trying to install: ``` -Collecting playwright \ Downloading playwright-1.49.0-py3-none-manylinux1_x86_64.whl (44.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.1/44.1 MB 6.6 MB/s eta 0:00:00 \Requirement already satisfied: greenlet==3.1.1 in /usr/local/lib/python3.11/dist-packages (from playwright) (3.1.1) |Collecting pyee==12.0.0 Downloading pyee-12.0.0-py3-none-any.whl (14 kB) /Requirement already satisfied: typing-extensions in /usr/local/lib/python3.11/dist-packages (from pyee==12.0.0->playwright) (3.10.0.2) |Installing collected packages: pyee, playwright Attempting uninstall: pyee Found existing installation: pyee 11.1.1 Uninstalling pyee-11.1.1: Successfully uninstalled pyee-11.1.1 /ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pyppeteer-ng 2.0.0rc5 requires pyee<12.0.0,>=11.0.0, but you have pyee 12.0.0 which is incompatible. Successfully installed playwright-1.49.0 pyee-12.0.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv -Cloning into '/opt/browserless'... \fatal: unable to access 'https://github.com/browserless/chrome/': gnutls_handshake() failed: The TLS connection was non-properly terminated. | [ERROR] in line 77: exit code 0: while executing command $STD git clone https://github.com/browserless/chrome /opt/browserless ``` And when trying to navigate to `https://github.com/browserless/chrome/` i get a redirection to `https://github.com/browserless/browserless` could that be part of the issue?
Author
Owner

@MickLesk commented on GitHub (Dec 7, 2024):

No. Because Chrome is an package of this git

@MickLesk commented on GitHub (Dec 7, 2024): No. Because Chrome is an package of this git
Author
Owner

@adaszko commented on GitHub (Dec 7, 2024):

It's fixed on my end by reinstalling, as others have pointed. Here are instructions on how to preserve the settings:

  1. Go to changedetection -> BACKUPS -> Create backup
  2. Download the zip backup
  3. Install changedetection as a new LXC container
  4. ssh onto Proxmox host and pct push the zip archive to the new container
  5. lxc-attach changedetection container
  6. systemctl stop changedetection
  7. cd /opt/changedetection; unzip BACKUP.zip
  8. systemctl start changedetection
  9. Delete the old changedetection container

I don't think anything more can be made on the scripts side, so closing the issue. Thank you!

@adaszko commented on GitHub (Dec 7, 2024): It's fixed on my end by reinstalling, as others have pointed. Here are instructions on how to preserve the settings: 1. Go to changedetection -> BACKUPS -> Create backup 2. Download the zip backup 3. Install changedetection as a new LXC container 4. ssh onto Proxmox host and `pct push` the zip archive to the new container 5. `lxc-attach` changedetection container 6. `systemctl stop changedetection` 7. `cd /opt/changedetection`; `unzip BACKUP.zip` 8. `systemctl start changedetection` 9. Delete the old changedetection container I don't think anything more can be made on the scripts side, so closing the issue. Thank you!
Author
Owner

@b3nw commented on GitHub (Dec 7, 2024):

@adaszko is this working with both the browserless and fast plaintext for you?

This works for plaintext, but the browserless doesn't work.

Exception: BrowserContext.close: Target page, context or browser has been closed


Dec 07 11:02:17 change changedetection.io[1886]: 2024-12-07 11:02:17.536 | INFO     | changedetectionio.update_worker:run:258 - Processing watch UUID 2c3d800c-c496-4435-896a-d0ff759c8f60 Priority 1 URL https://changedetection.io/CHANGELOG.txt
Dec 07 11:02:17 change changedetection.io[1886]: 2024-12-07 11:02:17.537 | DEBUG    | changedetectionio.processors:call_browser:90 - Selected proxy key 'no-proxy' as proxy URL '' for https://changedetection.io/CHANGELOG.txt
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.081Z browserless.io:server:trace  Handling inbound WebSocket request on "/chrome?launch={defaultViewport:{height:720,width:1280},headless:false,stealth:true}&blockAds=true"
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.083Z browserless.io:server:trace  Found matching WebSocket route handler "/chrome?(/)"
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.083Z browserless.io:server:trace  Authorizing WebSocket request to "http://localhost:3000/chrome?launch=%7B%7D&blockAds=true"
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.083Z browserless.io:server:trace  Validating route query-params with QUERY schema
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.094Z browserless.io:limiter:info  (Running: 0, Pending: 0) Adding to queue, max time allowed is 30,000ms
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.094Z browserless.io:limiter:info  (Running: 1, Pending: 0) Starting new job
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.096Z browserless.io:ChromeCDPWebSocketRoute:info ::1 Starting new ChromeCDP instance
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.097Z browserless.io:ChromeCDPWebSocketRoute:info ::1 ChromeCDP got open port 37303
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.097Z browserless.io:ChromeCDPWebSocketRoute:info ::1 {
Dec 07 11:02:18 change browserless[3500]:   args: [
Dec 07 11:02:18 change browserless[3500]:     '--remote-debugging-port=37303',
Dec 07 11:02:18 change browserless[3500]:     '--no-sandbox',
Dec 07 11:02:18 change browserless[3500]:     '--user-data-dir=/tmp/browserless-data-dirs/browserless-data-dir-83a9258b-ad64-4891-811d-12c664deff07',
Dec 07 11:02:18 change browserless[3500]:     '--load-extension=/opt/browserless/extensions/ublock',
Dec 07 11:02:18 change browserless[3500]:     '--disable-extensions-except=/opt/browserless/extensions/ublock'
Dec 07 11:02:18 change browserless[3500]:   ],
Dec 07 11:02:18 change browserless[3500]:   executablePath: '/usr/bin/google-chrome-stable'
Dec 07 11:02:18 change browserless[3500]: } Launching ChromeCDP Handler
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.853Z browserless.io:ChromeCDPWebSocketRoute:info ::1 ChromeCDP is running on ws://127.0.0.1:37303/devtools/browser/ef8a8890-55bf-4986-8532-715d10fc8577
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.854Z browserless.io:router:trace  Running found WebSocket handler.
Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.854Z browserless.io:ChromeCDPWebSocketRoute:info ::1 Proxying http://localhost:3000/chrome?launch=%7B%7D&blockAds=true to ChromeCDP ws://127.0.0.1:37303/devtools/browser/ef8a8890-55bf-4986-8532-715d10fc8577
Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.250Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 Setting up file:// protocol request rejection
Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.281Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 GET: https://changedetection.io/CHANGELOG.txt
Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.524Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 200: https://changedetection.io/CHANGELOG.txt
Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.529Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 Navigation to https://changedetection.io/CHANGELOG.txt
Dec 07 11:02:19 change changedetection.io[1886]: 2024-12-07 11:02:19.559 | DEBUG    | changedetectionio.blueprint.browser_steps.browser_steps:action_goto_url:92 - Time to goto URL 0.29s
Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.628Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 GET: https://changedetection.io/favicon.ico
Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.670Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 404: https://changedetection.io/favicon.ico
Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.670Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 error: Failed to load resource: the server responded with a status of 404 ()
Dec 07 11:02:39 change browserless[3500]: 2024-12-07T17:02:39.595Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 log: Scanning div,span,form,table,tbody,tr,td,a,p,ul,li,h1,h2,h3,h4,header,footer,section,article,aside,details,main,nav,section,summary,button
Dec 07 11:02:39 change browserless[3500]: 2024-12-07T17:02:39.606Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 log: Scanning %ELEMENTS%
Dec 07 11:02:39 change browserless[3500]: 2024-12-07T17:02:39.607Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 log: Returning 'Possibly in stock' - cant' find any useful matching text
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.095Z browserless.io:limiter:warn  Job has hit timeout after 30,001ms of activity.
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.095Z browserless.io:limiter:info  Calling timeout handler
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.095Z browserless.io:router:error  Websocket job has timedout, sending 429 response
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.095Z browserless.io:limiter:info  (Running: 0, Pending: 0) All jobs complete.
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.103Z browserless.io:router:trace  WebSocket Request handler has finished.
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.103Z browserless.io:browser-manager:info  0 Client(s) are currently connected, Keep-until: 0, force: false
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.103Z browserless.io:browser-manager:info  Closing browser session
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.103Z browserless.io:browser-manager:info  Deleting "/tmp/browserless-data-dirs/browserless-data-dir-83a9258b-ad64-4891-811d-12c664deff07" user-data-dir and session from memory
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.103Z browserless.io:ChromeCDPWebSocketRoute:info ::1 Closing ChromeCDP process and all listeners
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.104Z browserless.io:server:trace  Websocket connection complete
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.136Z browserless.io:browser-manager:info  Deleting data directory "/tmp/browserless-data-dirs/browserless-data-dir-83a9258b-ad64-4891-811d-12c664deff07"
Dec 07 11:02:48 change changedetection.io[1886]: 2024-12-07 11:02:48.173 | ERROR    | changedetectionio.update_worker:run:479 - Exception reached processing watch UUID: 2c3d800c-c496-4435-896a-d0ff759c8f60
Dec 07 11:02:48 change changedetection.io[1886]: 2024-12-07 11:02:48.173 | ERROR    | changedetectionio.update_worker:run:480 - BrowserContext.close: Target page, context or browser has been closed
Dec 07 11:02:48 change changedetection.io[1886]: Playwright console: Watch URL: https://changedetection.io/CHANGELOG.txt error: Failed to load resource: the server responded with a status of 404 () []
Dec 07 11:02:48 change changedetection.io[1886]: Playwright console: Watch URL: https://changedetection.io/CHANGELOG.txt log: Scanning div,span,form,table,tbody,tr,td,a,p,ul,li,h1,h2,h3,h4,header,footer,section,article,aside,details,main,nav,section,summary,button [<JSHandle preview=Scanning div,span,form,table,tbody,tr,td,a,p,ul,li,h1,h2,h3,h4,header,footer,section,article,aside,details,main,nav,section,summary,button>]
Dec 07 11:02:48 change changedetection.io[1886]: Playwright console: Watch URL: https://changedetection.io/CHANGELOG.txt log: Scanning %ELEMENTS% [<JSHandle preview=Scanning %ELEMENTS%>]
Dec 07 11:02:48 change changedetection.io[1886]: Playwright console: Watch URL: https://changedetection.io/CHANGELOG.txt log: Returning 'Possibly in stock' - cant' find any useful matching text [<JSHandle preview=Returning 'Possibly in stock' - cant' find any useful matching text>]
Dec 07 11:02:48 change changedetection.io[1886]: 2024-12-07 11:02:48.174 | DEBUG    | changedetectionio.update_worker:run:580 - Watch 2c3d800c-c496-4435-896a-d0ff759c8f60 done in 30.64s
Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.185Z browserless.io:ChromeCDPWebSocketRoute:error ::1 Error proxying session to ChromeCDP: Error: read ECONNRESET
Dec 07 11:03:14 change browserless[3500]: 2024-12-07T17:03:14.009Z browserless.io:index:info  Current period usage: {"date":1733590994009,"error":0,"maxConcurrent":1,"maxTime":30002,"meanTime":30001.5,"minTime":30001,"rejected":0,"successful":0,"timedout":2,"totalTime":60003,"units":4}
Dec 07 11:03:14 change browserless[3500]: 2024-12-07T17:03:14.009Z browserless.io:index:info  Saving metrics to "/tmp/browserless-metrics.json"
Dec 07 11:03:17 change changedetection.io[1886]: 2024-12-07 11:03:17.313 | INFO     | changedetectionio.store:sync_to_json:384 - Saving JSON..
Dec 07 11:08:14 change browserless[3500]: 2024-12-07T17:08:14.033Z browserless.io:index:info  Current period usage: {"date":1733591294032,"error":0,"maxConcurrent":0,"maxTime":null,"meanTime":0,"minTime":null,"rejected":0,"successful":0,"timedout":0,"totalTime":0,"units":0}
Dec 07 11:08:14 change browserless[3500]: 2024-12-07T17:08:14.033Z browserless.io:index:info  Saving metrics to "/tmp/browserless-metrics.json"
Dec 07 11:08:25 change systemd[1]: Starting systemd-tmpfiles-clean.service - Cleanup of Temporary Directories...
Dec 07 11:08:25 change systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
Dec 07 11:08:25 change systemd[1]: Finished systemd-tmpfiles-clean.service - Cleanup of Temporary Directories.
Dec 07 11:08:25 change systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully.
@b3nw commented on GitHub (Dec 7, 2024): @adaszko is this working with both the browserless and fast plaintext for you? This works for plaintext, but the browserless doesn't work. > Exception: BrowserContext.close: Target page, context or browser has been closed ``` Dec 07 11:02:17 change changedetection.io[1886]: 2024-12-07 11:02:17.536 | INFO | changedetectionio.update_worker:run:258 - Processing watch UUID 2c3d800c-c496-4435-896a-d0ff759c8f60 Priority 1 URL https://changedetection.io/CHANGELOG.txt Dec 07 11:02:17 change changedetection.io[1886]: 2024-12-07 11:02:17.537 | DEBUG | changedetectionio.processors:call_browser:90 - Selected proxy key 'no-proxy' as proxy URL '' for https://changedetection.io/CHANGELOG.txt Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.081Z browserless.io:server:trace Handling inbound WebSocket request on "/chrome?launch={defaultViewport:{height:720,width:1280},headless:false,stealth:true}&blockAds=true" Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.083Z browserless.io:server:trace Found matching WebSocket route handler "/chrome?(/)" Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.083Z browserless.io:server:trace Authorizing WebSocket request to "http://localhost:3000/chrome?launch=%7B%7D&blockAds=true" Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.083Z browserless.io:server:trace Validating route query-params with QUERY schema Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.094Z browserless.io:limiter:info (Running: 0, Pending: 0) Adding to queue, max time allowed is 30,000ms Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.094Z browserless.io:limiter:info (Running: 1, Pending: 0) Starting new job Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.096Z browserless.io:ChromeCDPWebSocketRoute:info ::1 Starting new ChromeCDP instance Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.097Z browserless.io:ChromeCDPWebSocketRoute:info ::1 ChromeCDP got open port 37303 Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.097Z browserless.io:ChromeCDPWebSocketRoute:info ::1 { Dec 07 11:02:18 change browserless[3500]: args: [ Dec 07 11:02:18 change browserless[3500]: '--remote-debugging-port=37303', Dec 07 11:02:18 change browserless[3500]: '--no-sandbox', Dec 07 11:02:18 change browserless[3500]: '--user-data-dir=/tmp/browserless-data-dirs/browserless-data-dir-83a9258b-ad64-4891-811d-12c664deff07', Dec 07 11:02:18 change browserless[3500]: '--load-extension=/opt/browserless/extensions/ublock', Dec 07 11:02:18 change browserless[3500]: '--disable-extensions-except=/opt/browserless/extensions/ublock' Dec 07 11:02:18 change browserless[3500]: ], Dec 07 11:02:18 change browserless[3500]: executablePath: '/usr/bin/google-chrome-stable' Dec 07 11:02:18 change browserless[3500]: } Launching ChromeCDP Handler Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.853Z browserless.io:ChromeCDPWebSocketRoute:info ::1 ChromeCDP is running on ws://127.0.0.1:37303/devtools/browser/ef8a8890-55bf-4986-8532-715d10fc8577 Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.854Z browserless.io:router:trace Running found WebSocket handler. Dec 07 11:02:18 change browserless[3500]: 2024-12-07T17:02:18.854Z browserless.io:ChromeCDPWebSocketRoute:info ::1 Proxying http://localhost:3000/chrome?launch=%7B%7D&blockAds=true to ChromeCDP ws://127.0.0.1:37303/devtools/browser/ef8a8890-55bf-4986-8532-715d10fc8577 Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.250Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 Setting up file:// protocol request rejection Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.281Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 GET: https://changedetection.io/CHANGELOG.txt Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.524Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 200: https://changedetection.io/CHANGELOG.txt Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.529Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 Navigation to https://changedetection.io/CHANGELOG.txt Dec 07 11:02:19 change changedetection.io[1886]: 2024-12-07 11:02:19.559 | DEBUG | changedetectionio.blueprint.browser_steps.browser_steps:action_goto_url:92 - Time to goto URL 0.29s Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.628Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 GET: https://changedetection.io/favicon.ico Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.670Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 404: https://changedetection.io/favicon.ico Dec 07 11:02:19 change browserless[3500]: 2024-12-07T17:02:19.670Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 error: Failed to load resource: the server responded with a status of 404 () Dec 07 11:02:39 change browserless[3500]: 2024-12-07T17:02:39.595Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 log: Scanning div,span,form,table,tbody,tr,td,a,p,ul,li,h1,h2,h3,h4,header,footer,section,article,aside,details,main,nav,section,summary,button Dec 07 11:02:39 change browserless[3500]: 2024-12-07T17:02:39.606Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 log: Scanning %ELEMENTS% Dec 07 11:02:39 change browserless[3500]: 2024-12-07T17:02:39.607Z browserless.io:ChromeCDPWebSocketRoute:trace ::1 log: Returning 'Possibly in stock' - cant' find any useful matching text Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.095Z browserless.io:limiter:warn Job has hit timeout after 30,001ms of activity. Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.095Z browserless.io:limiter:info Calling timeout handler Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.095Z browserless.io:router:error Websocket job has timedout, sending 429 response Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.095Z browserless.io:limiter:info (Running: 0, Pending: 0) All jobs complete. Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.103Z browserless.io:router:trace WebSocket Request handler has finished. Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.103Z browserless.io:browser-manager:info 0 Client(s) are currently connected, Keep-until: 0, force: false Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.103Z browserless.io:browser-manager:info Closing browser session Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.103Z browserless.io:browser-manager:info Deleting "/tmp/browserless-data-dirs/browserless-data-dir-83a9258b-ad64-4891-811d-12c664deff07" user-data-dir and session from memory Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.103Z browserless.io:ChromeCDPWebSocketRoute:info ::1 Closing ChromeCDP process and all listeners Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.104Z browserless.io:server:trace Websocket connection complete Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.136Z browserless.io:browser-manager:info Deleting data directory "/tmp/browserless-data-dirs/browserless-data-dir-83a9258b-ad64-4891-811d-12c664deff07" Dec 07 11:02:48 change changedetection.io[1886]: 2024-12-07 11:02:48.173 | ERROR | changedetectionio.update_worker:run:479 - Exception reached processing watch UUID: 2c3d800c-c496-4435-896a-d0ff759c8f60 Dec 07 11:02:48 change changedetection.io[1886]: 2024-12-07 11:02:48.173 | ERROR | changedetectionio.update_worker:run:480 - BrowserContext.close: Target page, context or browser has been closed Dec 07 11:02:48 change changedetection.io[1886]: Playwright console: Watch URL: https://changedetection.io/CHANGELOG.txt error: Failed to load resource: the server responded with a status of 404 () [] Dec 07 11:02:48 change changedetection.io[1886]: Playwright console: Watch URL: https://changedetection.io/CHANGELOG.txt log: Scanning div,span,form,table,tbody,tr,td,a,p,ul,li,h1,h2,h3,h4,header,footer,section,article,aside,details,main,nav,section,summary,button [<JSHandle preview=Scanning div,span,form,table,tbody,tr,td,a,p,ul,li,h1,h2,h3,h4,header,footer,section,article,aside,details,main,nav,section,summary,button>] Dec 07 11:02:48 change changedetection.io[1886]: Playwright console: Watch URL: https://changedetection.io/CHANGELOG.txt log: Scanning %ELEMENTS% [<JSHandle preview=Scanning %ELEMENTS%>] Dec 07 11:02:48 change changedetection.io[1886]: Playwright console: Watch URL: https://changedetection.io/CHANGELOG.txt log: Returning 'Possibly in stock' - cant' find any useful matching text [<JSHandle preview=Returning 'Possibly in stock' - cant' find any useful matching text>] Dec 07 11:02:48 change changedetection.io[1886]: 2024-12-07 11:02:48.174 | DEBUG | changedetectionio.update_worker:run:580 - Watch 2c3d800c-c496-4435-896a-d0ff759c8f60 done in 30.64s Dec 07 11:02:48 change browserless[3500]: 2024-12-07T17:02:48.185Z browserless.io:ChromeCDPWebSocketRoute:error ::1 Error proxying session to ChromeCDP: Error: read ECONNRESET Dec 07 11:03:14 change browserless[3500]: 2024-12-07T17:03:14.009Z browserless.io:index:info Current period usage: {"date":1733590994009,"error":0,"maxConcurrent":1,"maxTime":30002,"meanTime":30001.5,"minTime":30001,"rejected":0,"successful":0,"timedout":2,"totalTime":60003,"units":4} Dec 07 11:03:14 change browserless[3500]: 2024-12-07T17:03:14.009Z browserless.io:index:info Saving metrics to "/tmp/browserless-metrics.json" Dec 07 11:03:17 change changedetection.io[1886]: 2024-12-07 11:03:17.313 | INFO | changedetectionio.store:sync_to_json:384 - Saving JSON.. Dec 07 11:08:14 change browserless[3500]: 2024-12-07T17:08:14.033Z browserless.io:index:info Current period usage: {"date":1733591294032,"error":0,"maxConcurrent":0,"maxTime":null,"meanTime":0,"minTime":null,"rejected":0,"successful":0,"timedout":0,"totalTime":0,"units":0} Dec 07 11:08:14 change browserless[3500]: 2024-12-07T17:08:14.033Z browserless.io:index:info Saving metrics to "/tmp/browserless-metrics.json" Dec 07 11:08:25 change systemd[1]: Starting systemd-tmpfiles-clean.service - Cleanup of Temporary Directories... Dec 07 11:08:25 change systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully. Dec 07 11:08:25 change systemd[1]: Finished systemd-tmpfiles-clean.service - Cleanup of Temporary Directories. Dec 07 11:08:25 change systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully. ```
Author
Owner

@adaszko commented on GitHub (Dec 8, 2024):

@b3nw Yep (although it's possible I'm not exercising the functionality enough. It will take a while to do that for me). Yours seems to have different symptoms than the error message in this issue title, no?

@adaszko commented on GitHub (Dec 8, 2024): @b3nw Yep (although it's possible I'm not exercising the functionality enough. It will take a while to do that for me). Yours seems to have different symptoms than the error message in this issue title, no?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#48