About the "Problems developing OpenVidu apps" category

If you have some problem when developing OpenVidu based apps ask here. Usually, problems are easy to solve with a bit of help.

Please review OpenVidu documentation before asking here.

If you think some problem is likely a bug, you can go directly to OpenVidu GitHub repository and fill an issue there.

Hi Micael

Im trying to use openvidu basic webinar and made the setup in AWS EC2 getting issue in accessing the service and getting some error message like below

Bad Request
This combination of host and port requires TLS.

can some help me out to resolve this issue.

Thanks in advance.

Please describe step by step what steps have you followed to deploy OpenVidu application and plase show us the openvidu server logs.

Best regards

the following code is my current docker-compose.override.yml

version: ‘3.1’

services:
# --------------------------------------------------------------
#
# Change this if your want use your own application.
# It’s very important expose your application in port 5442
# and use the http protocol.
#
# Default Application
#
# Openvidu-Call Version: 2.17.0
#
# --------------------------------------------------------------
app:
image: openvidu/openvidu-basic-webinar:2.17.0
restart: on-failure
network_mode: host
environment:
- SERVER_PORT=5442
- OPENVIDU_URL=http://localhost:5443
- OPENVIDU_SECRET=${OPENVIDU_SECRET}
- CALL_OPENVIDU_CERTTYPE=${CERTIFICATE_TYPE}
logging:
options:
max-size: “${DOCKER_LOGS_MAX_SIZE:-100M}”

when I try to exicute my openvidu restart command

./openvidu restart

openvidu starting properly like below

openvidu-server_1 | [INFO] 2021-04-24 04:58:06,196 [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler [“http-nio-0.0.0.0-5443”]
openvidu-server_1 | [INFO] 2021-04-24 04:58:06,256 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 5443 (http) with context path ‘’
openvidu-server_1 | [INFO] 2021-04-24 04:58:06,278 [main] io.openvidu.server.OpenViduServer - Started OpenViduServer in 12.403 seconds (JVM running for 22.66)
openvidu-server_1 | [INFO] 2021-04-24 04:58:06,282 [main] io.openvidu.server.OpenViduServer -
openvidu-server_1 |
openvidu-server_1 | ----------------------------------------------------
openvidu-server_1 |
openvidu-server_1 | OpenVidu is ready!
openvidu-server_1 | ---------------------------
openvidu-server_1 |
openvidu-server_1 | * OpenVidu Server URL: https://54.191.146.102/
openvidu-server_1 |
openvidu-server_1 | * OpenVidu Dashboard: https://54.191.146.102/dashboard
openvidu-server_1 |
openvidu-server_1 | ----------------------------------------------------
openvidu-server_1 |

when i try to access the basic webinar application using the above IP that is giving me following error on webpage

Bad Request
This combination of host and port requires TLS.

But I don’t see any further logs in the console

If you deploy an application in the same machine as OpenVidu, the application has to disable SSL because there are an NGINX server managing the certificate.

Best regards

I have only one application running in the machine as OpenVidu, and previously the OpenVidu call application used to work as expected.

I Just updated docker-compose.override.yml to configure OpenVidu webinar image. This update giving me error. If update it back image value to OpenVidu call, then it is working as expected.

OpenVidu call application is served using http because it is behind the NGINX proxy that manages https.

Your custom application has to be served using http and it seems it is deployed using https.

Regards