Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Limitation with Openvidu secret #1

Open
jamescook opened this issue Oct 22, 2019 · 0 comments
Open

Limitation with Openvidu secret #1

jamescook opened this issue Oct 22, 2019 · 0 comments

Comments

@jamescook
Copy link

The userdata script that runs on the OpenVidu node can fail if the secret has certain characters. Here's a portion of the output in /var/log/cloud-init-output.log

+ sed -i s/DOMAIN_NAME/mydomain.example.com/ group_vars/all
+ sed -i s/LETSENCRYPT_EMAIL// group_vars/all
+ sed -i s/MY_SECRET/tXfG5L+k80B19xV9lEXs3WaqqEF// group_vars/all
sed: -e expression #1, char 41: unknown option to `s'
+ echo '[Openvidu] Parameters incorrect/insufficient'
[Openvidu] Parameters incorrect/insufficient
+ exit 1

I had generated a secret with the following beforehand:

$ openssl rand -base64 21
tXfG5L+k80B19xV9lEXs3WaqqEF/

I'll choose another to workaround this issue, but I thought it was worth reporting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant