Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - dh-file parameter is missing in turnserver.conf.j2 #6

Open
vlasov01 opened this issue Sep 17, 2022 · 0 comments
Open

[BUG] - dh-file parameter is missing in turnserver.conf.j2 #6

vlasov01 opened this issue Sep 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@vlasov01
Copy link

vlasov01 commented Sep 17, 2022

Hi,

Thank you a lot of building this ansible role!

Describe the bug

Turn log generates error message "Bad configuration format: /etc/dhparam.pem"
I think the template turnserver.conf.j2 is missing this parameter .
The workaround is manualy modify /etc/turnserver.conf and add replace /etc/dhparam.pem with dh-file=/etc/dhparam.pem

To Reproduce
Steps to reproduce the behavior:

  1. Build/start
    ansible localhost -m include_role -a name=ebbba.coturn

  2. See error"0: Bad configuration format: /etc/dhparam.pem" in /var/log/turnserver/

Expected behavior
No error should be generated

Screenshots
Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-125-generic x86_64)

Ansible version

ansible --version
ansible [core 2.13.4]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /root/.local/lib/python3.8/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /root/.local/bin/ansible
  python version = 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]
  jinja version = 3.1.2
  libyaml = True

Your variables for this role - be sure to remove any sensitive information
coturn_user_quota=5
coturn_total_quota=200
ansible_os_family=debian

@vlasov01 vlasov01 added the bug Something isn't working label Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant