On-premise installation does not work for web and mobile participants

Hi,
We are working on a scenario which we need on-premise installation. When we install on AWS-EC2 instance, web and mobile clients are connecting successfully, bu when we install on custom server, web and mobile clients are not seeing-hearing each others. By the way two web clients are connecting successfully. You can see technical details and test scenarios below. Can you help us for this problem?

  • AWS Instance Properties

    • Version: 2.16.0
    • Certificate Type: letsencrypt
    • Allow Ports v4-v6 (from ufw status command):
      • 22/tcp
      • 80/tcp
      • 443/tcp
      • 3478/tcp
      • 3478/udp
      • 40000:57000/tcp
      • 40000:57000/udp
      • 57001:65535/tcp
      • 57001:65535/udp
  • Custom Server Properties

    • Version: 2.16.0
    • Certificate Type: owncert
    • Allow Ports v4-v6 (from ufw status command):
      • 22/tcp
      • 80/tcp
      • 443/tcp
      • 3478/tcp
      • 3478/udp
      • 40000:57000/tcp
      • 40000:57000/udp
      • 57001:65535/tcp
      • 57001:65535/udp
  • Test Scenarios

    • Web and Web on AWS = Hearing, seeing, messaging
    • Web and Web on Custom Server = Hearing, seeing, messaging
    • Web and iOS on AWS = Hearing, seeing, messaging
    • Web and iOS on Custom Server = NOT hearing, NOT seeing, messaging
    • Web and Android on AWS = Hearing, seeing, messaging
    • Web and Android on Custom Server = NOT hearing, NOT seeing, messaging
  • openvidu-browser version: 2.16.2

You need to open ports to the outside not only with ufw.

Are all these ports accessible from the outside? In AWS there is a security group allowing access to the public IP. Does your machine have a public IP? Can all these ports be accessed via it’s public IP?

I suppose that if you have your ports open correctly, you may be able to pass a Trickle ICE test to see if at least coturn is reachable: TURN error after initial tests (On-premises CE 2.16.0 install) - #6 by cruizba

If you don’t see srflx and relay candidates, your ports are not correctly setup

@cruizba thanks for reply. We can connect all the ports with telnet, but I will test the trickle ICE

@cruizba We tested the Trickle ICE, can you look the result?

Can you do the same test on firefox? Use the public IP instead than the domain

@cruizba We tested again on firefox with public IP, it is look good. Can you review the result?

Yes. I think the coturn and ports at least seemks ok. Can you send me a link to your app? Maybe I can see something. Still not working on prem?

The development of our mobile application continues, so I can’t give you an app link. I guess you don’t need to web link, because no problem for web to web scenario. Will it be enough for you if I send the link of the OpenVidu server which we have installed on-premise?

Yes.

Just send me the URL and the secret here: carlos.ruiz@openvidu.io