IP whitelisting of dashboards breaks composed recording

OpenVidu Pro 2.17.0 on Ubuntu 20.04

I’m making use of “ALLOWED_ACCESS_TO_DASHBOARD” in the .env and it works as expected apart from an issue whereby composed video recordings come out like this:

I’ve tried adding the private IP ranges that we’re using as well as localhost but the issue persists.

Any help much appreciated.

mmm can you try with this in your .env file?:

OPENVIDU_RECORDING_COMPOSED_URL=http://localhost:5443

Sorry for the very late reply.

I did as you suggested; the error is now:
image

Somewhat odd as curl returns the “Welcome to Openvidu Pro” page on that URL.

Edit: I realise that my last line was due to me doing curl from the host rather than the container.

If I change OPENVIDU_RECORDING_COMPOSED_URL to [IP address of the host]:5443 then I get the “Welcome to Openvidu Pro” page in the video instead.

I think it is not possible for recordings right now to works with ALLOWED_ACCESS_TO_DASHBOARD. Since version 2.17.0, recordings occurs on media nodes. So a possible workaround:

  1. Remove the OPENVIDU_RECORDING_COMPOSED_URL parameter.
  2. Put the public IPs of the media nodes in the ALLOWED_ACCESS_TO_DASHBOARD. If you don’t have autoscaling, maybe this works for you.

Regards