etherpad-lite icon indicating copy to clipboard operation
etherpad-lite copied to clipboard

Update 2.1.0 to 2.2.5 failed

Open FredMa01 opened this issue 1 year ago • 11 comments

Describe the bug When I update from v2.1.0 to v2.2.5, I have errors and Etherpad-lite doesn't start.

To Reproduce Stop the instance Do git pull on master branch : git pull origin Do git checkout v2.2.5 Do git switch -c v2.2.5 Do ./bin/run.sh

Logs

./bin/run.sh
Installing dependencies...
Installing dev dependencies with pnpm
Scope: all 6 workspace projects
Lockfile is up to date, resolution step is skipped
Done in 2.1s
Clearing minified cache...
Creating the admin UI...

> [email protected] build /home/etherpad/admin
> tsc && vite build

vite v5.4.10 building for production...
✓ 1709 modules transformed.
../src/templates/admin/index.html                   0.49 kB │ gzip:   0.31 kB
../src/templates/admin/assets/index-BSQTLHmC.css   10.88 kB │ gzip:   3.19 kB
../src/templates/admin/assets/index-4bT_axYf.js   419.08 kB │ gzip: 135.36 kB
[vite-plugin-static-copy] Copied 1 items.
✓ built in 4.10s

> [email protected] build /home/etherpad/ui
> tsc && vite build

vite v5.4.10 building for production...
✓ 6 modules transformed.
../src/static/oidc/consent.html               1.01 kB │ gzip: 0.49 kB
../src/static/oidc/login.html                 2.60 kB │ gzip: 1.03 kB
../src/static/oidc/assets/style-CLgJS82q.css  1.58 kB │ gzip: 0.75 kB
../src/static/oidc/assets/main-BcSxKxdW.js    0.15 kB │ gzip: 0.15 kB
../src/static/oidc/assets/style-CNP0ENT6.js   0.71 kB │ gzip: 0.40 kB
../src/static/oidc/assets/nested-DhUhjXU9.js  1.06 kB │ gzip: 0.53 kB
✓ built in 123ms
Starting Etherpad...

> [email protected] prod /home/etherpad
> pnpm --filter ep_etherpad-lite run prod


> [email protected] prod /home/etherpad/src
> cross-env NODE_ENV=production node --require tsx/cjs node/server.ts

[2024-10-31T12:18:28.551] [INFO] settings - All relative paths will be interpreted relative to the identified Etherpad base dir: /home/etherpad
[2024-10-31T12:18:28.564] [INFO] settings - settings loaded from: /home/etherpad/settings.json
[2024-10-31T12:18:28.565] [INFO] settings - No credentials file found in /home/etherpad/credentials.json. Ignoring.
[2024-10-31T12:18:28.566] [WARN] settings - loglevel: INFO
[2024-10-31T12:18:28.566] [WARN] settings - logLayoutType: colored
[2024-10-31T12:18:28.567] [INFO] settings - Using skin "colibris" in dir: /home/etherpad/src/static/skins/colibris
[2024-10-31T12:18:28.567] [INFO] settings - Random string used for versioning assets: d81f3baa
[2024-10-31T12:18:29.304] [INFO] server - Starting Etherpad...
[2024-10-31T12:18:29.368] [INFO] plugins - pnpm --version: 8.15.5
[2024-10-31T12:18:29.383] [INFO] plugins - check installed plugins for migration
[2024-10-31T12:18:29.734] [INFO] plugins - Loading plugin ep_adminpads2...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_align...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_author_hover...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_comments_page...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_delete_empty_pads...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_dividing_line...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_embedded_hyperlinks2...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_font_color...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_font_size...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_hash_auth...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_headings2...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_image_upload...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_markdown...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_prompt_for_name...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_spellcheck...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_table_of_contents...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_user_fontsize_version_2...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_helmet...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_etherpad-lite...
[2024-10-31T12:18:29.738] [INFO] plugins - Loaded 19 plugins
[2024-10-31T12:18:30.233] [WARN] settings - oidc-provider WARNING: Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release.
[2024-10-31T12:18:31.090] [INFO] settings - Note: bcrypt library could not be found. bcrypt support will be disabled.
[2024-10-31T12:18:31.090] [INFO] settings - Run "npm install bcrypt" to enable bcrypt
[2024-10-31T12:18:31.091] [INFO] settings - Note: scrypt library could not be found. scrypt support will be disabled.
[2024-10-31T12:18:31.091] [INFO] settings - Run "npm install scrypt" to enable scrypt
[2024-10-31T12:18:31.091] [INFO] settings - Note: argon2 library could not be found. argon2 support will be disabled.
[2024-10-31T12:18:31.091] [INFO] settings - Run "npm install argon2" to enable argon2
[2024-10-31T12:18:31.172] [INFO] server - Installed plugins: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
[2024-10-31T12:18:31.174] [INFO] settings - Report bugs at https://github.com/ether/etherpad-lite/issues
[2024-10-31T12:18:31.175] [INFO] settings - Your Etherpad version is 2.2.5 (1c459b3)
[2024-10-31T12:18:31.179] [ERROR] settings - (node:270535) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
▲ [WARNING] The condition "default" here will never be used as it comes after both "import" and "require" [package.json]

    plugin_packages/.versions/[email protected]/package.json:42:6:
      42 │       "default": "./underscore-umd.js"
         ╵       ~~~~~~~~~

  The "import" condition comes earlier and will be used for all "import" statements:

    plugin_packages/.versions/[email protected]/package.json:24:6:
      24 │       "import": {
         ╵       ~~~~~~~~

  The "require" condition comes earlier and will be used for all "require" calls:

    plugin_packages/.versions/[email protected]/package.json:33:6:
      33 │       "require": {
         ╵       ~~~~~~~~~

✘ [ERROR] Could not resolve require("./locale/**/*")

    plugin_packages/.versions/[email protected]/static/js/moment-with-locales.min.js:1:14102:
      1 │ ...a[e]&&"undefined"!=typeof module&&module&&module.exports)try{a=ea._abbr,require("./locale/"+e),_a(a)}catch(e){}return sa[e]}function _a(e,a){var t;return e&&((t=o(a)?oa(e):i...
        ╵                                                                                    ~~~~~~~~~~~~~

[2024-10-31T12:18:32.256] [ERROR] server - Error occurred while starting Etherpad
[2024-10-31T12:18:32.257] [ERROR] server - Metrics at time of fatal error:
{
  "httpStartTime": 0,
  "memoryUsage": 313520128,
  "memoryUsageHeap": 135770664,
  "ueberdb_lockAwaits": 0,
  "ueberdb_lockAcquires": 2,
  "ueberdb_lockReleases": 2,
  "ueberdb_reads": 1,
  "ueberdb_readsFailed": 0,
  "ueberdb_readsFinished": 1,
  "ueberdb_readsFromCache": 0,
  "ueberdb_readsFromDb": 1,
  "ueberdb_readsFromDbFailed": 0,
  "ueberdb_readsFromDbFinished": 1,
  "ueberdb_writes": 1,
  "ueberdb_writesFailed": 0,
  "ueberdb_writesFinished": 1,
  "ueberdb_writesObsoleted": 0,
  "ueberdb_writesToDb": 1,
  "ueberdb_writesToDbFailed": 0,
  "ueberdb_writesToDbFinished": 1,
  "ueberdb_writesToDbRetried": 0,
  "totalUsers": 0,
  "activePads": 0
}
[2024-10-31T12:18:32.257] [ERROR] server - Error: Build failed with 1 error:
plugin_packages/.versions/[email protected]/static/js/moment-with-locales.min.js:1:14102: ERROR: Could not resolve require("./locale/**/*")
    at failureErrorWithLog (/home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1476:15)
    at /home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:945:25
    at /home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:897:52
    at buildResponseToResult (/home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:943:7)
    at /home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:970:16
    at responseCallbacks.<computed> (/home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:622:9)
    at handleIncomingPacket (/home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:677:12)
    at Socket.readFromStdout (/home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:600:7)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
[2024-10-31T12:18:32.257] [INFO] server - Exiting...
[2024-10-31T12:18:32.257] [INFO] server - Waiting for Node.js to exit...
[2024-10-31T12:18:37.257] [ERROR] server - Something that should have been cleaned up during the shutdown hook (such as a timer, worker thread, or open connection) is preventing Node.js from exiting
[2024-10-31T12:18:37.258] [ERROR] server - Enable `dumpOnUncleanExit` setting to get a dump of objects preventing a clean exit
[2024-10-31T12:18:37.258] [ERROR] server - Forcing an unclean exit...
/home/etherpad/src:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  [email protected] prod: `cross-env NODE_ENV=production node --require tsx/cjs node/server.ts`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.

I remove all plugins : pnpm plugins rm ep_adminpads2 ep_align ep_author_hover ep_comments_page ep_delete_empty_pads ep_dividing_line ep_embedded_hyperlinks2 ep_font_color ep_font_size ep_hash_auth ep_headings2 ep_helmet ep_image_upload ep_markdown ep_prompt_for_name ep_spellcheck ep_table_of_contents ep_user_fontsize_version_2 I start ./bin/run.sh

Installing dependencies...
Installing dev dependencies with pnpm
Scope: all 6 workspace projects
Lockfile is up to date, resolution step is skipped
Done in 2.1s
Clearing minified cache...
Creating the admin UI...

> [email protected] build /home/etherpad/admin
> tsc && vite build

vite v5.4.10 building for production...
✓ 1709 modules transformed.
../src/templates/admin/index.html                   0.49 kB │ gzip:   0.31 kB
../src/templates/admin/assets/index-BSQTLHmC.css   10.88 kB │ gzip:   3.19 kB
../src/templates/admin/assets/index-4bT_axYf.js   419.08 kB │ gzip: 135.36 kB
[vite-plugin-static-copy] Copied 1 items.
✓ built in 4.11s

> [email protected] build /home/etherpad/ui
> tsc && vite build

vite v5.4.10 building for production...
✓ 6 modules transformed.
../src/static/oidc/consent.html               1.01 kB │ gzip: 0.49 kB
../src/static/oidc/login.html                 2.60 kB │ gzip: 1.03 kB
../src/static/oidc/assets/style-CLgJS82q.css  1.58 kB │ gzip: 0.75 kB
../src/static/oidc/assets/main-BcSxKxdW.js    0.15 kB │ gzip: 0.15 kB
../src/static/oidc/assets/style-CNP0ENT6.js   0.71 kB │ gzip: 0.40 kB
../src/static/oidc/assets/nested-DhUhjXU9.js  1.06 kB │ gzip: 0.53 kB
✓ built in 124ms
Starting Etherpad...

> [email protected] prod /home/etherpad
> pnpm --filter ep_etherpad-lite run prod


> [email protected] prod /home/etherpad/src
> cross-env NODE_ENV=production node --require tsx/cjs node/server.ts

[2024-10-31T12:38:48.484] [INFO] settings - All relative paths will be interpreted relative to the identified Etherpad base dir: /home/etherpad
[2024-10-31T12:38:48.497] [INFO] settings - settings loaded from: /home/etherpad/settings.json
[2024-10-31T12:38:48.499] [INFO] settings - No credentials file found in /home/etherpad/credentials.json. Ignoring.
[2024-10-31T12:38:48.499] [WARN] settings - loglevel: INFO
[2024-10-31T12:38:48.500] [WARN] settings - logLayoutType: colored
[2024-10-31T12:38:48.500] [INFO] settings - Using skin "colibris" in dir: /home/etherpad/src/static/skins/colibris
[2024-10-31T12:38:48.501] [INFO] settings - Random string used for versioning assets: dab04cb4
[2024-10-31T12:38:49.229] [INFO] server - Starting Etherpad...
[2024-10-31T12:38:49.294] [INFO] plugins - pnpm --version: 8.15.5
[2024-10-31T12:38:49.308] [INFO] plugins - check installed plugins for migration
[2024-10-31T12:38:49.311] [INFO] plugins - Loading plugin ep_etherpad-lite...
[2024-10-31T12:38:49.311] [INFO] plugins - Loaded 1 plugins
[2024-10-31T12:38:49.759] [WARN] settings - oidc-provider WARNING: Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release.
[2024-10-31T12:38:50.262] [INFO] server - Installed plugins:
[2024-10-31T12:38:50.264] [INFO] settings - Report bugs at https://github.com/ether/etherpad-lite/issues
[2024-10-31T12:38:50.264] [INFO] settings - Your Etherpad version is 2.2.5 (1c459b3)
[2024-10-31T12:38:51.470] [INFO] http - HTTP server listening for connections
[2024-10-31T12:38:51.470] [INFO] settings - You can access your Etherpad instance at http://0.0.0.0:9001/
[2024-10-31T12:38:51.471] [INFO] settings - The plugin admin page is at http://0.0.0.0:9001/admin/plugins
[2024-10-31T12:38:51.471] [INFO] server - Etherpad is running

All seems fine. I reload etherpad-lite service and try to load a pad but I have this error

[WARN] client - Error: Uncaught Error: Reconnect timed out -- {
  errorId: 'j6ke7uutE5EGZfIHyk3Y',
  type: 'Uncaught exception',
  msg: 'Error: Uncaught Error: Reconnect timed out',
  url: 'https://mypad.example.com/p/f',
  source: 'https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js',
  linenumber: 56,
  userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36',
  stack: 'Error: Reconnect timed out\n' +
    '    at No.<anonymous> (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:84505)\n' +
    '    at at.emit (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:44693)\n' +
    '    at No.reconnect (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:79961)\n' +
    '    at https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:80231\n' +
    '    at t.a (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:78247)\n' +
    '    at at.emit (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:44693)\n' +
    '    at t.onError (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:62665)\n' +
    '    at at.emit (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:44693)\n' +
    '    at xa.onError (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:46218)\n' +
    '    at ws.onerror (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:53009)'

An idea ?

Thanks Fred

FredMa01 avatar Oct 31 '24 11:10 FredMa01

Describe the bug When I update from v2.1.0 to v2.2.5, I have errors and Etherpad-lite doesn't start.

To Reproduce Stop the instance Do git pull on master branch : git pull origin Do git checkout v2.2.5 Do git switch -c v2.2.5 Do ./bin/run.sh

Logs

./bin/run.sh
Installing dependencies...
Installing dev dependencies with pnpm
Scope: all 6 workspace projects
Lockfile is up to date, resolution step is skipped
Done in 2.1s
Clearing minified cache...
Creating the admin UI...

> [email protected] build /home/etherpad/admin
> tsc && vite build

vite v5.4.10 building for production...
✓ 1709 modules transformed.
../src/templates/admin/index.html                   0.49 kB │ gzip:   0.31 kB
../src/templates/admin/assets/index-BSQTLHmC.css   10.88 kB │ gzip:   3.19 kB
../src/templates/admin/assets/index-4bT_axYf.js   419.08 kB │ gzip: 135.36 kB
[vite-plugin-static-copy] Copied 1 items.
✓ built in 4.10s

> [email protected] build /home/etherpad/ui
> tsc && vite build

vite v5.4.10 building for production...
✓ 6 modules transformed.
../src/static/oidc/consent.html               1.01 kB │ gzip: 0.49 kB
../src/static/oidc/login.html                 2.60 kB │ gzip: 1.03 kB
../src/static/oidc/assets/style-CLgJS82q.css  1.58 kB │ gzip: 0.75 kB
../src/static/oidc/assets/main-BcSxKxdW.js    0.15 kB │ gzip: 0.15 kB
../src/static/oidc/assets/style-CNP0ENT6.js   0.71 kB │ gzip: 0.40 kB
../src/static/oidc/assets/nested-DhUhjXU9.js  1.06 kB │ gzip: 0.53 kB
✓ built in 123ms
Starting Etherpad...

> [email protected] prod /home/etherpad
> pnpm --filter ep_etherpad-lite run prod


> [email protected] prod /home/etherpad/src
> cross-env NODE_ENV=production node --require tsx/cjs node/server.ts

[2024-10-31T12:18:28.551] [INFO] settings - All relative paths will be interpreted relative to the identified Etherpad base dir: /home/etherpad
[2024-10-31T12:18:28.564] [INFO] settings - settings loaded from: /home/etherpad/settings.json
[2024-10-31T12:18:28.565] [INFO] settings - No credentials file found in /home/etherpad/credentials.json. Ignoring.
[2024-10-31T12:18:28.566] [WARN] settings - loglevel: INFO
[2024-10-31T12:18:28.566] [WARN] settings - logLayoutType: colored
[2024-10-31T12:18:28.567] [INFO] settings - Using skin "colibris" in dir: /home/etherpad/src/static/skins/colibris
[2024-10-31T12:18:28.567] [INFO] settings - Random string used for versioning assets: d81f3baa
[2024-10-31T12:18:29.304] [INFO] server - Starting Etherpad...
[2024-10-31T12:18:29.368] [INFO] plugins - pnpm --version: 8.15.5
[2024-10-31T12:18:29.383] [INFO] plugins - check installed plugins for migration
[2024-10-31T12:18:29.734] [INFO] plugins - Loading plugin ep_adminpads2...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_align...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_author_hover...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_comments_page...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_delete_empty_pads...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_dividing_line...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_embedded_hyperlinks2...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_font_color...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_font_size...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_hash_auth...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_headings2...
[2024-10-31T12:18:29.735] [INFO] plugins - Loading plugin ep_image_upload...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_markdown...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_prompt_for_name...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_spellcheck...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_table_of_contents...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_user_fontsize_version_2...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_helmet...
[2024-10-31T12:18:29.736] [INFO] plugins - Loading plugin ep_etherpad-lite...
[2024-10-31T12:18:29.738] [INFO] plugins - Loaded 19 plugins
[2024-10-31T12:18:30.233] [WARN] settings - oidc-provider WARNING: Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release.
[2024-10-31T12:18:31.090] [INFO] settings - Note: bcrypt library could not be found. bcrypt support will be disabled.
[2024-10-31T12:18:31.090] [INFO] settings - Run "npm install bcrypt" to enable bcrypt
[2024-10-31T12:18:31.091] [INFO] settings - Note: scrypt library could not be found. scrypt support will be disabled.
[2024-10-31T12:18:31.091] [INFO] settings - Run "npm install scrypt" to enable scrypt
[2024-10-31T12:18:31.091] [INFO] settings - Note: argon2 library could not be found. argon2 support will be disabled.
[2024-10-31T12:18:31.091] [INFO] settings - Run "npm install argon2" to enable argon2
[2024-10-31T12:18:31.172] [INFO] server - Installed plugins: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
[2024-10-31T12:18:31.174] [INFO] settings - Report bugs at https://github.com/ether/etherpad-lite/issues
[2024-10-31T12:18:31.175] [INFO] settings - Your Etherpad version is 2.2.5 (1c459b3)
[2024-10-31T12:18:31.179] [ERROR] settings - (node:270535) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
▲ [WARNING] The condition "default" here will never be used as it comes after both "import" and "require" [package.json]

    plugin_packages/.versions/[email protected]/package.json:42:6:
      42 │       "default": "./underscore-umd.js"
         ╵       ~~~~~~~~~

  The "import" condition comes earlier and will be used for all "import" statements:

    plugin_packages/.versions/[email protected]/package.json:24:6:
      24 │       "import": {
         ╵       ~~~~~~~~

  The "require" condition comes earlier and will be used for all "require" calls:

    plugin_packages/.versions/[email protected]/package.json:33:6:
      33 │       "require": {
         ╵       ~~~~~~~~~

✘ [ERROR] Could not resolve require("./locale/**/*")

    plugin_packages/.versions/[email protected]/static/js/moment-with-locales.min.js:1:14102:
      1 │ ...a[e]&&"undefined"!=typeof module&&module&&module.exports)try{a=ea._abbr,require("./locale/"+e),_a(a)}catch(e){}return sa[e]}function _a(e,a){var t;return e&&((t=o(a)?oa(e):i...
        ╵                                                                                    ~~~~~~~~~~~~~

[2024-10-31T12:18:32.256] [ERROR] server - Error occurred while starting Etherpad
[2024-10-31T12:18:32.257] [ERROR] server - Metrics at time of fatal error:
{
  "httpStartTime": 0,
  "memoryUsage": 313520128,
  "memoryUsageHeap": 135770664,
  "ueberdb_lockAwaits": 0,
  "ueberdb_lockAcquires": 2,
  "ueberdb_lockReleases": 2,
  "ueberdb_reads": 1,
  "ueberdb_readsFailed": 0,
  "ueberdb_readsFinished": 1,
  "ueberdb_readsFromCache": 0,
  "ueberdb_readsFromDb": 1,
  "ueberdb_readsFromDbFailed": 0,
  "ueberdb_readsFromDbFinished": 1,
  "ueberdb_writes": 1,
  "ueberdb_writesFailed": 0,
  "ueberdb_writesFinished": 1,
  "ueberdb_writesObsoleted": 0,
  "ueberdb_writesToDb": 1,
  "ueberdb_writesToDbFailed": 0,
  "ueberdb_writesToDbFinished": 1,
  "ueberdb_writesToDbRetried": 0,
  "totalUsers": 0,
  "activePads": 0
}
[2024-10-31T12:18:32.257] [ERROR] server - Error: Build failed with 1 error:
plugin_packages/.versions/[email protected]/static/js/moment-with-locales.min.js:1:14102: ERROR: Could not resolve require("./locale/**/*")
    at failureErrorWithLog (/home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1476:15)
    at /home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:945:25
    at /home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:897:52
    at buildResponseToResult (/home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:943:7)
    at /home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:970:16
    at responseCallbacks.<computed> (/home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:622:9)
    at handleIncomingPacket (/home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:677:12)
    at Socket.readFromStdout (/home/etherpad/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:600:7)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
[2024-10-31T12:18:32.257] [INFO] server - Exiting...
[2024-10-31T12:18:32.257] [INFO] server - Waiting for Node.js to exit...
[2024-10-31T12:18:37.257] [ERROR] server - Something that should have been cleaned up during the shutdown hook (such as a timer, worker thread, or open connection) is preventing Node.js from exiting
[2024-10-31T12:18:37.258] [ERROR] server - Enable `dumpOnUncleanExit` setting to get a dump of objects preventing a clean exit
[2024-10-31T12:18:37.258] [ERROR] server - Forcing an unclean exit...
/home/etherpad/src:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  [email protected] prod: `cross-env NODE_ENV=production node --require tsx/cjs node/server.ts`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.

I remove all plugins : pnpm plugins rm ep_adminpads2 ep_align ep_author_hover ep_comments_page ep_delete_empty_pads ep_dividing_line ep_embedded_hyperlinks2 ep_font_color ep_font_size ep_hash_auth ep_headings2 ep_helmet ep_image_upload ep_markdown ep_prompt_for_name ep_spellcheck ep_table_of_contents ep_user_fontsize_version_2 I start ./bin/run.sh

Installing dependencies...
Installing dev dependencies with pnpm
Scope: all 6 workspace projects
Lockfile is up to date, resolution step is skipped
Done in 2.1s
Clearing minified cache...
Creating the admin UI...

> [email protected] build /home/etherpad/admin
> tsc && vite build

vite v5.4.10 building for production...
✓ 1709 modules transformed.
../src/templates/admin/index.html                   0.49 kB │ gzip:   0.31 kB
../src/templates/admin/assets/index-BSQTLHmC.css   10.88 kB │ gzip:   3.19 kB
../src/templates/admin/assets/index-4bT_axYf.js   419.08 kB │ gzip: 135.36 kB
[vite-plugin-static-copy] Copied 1 items.
✓ built in 4.11s

> [email protected] build /home/etherpad/ui
> tsc && vite build

vite v5.4.10 building for production...
✓ 6 modules transformed.
../src/static/oidc/consent.html               1.01 kB │ gzip: 0.49 kB
../src/static/oidc/login.html                 2.60 kB │ gzip: 1.03 kB
../src/static/oidc/assets/style-CLgJS82q.css  1.58 kB │ gzip: 0.75 kB
../src/static/oidc/assets/main-BcSxKxdW.js    0.15 kB │ gzip: 0.15 kB
../src/static/oidc/assets/style-CNP0ENT6.js   0.71 kB │ gzip: 0.40 kB
../src/static/oidc/assets/nested-DhUhjXU9.js  1.06 kB │ gzip: 0.53 kB
✓ built in 124ms
Starting Etherpad...

> [email protected] prod /home/etherpad
> pnpm --filter ep_etherpad-lite run prod


> [email protected] prod /home/etherpad/src
> cross-env NODE_ENV=production node --require tsx/cjs node/server.ts

[2024-10-31T12:38:48.484] [INFO] settings - All relative paths will be interpreted relative to the identified Etherpad base dir: /home/etherpad
[2024-10-31T12:38:48.497] [INFO] settings - settings loaded from: /home/etherpad/settings.json
[2024-10-31T12:38:48.499] [INFO] settings - No credentials file found in /home/etherpad/credentials.json. Ignoring.
[2024-10-31T12:38:48.499] [WARN] settings - loglevel: INFO
[2024-10-31T12:38:48.500] [WARN] settings - logLayoutType: colored
[2024-10-31T12:38:48.500] [INFO] settings - Using skin "colibris" in dir: /home/etherpad/src/static/skins/colibris
[2024-10-31T12:38:48.501] [INFO] settings - Random string used for versioning assets: dab04cb4
[2024-10-31T12:38:49.229] [INFO] server - Starting Etherpad...
[2024-10-31T12:38:49.294] [INFO] plugins - pnpm --version: 8.15.5
[2024-10-31T12:38:49.308] [INFO] plugins - check installed plugins for migration
[2024-10-31T12:38:49.311] [INFO] plugins - Loading plugin ep_etherpad-lite...
[2024-10-31T12:38:49.311] [INFO] plugins - Loaded 1 plugins
[2024-10-31T12:38:49.759] [WARN] settings - oidc-provider WARNING: Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release.
[2024-10-31T12:38:50.262] [INFO] server - Installed plugins:
[2024-10-31T12:38:50.264] [INFO] settings - Report bugs at https://github.com/ether/etherpad-lite/issues
[2024-10-31T12:38:50.264] [INFO] settings - Your Etherpad version is 2.2.5 (1c459b3)
[2024-10-31T12:38:51.470] [INFO] http - HTTP server listening for connections
[2024-10-31T12:38:51.470] [INFO] settings - You can access your Etherpad instance at http://0.0.0.0:9001/
[2024-10-31T12:38:51.471] [INFO] settings - The plugin admin page is at http://0.0.0.0:9001/admin/plugins
[2024-10-31T12:38:51.471] [INFO] server - Etherpad is running

All seems fine. I reload etherpad-lite service and try to load a pad but I have this error

[WARN] client - Error: Uncaught Error: Reconnect timed out -- {
  errorId: 'j6ke7uutE5EGZfIHyk3Y',
  type: 'Uncaught exception',
  msg: 'Error: Uncaught Error: Reconnect timed out',
  url: 'https://mypad.example.com/p/f',
  source: 'https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js',
  linenumber: 56,
  userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36',
  stack: 'Error: Reconnect timed out\n' +
    '    at No.<anonymous> (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:84505)\n' +
    '    at at.emit (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:44693)\n' +
    '    at No.reconnect (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:79961)\n' +
    '    at https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:80231\n' +
    '    at t.a (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:78247)\n' +
    '    at at.emit (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:44693)\n' +
    '    at t.onError (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:62665)\n' +
    '    at at.emit (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:44693)\n' +
    '    at xa.onError (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:46218)\n' +
    '    at ws.onerror (https://mypad.example.com/padbootstrap-xkQhXhQbwDA.min.js:56:53009)'

An idea ?

Thanks Fred

Try to update the ep_comments_page plugin. I've already issued a patch for this.

SamTV12345 avatar Nov 03 '24 10:11 SamTV12345

Thanks but my problem is when I remove all plugins. Etherpad doesn't restart.

FredMa01 avatar Nov 03 '24 11:11 FredMa01

I see. But what's the error message then? The stacktrace says that Etherpad fails to start due to the old plugin version.

SamTV12345 avatar Nov 03 '24 11:11 SamTV12345

All seems well at restart but I have a "Error: Reconnect timed out" when I try to use a pad. Moreover, I haven't acces to admin and plugin page on 2.1.0 and 2.2.25, with ou without plugins.... Sans titre 2

systemctl start etherpad-lite
tail -f /var/log/syslog
2024-11-03T12:54:59.356368+01:00 ks5 run.sh[365924]: Installing dev dependencies with pnpm
2024-11-03T12:54:59.996312+01:00 ks5 run.sh[365940]: Scope: all 6 workspace projects
2024-11-03T12:55:00.055411+01:00 ks5 run.sh[365940]: #033[?25l#033[36m?#033[39m #033[1mThe modules directories will be removed and reinstalled from scratch. Proceed?#033[22m #033[2m(Y/n)#033[22m #033[2m‣#033[22m #033[36mtrue#033[39m#033[4D#033[?25h
2024-11-03T12:55:00.055480+01:00 ks5 run.sh[365924]: Clearing minified cache...
2024-11-03T12:55:00.057333+01:00 ks5 run.sh[365921]: Cannot create the admin UI in production mode
2024-11-03T12:55:00.057417+01:00 ks5 run.sh[365921]: Starting Etherpad...
2024-11-03T12:55:00.588100+01:00 ks5 run.sh[365921]: > [email protected] prod /home/etherpad
2024-11-03T12:55:00.588166+01:00 ks5 run.sh[365921]: > pnpm --filter ep_etherpad-lite run prod
2024-11-03T12:55:01.145410+01:00 ks5 run.sh[365963]: > [email protected] prod /home/etherpad/src
2024-11-03T12:55:01.145461+01:00 ks5 run.sh[365963]: > cross-env NODE_ENV=production node --require tsx/cjs node/server.ts
2024-11-03T12:55:01.642588+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:01.640] [INFO] settings - #033[39mAll relative paths will be interpreted relative to the identified Etherpad base dir: /home/etherpad
2024-11-03T12:55:01.661431+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:01.661] [INFO] settings - #033[39msettings loaded from: /home/etherpad/settings.json
2024-11-03T12:55:01.662971+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:01.662] [INFO] settings - #033[39mNo credentials file found in /home/etherpad/credentials.json. Ignoring.
2024-11-03T12:55:01.663743+01:00 ks5 run.sh[365987]: #033[33m[2024-11-03T12:55:01.663] [WARN] settings - #033[39mloglevel: INFO
2024-11-03T12:55:01.663893+01:00 ks5 run.sh[365987]: #033[33m[2024-11-03T12:55:01.663] [WARN] settings - #033[39mlogLayoutType: colored
2024-11-03T12:55:01.664662+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:01.664] [INFO] settings - #033[39mUsing skin "colibris" in dir: /home/etherpad/src/static/skins/colibris
2024-11-03T12:55:01.665348+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:01.665] [INFO] settings - #033[39mRandom string used for versioning assets: 54c58bcf
2024-11-03T12:55:02.372596+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:02.372] [INFO] server - #033[39mStarting Etherpad...
2024-11-03T12:55:02.436315+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:02.435] [INFO] plugins - #033[39mpnpm --version: 8.15.5
2024-11-03T12:55:02.450524+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:02.450] [INFO] plugins - #033[39mcheck installed plugins for migration
2024-11-03T12:55:03.066934+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.066] [INFO] plugins - #033[39mLoading plugin ep_adminpads2...
2024-11-03T12:55:03.067057+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.066] [INFO] plugins - #033[39mLoading plugin ep_align...
2024-11-03T12:55:03.067148+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.066] [INFO] plugins - #033[39mLoading plugin ep_author_hover...
2024-11-03T12:55:03.067326+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.067] [INFO] plugins - #033[39mLoading plugin ep_comments_page...
2024-11-03T12:55:03.067492+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.067] [INFO] plugins - #033[39mLoading plugin ep_delete_empty_pads...
2024-11-03T12:55:03.067674+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.067] [INFO] plugins - #033[39mLoading plugin ep_dividing_line...
2024-11-03T12:55:03.067842+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.067] [INFO] plugins - #033[39mLoading plugin ep_embedded_hyperlinks2...
2024-11-03T12:55:03.068007+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.067] [INFO] plugins - #033[39mLoading plugin ep_font_color...
2024-11-03T12:55:03.068169+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_font_size...
2024-11-03T12:55:03.068330+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_hash_auth...
2024-11-03T12:55:03.068495+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_headings2...
2024-11-03T12:55:03.068668+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_helmet...
2024-11-03T12:55:03.068856+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_image_upload...
2024-11-03T12:55:03.069005+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_markdown...
2024-11-03T12:55:03.069156+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.069] [INFO] plugins - #033[39mLoading plugin ep_prompt_for_name...
2024-11-03T12:55:03.069325+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.069] [INFO] plugins - #033[39mLoading plugin ep_spellcheck...
2024-11-03T12:55:03.069458+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.069] [INFO] plugins - #033[39mLoading plugin ep_table_of_contents...
2024-11-03T12:55:03.069620+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.069] [INFO] plugins - #033[39mLoading plugin ep_user_fontsize_version_2...
2024-11-03T12:55:03.069763+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.069] [INFO] plugins - #033[39mLoading plugin ep_etherpad-lite...
2024-11-03T12:55:03.073972+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.073] [INFO] plugins - #033[39mLoaded 19 plugins
2024-11-03T12:55:03.538559+01:00 ks5 run.sh[365987]: #033[33m[2024-11-03T12:55:03.538] [WARN] settings - #033[39moidc-provider WARNING: Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release.
2024-11-03T12:55:04.302662+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.302] [INFO] settings - #033[39mNote: bcrypt library could not be found. bcrypt support will be disabled.
2024-11-03T12:55:04.302732+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.302] [INFO] settings - #033[39mRun "npm install bcrypt" to enable bcrypt
2024-11-03T12:55:04.302826+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.302] [INFO] settings - #033[39mNote: scrypt library could not be found. scrypt support will be disabled.
2024-11-03T12:55:04.302883+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.302] [INFO] settings - #033[39mRun "npm install scrypt" to enable scrypt
2024-11-03T12:55:04.303248+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.303] [INFO] settings - #033[39mNote: argon2 library could not be found. argon2 support will be disabled.
2024-11-03T12:55:04.303300+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.303] [INFO] settings - #033[39mRun "npm install argon2" to enable argon2
2024-11-03T12:55:04.386530+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.386] [INFO] server - #033[39mInstalled plugins: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
2024-11-03T12:55:04.388059+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.387] [INFO] settings - #033[39mReport bugs at https://github.com/ether/etherpad-lite/issues
2024-11-03T12:55:04.388680+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.388] [INFO] settings - #033[39mYour Etherpad version is 2.2.5 (1c459b3)
2024-11-03T12:55:04.393287+01:00 ks5 run.sh[365987]: #033[91m[2024-11-03T12:55:04.393] [ERROR] settings - #033[39m(node:365987) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
2024-11-03T12:55:04.393310+01:00 ks5 run.sh[365987]: on September 8, 2024 and reach end-of-support on September 8, 2025.
2024-11-03T12:55:04.393339+01:00 ks5 run.sh[365987]: Please migrate your code to use AWS SDK for JavaScript (v3).
2024-11-03T12:55:04.393365+01:00 ks5 run.sh[365987]: For more information, check blog post at https://a.co/cUPnyil
2024-11-03T12:55:04.393400+01:00 ks5 run.sh[365987]: (Use `node --trace-warnings ...` to show where the warning was created)
2024-11-03T12:55:05.155957+01:00 ks5 postfix/submission/smtpd[365719]: connect from unknown[52.175.192.173]
2024-11-03T12:55:05.428183+01:00 ks5 run.sh[366007]: ▲ [WARNING] The condition "default" here will never be used as it comes after both "import" and "require" [package.json]
2024-11-03T12:55:05.428243+01:00 ks5 run.sh[366007]:     plugin_packages/.versions/[email protected]/package.json:42:6:
2024-11-03T12:55:05.428265+01:00 ks5 run.sh[366007]:       42 │       "default": "./underscore-umd.js"
2024-11-03T12:55:05.428284+01:00 ks5 run.sh[366007]:          ╵       ~~~~~~~~~
2024-11-03T12:55:05.428318+01:00 ks5 run.sh[366007]:   The "import" condition comes earlier and will be used for all "import" statements:
2024-11-03T12:55:05.428348+01:00 ks5 run.sh[366007]:     plugin_packages/.versions/[email protected]/package.json:24:6:
2024-11-03T12:55:05.428378+01:00 ks5 run.sh[366007]:       24 │       "import": {
2024-11-03T12:55:05.428410+01:00 ks5 run.sh[366007]:          ╵       ~~~~~~~~
2024-11-03T12:55:05.428456+01:00 ks5 run.sh[366007]:   The "require" condition comes earlier and will be used for all "require" calls:
2024-11-03T12:55:05.428492+01:00 ks5 run.sh[366007]:     plugin_packages/.versions/[email protected]/package.json:33:6:
2024-11-03T12:55:05.428528+01:00 ks5 run.sh[366007]:       33 │       "require": {
2024-11-03T12:55:05.428562+01:00 ks5 run.sh[366007]:          ╵       ~~~~~~~~~
2024-11-03T12:55:05.648308+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:05.647] [INFO] http - #033[39mHTTP server listening for connections
2024-11-03T12:55:05.648372+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:05.648] [INFO] settings - #033[39mYou can access your Etherpad instance at http://0.0.0.0:9001/
2024-11-03T12:55:05.648394+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:05.648] [INFO] settings - #033[39mThe plugin admin page is at http://0.0.0.0:9001/admin/plugins
2024-11-03T12:55:05.648413+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:05.648] [INFO] server - #033[39mEtherpad is running

2024-11-03T12:55:42.116267+01:00 ks5 run.sh[365987]: #033[33m[2024-11-03T12:55:42.110] [WARN] client - #033[39mError: Uncaught Error: Reconnect timed out -- {
2024-11-03T12:55:42.116610+01:00 ks5 run.sh[365987]:   errorId: #033[32m'ZSYwYvD8LaBFNb2DLcNJ'#033[39m,
2024-11-03T12:55:42.116701+01:00 ks5 run.sh[365987]:   type: #033[32m'Uncaught exception'#033[39m,
2024-11-03T12:55:42.116792+01:00 ks5 run.sh[365987]:   msg: #033[32m'Error: Uncaught Error: Reconnect timed out'#033[39m,
2024-11-03T12:55:42.116860+01:00 ks5 run.sh[365987]:   url: #033[32m'https://mypad.example.com/p/ff'#033[39m,
2024-11-03T12:55:42.116915+01:00 ks5 run.sh[365987]:   source: #033[32m'https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js'#033[39m,
2024-11-03T12:55:42.116975+01:00 ks5 run.sh[365987]:   linenumber: #033[33m56#033[39m,
2024-11-03T12:55:42.117024+01:00 ks5 run.sh[365987]:   userAgent: #033[32m'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36'#033[39m,
2024-11-03T12:55:42.117083+01:00 ks5 run.sh[365987]:   stack: #033[32m'Error: Reconnect timed out\n'#033[39m +
2024-11-03T12:55:42.117132+01:00 ks5 run.sh[365987]:     #033[32m'    at va.<anonymous> (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:84814)\n'#033[39m +
2024-11-03T12:55:42.117187+01:00 ks5 run.sh[365987]:     #033[32m'    at nn.emit (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:44882)\n'#033[39m +
2024-11-03T12:55:42.117247+01:00 ks5 run.sh[365987]:     #033[32m'    at va.reconnect (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:80270)\n'#033[39m +
2024-11-03T12:55:42.117300+01:00 ks5 run.sh[365987]:     #033[32m'    at https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:80540\n'#033[39m +
2024-11-03T12:55:42.117354+01:00 ks5 run.sh[365987]:     #033[32m'    at t.i (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:78556)\n'#033[39m +
2024-11-03T12:55:42.117406+01:00 ks5 run.sh[365987]:     #033[32m'    at nn.emit (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:44882)\n'#033[39m +
2024-11-03T12:55:42.117458+01:00 ks5 run.sh[365987]:     #033[32m'    at t.onError (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:62914)\n'#033[39m +
2024-11-03T12:55:42.117509+01:00 ks5 run.sh[365987]:     #033[32m'    at nn.emit (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:44882)\n'#033[39m +
2024-11-03T12:55:42.117548+01:00 ks5 run.sh[365987]:     #033[32m'    at Al.onError (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:46427)\n'#033[39m +
2024-11-03T12:55:42.117612+01:00 ks5 run.sh[365987]:     #033[32m'    at ws.onerror (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:53238)'#033[39m

FredMa01 avatar Nov 03 '24 12:11 FredMa01

All seems well at restart but I have a "Error: Reconnect timed out" when I try to use a pad. Moreover, I haven't acces to admin and plugin page on 2.1.0 and 2.2.25, with ou without plugins.... Sans titre 2

systemctl start etherpad-lite
tail -f /var/log/syslog
2024-11-03T12:54:59.356368+01:00 ks5 run.sh[365924]: Installing dev dependencies with pnpm
2024-11-03T12:54:59.996312+01:00 ks5 run.sh[365940]: Scope: all 6 workspace projects
2024-11-03T12:55:00.055411+01:00 ks5 run.sh[365940]: #033[?25l#033[36m?#033[39m #033[1mThe modules directories will be removed and reinstalled from scratch. Proceed?#033[22m #033[2m(Y/n)#033[22m #033[2m‣#033[22m #033[36mtrue#033[39m#033[4D#033[?25h
2024-11-03T12:55:00.055480+01:00 ks5 run.sh[365924]: Clearing minified cache...
2024-11-03T12:55:00.057333+01:00 ks5 run.sh[365921]: Cannot create the admin UI in production mode
2024-11-03T12:55:00.057417+01:00 ks5 run.sh[365921]: Starting Etherpad...
2024-11-03T12:55:00.588100+01:00 ks5 run.sh[365921]: > [email protected] prod /home/etherpad
2024-11-03T12:55:00.588166+01:00 ks5 run.sh[365921]: > pnpm --filter ep_etherpad-lite run prod
2024-11-03T12:55:01.145410+01:00 ks5 run.sh[365963]: > [email protected] prod /home/etherpad/src
2024-11-03T12:55:01.145461+01:00 ks5 run.sh[365963]: > cross-env NODE_ENV=production node --require tsx/cjs node/server.ts
2024-11-03T12:55:01.642588+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:01.640] [INFO] settings - #033[39mAll relative paths will be interpreted relative to the identified Etherpad base dir: /home/etherpad
2024-11-03T12:55:01.661431+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:01.661] [INFO] settings - #033[39msettings loaded from: /home/etherpad/settings.json
2024-11-03T12:55:01.662971+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:01.662] [INFO] settings - #033[39mNo credentials file found in /home/etherpad/credentials.json. Ignoring.
2024-11-03T12:55:01.663743+01:00 ks5 run.sh[365987]: #033[33m[2024-11-03T12:55:01.663] [WARN] settings - #033[39mloglevel: INFO
2024-11-03T12:55:01.663893+01:00 ks5 run.sh[365987]: #033[33m[2024-11-03T12:55:01.663] [WARN] settings - #033[39mlogLayoutType: colored
2024-11-03T12:55:01.664662+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:01.664] [INFO] settings - #033[39mUsing skin "colibris" in dir: /home/etherpad/src/static/skins/colibris
2024-11-03T12:55:01.665348+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:01.665] [INFO] settings - #033[39mRandom string used for versioning assets: 54c58bcf
2024-11-03T12:55:02.372596+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:02.372] [INFO] server - #033[39mStarting Etherpad...
2024-11-03T12:55:02.436315+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:02.435] [INFO] plugins - #033[39mpnpm --version: 8.15.5
2024-11-03T12:55:02.450524+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:02.450] [INFO] plugins - #033[39mcheck installed plugins for migration
2024-11-03T12:55:03.066934+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.066] [INFO] plugins - #033[39mLoading plugin ep_adminpads2...
2024-11-03T12:55:03.067057+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.066] [INFO] plugins - #033[39mLoading plugin ep_align...
2024-11-03T12:55:03.067148+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.066] [INFO] plugins - #033[39mLoading plugin ep_author_hover...
2024-11-03T12:55:03.067326+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.067] [INFO] plugins - #033[39mLoading plugin ep_comments_page...
2024-11-03T12:55:03.067492+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.067] [INFO] plugins - #033[39mLoading plugin ep_delete_empty_pads...
2024-11-03T12:55:03.067674+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.067] [INFO] plugins - #033[39mLoading plugin ep_dividing_line...
2024-11-03T12:55:03.067842+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.067] [INFO] plugins - #033[39mLoading plugin ep_embedded_hyperlinks2...
2024-11-03T12:55:03.068007+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.067] [INFO] plugins - #033[39mLoading plugin ep_font_color...
2024-11-03T12:55:03.068169+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_font_size...
2024-11-03T12:55:03.068330+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_hash_auth...
2024-11-03T12:55:03.068495+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_headings2...
2024-11-03T12:55:03.068668+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_helmet...
2024-11-03T12:55:03.068856+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_image_upload...
2024-11-03T12:55:03.069005+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.068] [INFO] plugins - #033[39mLoading plugin ep_markdown...
2024-11-03T12:55:03.069156+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.069] [INFO] plugins - #033[39mLoading plugin ep_prompt_for_name...
2024-11-03T12:55:03.069325+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.069] [INFO] plugins - #033[39mLoading plugin ep_spellcheck...
2024-11-03T12:55:03.069458+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.069] [INFO] plugins - #033[39mLoading plugin ep_table_of_contents...
2024-11-03T12:55:03.069620+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.069] [INFO] plugins - #033[39mLoading plugin ep_user_fontsize_version_2...
2024-11-03T12:55:03.069763+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.069] [INFO] plugins - #033[39mLoading plugin ep_etherpad-lite...
2024-11-03T12:55:03.073972+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:03.073] [INFO] plugins - #033[39mLoaded 19 plugins
2024-11-03T12:55:03.538559+01:00 ks5 run.sh[365987]: #033[33m[2024-11-03T12:55:03.538] [WARN] settings - #033[39moidc-provider WARNING: Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release.
2024-11-03T12:55:04.302662+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.302] [INFO] settings - #033[39mNote: bcrypt library could not be found. bcrypt support will be disabled.
2024-11-03T12:55:04.302732+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.302] [INFO] settings - #033[39mRun "npm install bcrypt" to enable bcrypt
2024-11-03T12:55:04.302826+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.302] [INFO] settings - #033[39mNote: scrypt library could not be found. scrypt support will be disabled.
2024-11-03T12:55:04.302883+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.302] [INFO] settings - #033[39mRun "npm install scrypt" to enable scrypt
2024-11-03T12:55:04.303248+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.303] [INFO] settings - #033[39mNote: argon2 library could not be found. argon2 support will be disabled.
2024-11-03T12:55:04.303300+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.303] [INFO] settings - #033[39mRun "npm install argon2" to enable argon2
2024-11-03T12:55:04.386530+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.386] [INFO] server - #033[39mInstalled plugins: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
2024-11-03T12:55:04.388059+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.387] [INFO] settings - #033[39mReport bugs at https://github.com/ether/etherpad-lite/issues
2024-11-03T12:55:04.388680+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:04.388] [INFO] settings - #033[39mYour Etherpad version is 2.2.5 (1c459b3)
2024-11-03T12:55:04.393287+01:00 ks5 run.sh[365987]: #033[91m[2024-11-03T12:55:04.393] [ERROR] settings - #033[39m(node:365987) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
2024-11-03T12:55:04.393310+01:00 ks5 run.sh[365987]: on September 8, 2024 and reach end-of-support on September 8, 2025.
2024-11-03T12:55:04.393339+01:00 ks5 run.sh[365987]: Please migrate your code to use AWS SDK for JavaScript (v3).
2024-11-03T12:55:04.393365+01:00 ks5 run.sh[365987]: For more information, check blog post at https://a.co/cUPnyil
2024-11-03T12:55:04.393400+01:00 ks5 run.sh[365987]: (Use `node --trace-warnings ...` to show where the warning was created)
2024-11-03T12:55:05.155957+01:00 ks5 postfix/submission/smtpd[365719]: connect from unknown[52.175.192.173]
2024-11-03T12:55:05.428183+01:00 ks5 run.sh[366007]: ▲ [WARNING] The condition "default" here will never be used as it comes after both "import" and "require" [package.json]
2024-11-03T12:55:05.428243+01:00 ks5 run.sh[366007]:     plugin_packages/.versions/[email protected]/package.json:42:6:
2024-11-03T12:55:05.428265+01:00 ks5 run.sh[366007]:       42 │       "default": "./underscore-umd.js"
2024-11-03T12:55:05.428284+01:00 ks5 run.sh[366007]:          ╵       ~~~~~~~~~
2024-11-03T12:55:05.428318+01:00 ks5 run.sh[366007]:   The "import" condition comes earlier and will be used for all "import" statements:
2024-11-03T12:55:05.428348+01:00 ks5 run.sh[366007]:     plugin_packages/.versions/[email protected]/package.json:24:6:
2024-11-03T12:55:05.428378+01:00 ks5 run.sh[366007]:       24 │       "import": {
2024-11-03T12:55:05.428410+01:00 ks5 run.sh[366007]:          ╵       ~~~~~~~~
2024-11-03T12:55:05.428456+01:00 ks5 run.sh[366007]:   The "require" condition comes earlier and will be used for all "require" calls:
2024-11-03T12:55:05.428492+01:00 ks5 run.sh[366007]:     plugin_packages/.versions/[email protected]/package.json:33:6:
2024-11-03T12:55:05.428528+01:00 ks5 run.sh[366007]:       33 │       "require": {
2024-11-03T12:55:05.428562+01:00 ks5 run.sh[366007]:          ╵       ~~~~~~~~~
2024-11-03T12:55:05.648308+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:05.647] [INFO] http - #033[39mHTTP server listening for connections
2024-11-03T12:55:05.648372+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:05.648] [INFO] settings - #033[39mYou can access your Etherpad instance at http://0.0.0.0:9001/
2024-11-03T12:55:05.648394+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:05.648] [INFO] settings - #033[39mThe plugin admin page is at http://0.0.0.0:9001/admin/plugins
2024-11-03T12:55:05.648413+01:00 ks5 run.sh[365987]: #033[32m[2024-11-03T12:55:05.648] [INFO] server - #033[39mEtherpad is running

2024-11-03T12:55:42.116267+01:00 ks5 run.sh[365987]: #033[33m[2024-11-03T12:55:42.110] [WARN] client - #033[39mError: Uncaught Error: Reconnect timed out -- {
2024-11-03T12:55:42.116610+01:00 ks5 run.sh[365987]:   errorId: #033[32m'ZSYwYvD8LaBFNb2DLcNJ'#033[39m,
2024-11-03T12:55:42.116701+01:00 ks5 run.sh[365987]:   type: #033[32m'Uncaught exception'#033[39m,
2024-11-03T12:55:42.116792+01:00 ks5 run.sh[365987]:   msg: #033[32m'Error: Uncaught Error: Reconnect timed out'#033[39m,
2024-11-03T12:55:42.116860+01:00 ks5 run.sh[365987]:   url: #033[32m'https://mypad.example.com/p/ff'#033[39m,
2024-11-03T12:55:42.116915+01:00 ks5 run.sh[365987]:   source: #033[32m'https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js'#033[39m,
2024-11-03T12:55:42.116975+01:00 ks5 run.sh[365987]:   linenumber: #033[33m56#033[39m,
2024-11-03T12:55:42.117024+01:00 ks5 run.sh[365987]:   userAgent: #033[32m'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36'#033[39m,
2024-11-03T12:55:42.117083+01:00 ks5 run.sh[365987]:   stack: #033[32m'Error: Reconnect timed out\n'#033[39m +
2024-11-03T12:55:42.117132+01:00 ks5 run.sh[365987]:     #033[32m'    at va.<anonymous> (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:84814)\n'#033[39m +
2024-11-03T12:55:42.117187+01:00 ks5 run.sh[365987]:     #033[32m'    at nn.emit (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:44882)\n'#033[39m +
2024-11-03T12:55:42.117247+01:00 ks5 run.sh[365987]:     #033[32m'    at va.reconnect (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:80270)\n'#033[39m +
2024-11-03T12:55:42.117300+01:00 ks5 run.sh[365987]:     #033[32m'    at https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:80540\n'#033[39m +
2024-11-03T12:55:42.117354+01:00 ks5 run.sh[365987]:     #033[32m'    at t.i (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:78556)\n'#033[39m +
2024-11-03T12:55:42.117406+01:00 ks5 run.sh[365987]:     #033[32m'    at nn.emit (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:44882)\n'#033[39m +
2024-11-03T12:55:42.117458+01:00 ks5 run.sh[365987]:     #033[32m'    at t.onError (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:62914)\n'#033[39m +
2024-11-03T12:55:42.117509+01:00 ks5 run.sh[365987]:     #033[32m'    at nn.emit (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:44882)\n'#033[39m +
2024-11-03T12:55:42.117548+01:00 ks5 run.sh[365987]:     #033[32m'    at Al.onError (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:46427)\n'#033[39m +
2024-11-03T12:55:42.117612+01:00 ks5 run.sh[365987]:     #033[32m'    at ws.onerror (https://mypad.example.com/padbootstrap-JSkNbjaLAJw.min.js:56:53238)'#033[39m

Do you have a public instance where I could check that. It could be a faulty reverse proxy configuration? Could you please send me your config?

SamTV12345 avatar Nov 04 '24 19:11 SamTV12345

I have same error on an other server and differents versions

nodejs --version v21.7.3
pnpm -v 9.12.3
etherpad-lite 2.2.6

This my configuration of Apache :

    <VirtualHost *:80>
   ServerName pad.example.com
    Redirect permanent / https://pad.example.com/

    </VirtualHost>

<IfModule mod_ssl.c>
    <VirtualHost *:443>
        ServerName pad.example.com

Header always set Strict-Transport-Security "max-age=15552001; includeSubDomains; preload"
Header set Content-Security-Policy "default-src ‘self’; img-src * ; frame-ancestors 'self' "
Header set X-Content-Type-Options: "nosniff"
Header set X-Frame-Options: "DENY"

        # SSL configuration
        SSLEngine on
        # If you hold wildcard certificates for your domain the next two lines are not necessary.
SSLCertificateFile /etc/letsencrypt/live/pad.example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/pad.example.com/privkey.pem


        ProxyVia On
        ProxyRequests Off
        ProxyPreserveHost on
        <Location />
#            AuthType Basic
#            AuthName "Bienvenue sur Etherpad"
#            AuthUserFile /disque/www-pi4/etherpad/motdepasse
            #AuthGroupFile /path/to/svn.group
            # Require group etherpad
#            Require valid-user
            ProxyPass http://localhost:9001/ retry=0 timeout=300
            ProxyPassReverse http://localhost:9001/
        </Location>
        <Location /socket.io>
            # This is needed to handle the websocket transport through the proxy, since
            # etherpad does not use a specific sub-folder, such as /ws/ to handle this kind of traffic.
            # Taken from https://github.com/ether/etherpad-lite/issues/2318#issuecomment-63548542
            # Thanks to beaugunderson for the semantics
            RewriteEngine On
            RewriteCond %{QUERY_STRING} transport=websocket    [NC]
            RewriteRule /(.*) ws://localhost:9001/socket.io/$1 [P,L]
            ProxyPass http://localhost:9001/socket.io retry=0 timeout=300
            ProxyPassReverse http://localhost:9001/socket.io
        </Location>
        <Proxy *>
            Options FollowSymLinks MultiViews
            AllowOverride All
            Order allow,deny
            allow from all
        </Proxy>
    </VirtualHost>
</IfModule>


FredMa01 avatar Nov 05 '24 20:11 FredMa01

Do you know how I can setup Apache 2 with docker-compose? I find like nothing about it. I tried the last hour but wasn't lucky 😅

SamTV12345 avatar Nov 05 '24 20:11 SamTV12345

No, sorry, I dont use docker-compose...

FredMa01 avatar Nov 05 '24 21:11 FredMa01

In my browser's F12 interface, I noticed : wss://pad.example.com/socket.io/?padId=test&EIO=4&transport=websocket NS_ERROR_WEBSOCKET_CONNECTION_REFUSED and padbootstrap-ePyxOnBO9zw.min.js:56 WebSocket connection to 'wss://pad.example.com/socket.io/?padId=test&EIO=4&transport=websocket' failed:

FredMa01 avatar Nov 06 '24 18:11 FredMa01

Our 2.2.6 installation randomly stopped working with the same "Error: Reconnect timed out". Logs were identical to those posted above.

It turned out it was the browser/workstation, a restart sorted it. Worth a try.

fmcsecurity avatar Jan 05 '25 23:01 fmcsecurity

I had the same initial error, updated to v2.2.7 and then got the last reported error with the websocket not establishing the connection. Found that solution which works: https://stackoverflow.com/questions/78729429/403-forbidden-when-url-contains-get-with-encoded-question-mark-unsafeallow3f

So my apache config is:

<Location /socket.io>
        RewriteEngine On
        RewriteCond %{QUERY_STRING} transport=websocket    [NC]
        RewriteRule /(.*) ws://127.0.0.1:9009/socket.io/$1 [P,L,UnsafeAllow3F]
        ProxyPass http://127.0.0.1:9009/socket.io retry=0 timeout=30
        ProxyPassReverse http://127.0.0.1:9009/socket.io
</Location>

brouxel avatar Jan 06 '25 13:01 brouxel