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

[1.x] Terminal bug on latest master branch #3072

Closed
MarianoFacundoArch opened this issue Sep 20, 2022 · 4 comments
Closed

[1.x] Terminal bug on latest master branch #3072

MarianoFacundoArch opened this issue Sep 20, 2022 · 4 comments
Labels
bug multistream Related to Janus 1.x

Comments

@MarianoFacundoArch
Copy link

Snap channel latest pulled the latest master changes, and it wasn't able to start janus instance.
This is critical as this broke our entire janus installations.

The error that was shown on the logs was:
2022-09-20T05:47:23-04:00 janus-gateway.janus-gateway[2375429]: No cert/key specified, autogenerating some...
2022-09-20T05:47:23-04:00 janus-gateway.janus-gateway[2375429]: [FATAL] [dtls.c:janus_dtls_generate_keys:261] EVP_PKEY_assign_EC_KEY() failed
2022-09-20T05:47:23-04:00 janus-gateway.janus-gateway[2375429]: [FATAL] [dtls.c:janus_dtls_srtp_init:444] Error generating DTLS key/certificate
2022-09-20T05:47:23-04:00 systemd[1]: snap.janus-gateway.janus-gateway.service: Main process exited, code=exited, status=1/FAILURE

We had to rollback to previous version.

Ubuntu 20.04, latest master branch installed with Snap

@MarianoFacundoArch MarianoFacundoArch added the multistream Related to Janus 1.x label Sep 20, 2022
@lminiero
Copy link
Member

Maybe a consequence of #3048 that we merged this morning? You can check building before and after that commit to be sure.

@atoppi
Copy link
Member

atoppi commented Sep 20, 2022

Confirmed the issue on a docker instance based on Ubuntu 20.04

[Tue Sep 20 11:36:03 2022] Crypto: OpenSSL >= 1.1.0
[Tue Sep 20 11:36:03 2022] No cert/key specified, autogenerating some...
[Tue Sep 20 11:36:03 2022] Generating DTLS key / cert
[Tue Sep 20 11:36:03 2022] [FATAL] [dtls.c:janus_dtls_generate_keys:261] EVP_PKEY_assign_EC_KEY() failed
[Tue Sep 20 11:36:03 2022] [FATAL] [dtls.c:janus_dtls_srtp_init:444] Error generating DTLS key/certificate

@atoppi atoppi added the bug label Sep 20, 2022
@lminiero
Copy link
Member

Ack, I'll revert that commit then, and work out a different way of enforcing those changes only for OpenSSL >= 3.

@atoppi atoppi closed this as completed in 74420ca Sep 20, 2022
@atoppi
Copy link
Member

atoppi commented Sep 20, 2022

Thanks for reporting, the commit 74420ca should fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug multistream Related to Janus 1.x
Projects
None yet
Development

No branches or pull requests

3 participants