OpenVidu Platform main repository
 
 
 
 
 
 
Go to file
Piwccle 31a8488f23 openvidu-deployment: fix eventually-consistent secret reads in AWS HA
GetSecretValue is eventually consistent: with masters booting in
parallel, the final re-read of the shared JSON could return a stale
pre-generation version (ALL_SECRETS_GENERATED already observed true but
values still 'none'), so the installer aborted with e.g.
'mongo-admin-password: must have at least 10 characters'. The old
serialized boot masked this window (minutes between generation and
re-reads); parallel boot exposed it intermittently (1 of 3 tries).

Fix: read-until-valid — retry the re-read (5s, 5 min cap) until the same
snapshot has ALL_SECRETS_GENERATED=true AND every always-generated value
!= 'none'; the media gate now validates OPENVIDU_VERSION and
REDIS_PASSWORD content too, not just the flag.

Validated with ov-cloud-tester (sc-deploy-destroy, ha, dev, --tries 3):
3/3 PASS, deploy mean 5m19s (spread 76ms), ready mean 21m24s.
Control run without the fix reproduced the race (1/3 failed).
2026-07-25 00:46:02 +02:00
.github chore: update OpenVidu/actions to v1.0.22 2026-07-23 09:01:09 +00:00
openvidu-components-angular components-angular: update generate-docs.sh to use MINOR_VERSION for documentation links 2026-07-17 11:57:32 +02:00
openvidu-deployment openvidu-deployment: fix eventually-consistent secret reads in AWS HA 2026-07-25 00:46:02 +02:00
openvidu-livekit@f2e5cda2b3 Update openvidu-livekit submodule 2026-07-09 09:27:35 +00:00
openvidu-test-browsers openvidu-test-e2e: make host.docker.internal a secure domain for netem Chrome 2026-06-22 23:42:11 +02:00
openvidu-test-e2e openvidu-test-e2e: enable all RTSP audio-only tests 2026-07-12 00:46:57 +02:00
openvidu-test-integration integration-tests: Refactor utility code. Exec MongoDB disconnect method after running all tests 2024-12-12 15:42:09 +01:00
openvidu-testapp openvidu-testapp: upgrade dependencies, including Angular 22 2026-07-11 16:10:20 +02:00
.gitignore Update .gitignore to include *.tfvars files 2026-02-10 16:56:09 +01:00
.gitmodules Add openvidu-livekit as git submodule 2024-07-02 19:23:37 +02:00
CONTRIBUTING.md Added CONTRIBUTING.md (optional) 2018-09-25 07:54:55 -07:00
LICENSE Initial commit 2016-10-10 15:31:27 +02:00
NOTICE Update Copyright dates 2022-03-18 10:31:19 +01:00
README.md Fix NewGenVidu project logo in README.md 2025-03-24 19:49:32 +01:00

README.md

Backers on Open Collective Sponsors on Open Collective License badge OpenVidu Tests Npm version Npm downloads

Documentation Status Docker badge Support badge Twitter Follow

openvidu

Visit openvidu.io

Community Forum

Visit OpenVidu Community Forum

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Acknowledgments

OpenVidu has been supported under project "CPP2021-008720 NewGenVidu: An elastic, user-friendly and privacy-friendly videoconferencing platform", funded by MCIN/AEI/10.13039/501100011033 and by the European Union-NextGenerationEU/PRTR.

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]