I can’t find any topic with SpringApplication problem and I apologize if there is already an answer to my problem:
I am trying to deploy OpenVidu 2.0.0 on Ubuntu 18.04 (pretty much uptodate) following instruction for deployment on doc site. All services, COTURN, REDIS and KURENTO are loaded and active and I have downloaded java 8 on my server.
Using the jar:
java -jar -Dopenvidu.secret=MY_SECRET -Dopenvidu.publicurl=https://96.xx.xx.xx:4443/ openvidu-server-2.0.0.jar
I get the spring framework.boot error with this detail (from a very verbose pice of text):
“Error creating bean with name ‘tomcatContainerFactory’ defined in org.kurento.jsonrpc.internal.server.config.JsonRpcConfiguration:…”
Any suggestions will be highly appreciated? Thank you!
The documentation is very clear until I got bogged down in the certification part.
No matter what I try neither the Safari of Chroma (on Mac) has been able to make a secure connection. OpenVidu appears to be successfully installed using 2.13 instructions on Ubuntu 18.04 server - a clean install - and running with one inconsequential error: “… .env file not found at /./.env”.
I first created a self-signed certificate and key and placed them in the “/opt/openvidu/owncert”… the browser did not like the certificate and was unable to connect. I than selected the LetsEncrypt and I have not been any more successful (how does the letsencrypt place a certificate on my server without my involvement? - I am not familiar to this process). Before I pay for a real certificate would be really nice to understand a little better how Nginx get’s its certificate in the docker environment…
I am a very experienced Mac developer, with some experience using Ubuntu but definitely not an expert so a little more info could clarify a lot… I guess one can say that I don’t know what I should know!
Deployed using docker container on a Ubuntu 18.04 linux box using 2.13 instructions… clients on iPhones, Android and web apps already exist and need to be enhanced with video conference. The current clients use a centralized cloud services already.
I have tried last summer to use a collider and coturn services but I was not satisfied… right now I am evaluating openVidu.
$ docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-server-kms:2.13.0
If you are using a), do you have a public domain? Can you share with us your current deployment (sending the URL with a private email to openvidu@gmail.com)? So we can take a look.
Can you please share with us openvidu logs to review configuration?
Thanks for trying to help… really appreciate!
I did sent the domain name and the secret I use in the e-mail
I set the server using the method a) and I had no problems…
I also attached to log file to my e-mail to you. Let me know if I need do anything else!
Again my problem is trying to understand the certification process given that I am really a novice to docker. Typically I would have configured the Nginx with my own certificated I would have expected to do the same for Kurento… COTURN does not require a certificate as I understand… so I am little confused on the three choice for certification in the configuration file .env
I this point, using iPad I am able to connect to openVidu via build in Safari with the “letsencrypt" certificate selection…. I do get a warning that it is not a valid certificate and bypassing the warning I get the first page asking for a room name. I provide the room name and next a get a dark page and nothing else…
I also seem to be able to connect to the dashboard using “/dashboard” which require me to enter a user and password. I connect using OPENVIDUAPP and my selected secret, it than shows a page with one button for Start Testing… clicking on it I get to choose the Secret which I assume it is the my selected secret. I do that and then nothing happens although the button becomes grayout…
Thanks for checking!. Today I have reinstall OpenVidu with the lates version and I used letsencrypt for certification instead of my own self signed certificate… I don’t have a PC, just mac user, but indeed I now can create a session using safari and chroma on a mac, although using Safari on my iPhone and joining the same room does not connect me to the same session with the safari on a mac. (The room name is the same). I have not looked at logs yet… tomorrow.
iPad does not work with Safari, I don’t have Chroma on my iPad. I will send the logs in an e-mail tomorrow…
I also have compiled the ionic iOS version, I downloaded from Demos, which compiled but failed to connect… I have not tested with the latest changes I made today. Eventually I will need to convert the ionic version to native swift in order to embed it in an existing app.
Today we have deployed a second ubuntu 20.04 with OpenVidu in our data center to simplify dealing with our office firewalls.
I am still not very clear how the certification works for covering the Nginx, and Kuranto… eventually I will have to install our certificates. Docker is still a mystery for me but looks like a great way to deploy a complex server solution.
Good news! Tonight we tested the OpenVidu deployment in out data center and I am glad to announce that using different browser on Mac, PC, and iPhone everything worked like a charm. I will try the ionic -iOS app tomorrow. I used the letsencrypt for now.
But congratulation to OpenVidu team!.. the 2.13.0 deployment and instructions are excellent!