Install Openvidu-Classroom on a remote server/domain

Hello Guys,

I am new to openvidu and can install the openvidu-call on the remote server/domain. But I am not getting the steps to install/configure the openvidu-classroom on my remote server or on a particular domain.

I would appreciate if you can help me.

Thanks,

Not sure what you mean.
If my understanding is correct you have installed it on one of your server and can access using ip address but can’t set up to say https://your domain.com
If this is what you are meant then it has nothing to with openvidu.
You must set this on your server and depends on various different things.

Thanks for the information. I have managed to install the classroom but can’t publish the teacher video and can’t even view the initial webcam (Note: web-cam fine, confirmed from various method, tried both on mozilla and chrome). Only getting blank white-page:

==================================

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Thu Jun 18 18:31:35 UTC 2020

There was an unexpected error (type=Method Not Allowed, status=405).

Request method ‘GET’ not supported

mvn clean package exec:java logs:

2020-06-18 18:15:54.288 INFO 6231 — [demo.App.main()] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 5000 (https) with context path ‘’
2020-06-18 18:15:54.290 INFO 6231 — [demo.App.main()] io.openvidu.classroom.demo.App : Started App in 4.191 seconds (JVM running for 10.695)
[DEBUG] joining on thread Thread[Catalina-utility-1,1,io.openvidu.classroom.demo.App]

docker command and logs:

docker run -p 4443:4443 --rm -e openvidu.publicurl=https://a.b.c.d:4443/ -e openvidu.secret=q1w2e3r4t5 openvidu/openvidu-server-kms:2.4.0

application.properties:

server.port: 5000
server.ssl.enabled: true
server.ssl.key-store: classpath:openvidu-selfsigned.jks
server.ssl.key-store-password: openvidu
server.ssl.key-store-type: JKS
server.ssl.key-alias: openvidu-selfsigned

spring.datasource.url: jdbc:mysql://127.0.0.1:3306/openvidu_sample_app?serverTimezone=UTC
spring.datasource.username: root
spring.datasource.password: q1w2e3r4t5
spring.datasource.driverClassName: com.mysql.jdbc.Driver
spring.jpa.database: MYSQL
spring.jpa.hibernate.ddl-auto: create-drop

openvidu.url: https://a.b.c.d:4443/
openvidu.secret: q1w2e3r4t5
openvidu.publicurl: https://a.b.c.d:4443/

Confirmed below as well:
Ports open, mysql connection fine. Please let me know if you require any further information.

Thank you,

If you plan to use OpenVidu for production, please follow some of the deployment instructions for production usage:

https://docs.openvidu.io/en/2.14.0/deployment/

If you have problems deploying your app, first describe how you have deployed it.

Yes i deployed application its working
Classroom-demo. @Mohinder_Singh this issue is due to nginx
proxy path
remove extra slash before $ in your rewrites .
Everything’s will work fine
Thanks

vipin_mishraI have setup the exact same way and issue you had. where do i go to fix the “extra slash before $” ~/path/dir/file? any assistance would be appriciated.

you go to /etc/nginx/config/

check file for used proxy redirection for classroom in that file you will see like this.

location /classroom {
rewrite /classroom(.*) / $ 1 break;
remove slash before dollar sign.

Is it working or not ?
Let me if any other problems is there