Timeouts on first start or after long idle
See original GitHub issueDescribe 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
- Etherpad Lite deployed on render.com
- postgres db deployed on render.com
- after new deploys or after long idle times, Etherpad loading times are very long, including timeouts
Screenshots
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:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Is
dbType
set topostgres
orpostgrespool
in yoursettings.json
? Ifpostgres
, please trypostgrespool
to see if that improves anything.Fixed in PR #5163.