question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Timeouts on first start or after long idle

See original GitHub issue

Describe the bug Whenever Etherpad restarts or after long idle times, loading times are slow and throws errors. Only after several browser refreshes the page comes up.

To Reproduce

  1. Etherpad Lite deployed on render.com
  2. postgres db deployed on render.com
  3. after new deploys or after long idle times, Etherpad loading times are very long, including timeouts

Screenshots bildschirmfoto_2021-07-26_um_10 59 11

Jul 26 10:59:00 AM  [2021-07-26 08:59:00.846] [INFO] Minify - Compress JS file /opt/etherpad-lite/src/static/js/contentcollector.js.
Jul 26 10:59:01 AM  [2021-07-26 08:59:01.553] [INFO] Minify - Compress JS file /opt/etherpad-lite/src/static/js/Changeset.js.
Jul 26 10:59:01 AM  [2021-07-26 08:59:01.747] [WARN] client - TimeoutError: The operation timed out. -- {
Jul 26 10:59:01 AM    errorId: 'cG4MsHcAbkNvj9HwPzDl',
Jul 26 10:59:01 AM    type: 'Unhandled Promise rejection',
Jul 26 10:59:01 AM    msg: 'TimeoutError: The operation timed out.',
Jul 26 10:59:01 AM    url: 'https://XXXXX',
Jul 26 10:59:01 AM    source: 'unknown',
Jul 26 10:59:01 AM    linenumber: -1,
Jul 26 10:59:01 AM    userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.3 Safari/605.1.15',
Jul 26 10:59:01 AM    stack: 'send@[native code]\n' +
Jul 26 10:59:01 AM      'M@https://pad.digital-vereint.berlin/static/js/require-kernel.js?v=439ac1b6:10:2303\n' +
Jul 26 10:59:01 AM      'X@https://pad.digital-vereint.berlin/static/js/require-kernel.js?v=439ac1b6:10:2896\n' +
Jul 26 10:59:01 AM      'k@https://pad.digital-vereint.berlin/static/js/require-kernel.js?v=439ac1b6:10:3670\n' +
Jul 26 10:59:01 AM      'i@https://pad.digital-vereint.berlin/static/js/require-kernel.js?v=439ac1b6:10:4296\n' +
Jul 26 10:59:01 AM      'L@https://pad.digital-vereint.berlin/static/js/require-kernel.js?v=439ac1b6:10:4317\n' +
Jul 26 10:59:01 AM      'https://pad.digital-vereint.berlin/static/js/require-kernel.js?v=439ac1b6:10:5035\n' +
Jul 26 10:59:01 AM      'H@https://pad.digital-vereint.berlin/static/js/require-kernel.js?v=439ac1b6:10:5081\n' +
Jul 26 10:59:01 AM      'https://pad.digital-vereint.berlin/static/js/require-kernel.js?v=439ac1b6:10:5487\n' +
Jul 26 10:59:01 AM      'G@https://pad.digital-vereint.berlin/static/js/require-kernel.js?v=439ac1b6:10:5504\n' +
Jul 26 10:59:01 AM      'e@https://pad.digital-vereint.berlin/static/js/require-kernel.js?v=439ac1b6:10:6355\n' +
Jul 26 10:59:01 AM      'https://pad.digital-vereint.berlin/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=439ac1b6:49:4461\n' +
Jul 26 10:59:01 AM      'asyncFunctionResume@[native code]\n' +
Jul 26 10:59:01 AM      '[native code]\n' +
Jul 26 10:59:01 AM      'promiseReactionJobWithoutPromise@[native code]\n' +
Jul 26 10:59:01 AM      'promiseReactionJob@[native code]'
Jul 26 10:59:01 AM  }

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rhansencommented, Jul 30, 2021

Is dbType set to postgres or postgrespool in your settings.json? If postgres, please try postgrespool to see if that improves anything.

0reactions
rhansencommented, Aug 30, 2021

Fixed in PR #5163.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding Idle Timeout and Keep Alive Interval settings in ...
The Idle Timeout setting in the TCP profile specifies the length of time that a connection is idle before the connection is eligible...
Read more >
Configure the idle connection timeout for your Classic Load ...
By default, Elastic Load Balancing sets the idle timeout for your load balancer to 60 seconds. Use the following procedure to set a...
Read more >
Session Timeout - an overview | ScienceDirect Topics
Requirement 8.5.15 mandates that idle sessions time out after 15 min of inactivity. This requirement led to a myriad of interpretations, some of...
Read more >
What is the difference between idle-timeout and request ...
Documentation is a bit confusing, I have run the experiments based on that : idle-timeout: It is the max time a connection can...
Read more >
How do I configure timeouts? - Envoy Proxy
The idle timeout is the time at which a upstream connection will be terminated if the connection is not associated with a downstream...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found