Janus libsrtp 2.3 oops, error creating inbound SRTP session for component 1 in stream 1?

Talk Admin page is:

signaling server has:
wss://signal.example.com/standalone-signaling/
valid SSL Certificate is checked
displays OK: Running version: a long hex number.

add a new conversation, add participants, create.
start a call immediately a message displays failed to establish signaling connection retrying…

the janus error log says
rejecting incoming HTTP request on WebSocket endpoint: no sub-protocol specified

I found this
To interact with Janus using WebSockets you MUST specify a specific subprotocol, named janus-protocol , e.g.,

var websocket = new WebSocket(‘ws://1.2.3.4:8188’, ‘janus-protocol’);

here
https://janus.conf.meetecho.com/docs/rest.html

Not sure what to do with it, is this an issue with a rewrite rule?

any help is appreciated

@Stevebrudi

I purged and reinstalled apache2 reconfigured it and it started a call.

start a call, it goes to waiting for others to join the call…
usually returns to the start a call screen.

Now the janus log reads

[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:870] oops, error creating inbound SRTP session for component 1 in stream 1??
[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:870] [7968432981464734] - - (srtp_err_status_fail)

[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:870] oops, error creating inbound SRTP session for component 1 in stream 1??
[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:870] [7968432981464734] - - (srtp_err_status_fail)

This error seemed to be identified in version 2.3 of libsrtp. Janus meekecho github March 24, the solution was to downgrade libsrtp to libsrtp 2.2

https://github.com/meetecho/janus-gateway/issues/2024#

ubuntu 20.04
I installed janus with apt-get install janus (the install also provided libsrtp).
apt list --installed | grep srtp
indicates 2.3.0-2 as version I have installed.

What would be the best way for me to downgrade libsrtp to version 2.2?

What would be the best way for me to get janus to recognize the lower version is installed?

Any direction is appreciated.

I have it working amazingly. I removed janus.

I used @morph027 package for janus from here:
https://gitlab.com/packaging/janus

apt update
apt install janus

No error in the janus log file, but the same version displays. on sudo apt list --installed | grep srtp. Color me confused. Its working now, so I will close this.

Thanks again @morph027

Hello!

Just adding to @Stevebrudi 's Solution. I’m working with the ARM architecture and LetsEncrypt certificates, then the proposed Janus repository was not valid. We were able to call with audio communication but nothing on video.

As already noted here the problem is in the libsrtp package and for the 2.3 version a compilation with the --enable-nss option will also solve the problem.