Closed csakis closed 6 years ago
And what is the problem your encounter ?
Well, I get an error, since nothing is running on the localhost. The localhost is a client the logged into the server. I'll try to send a picture
Please give more details on your eXo Platform installation
Hi, you must run HTTPS even on localhost.
docker run -v exo_trial_data:/srv -p 8080:8080 exoplatform/exo-trial Exo version is 5.0.3 http://192.168.1.2:8080
Peter is right that WebRTC needs https, without it cannot work. However, in the pop-up video chat window, the address is localhost:8080/webrtc/call/p/.... Shouldn't that be 192.168.1.2/webrtc/call/p/...?
Just one more thing: If I initiate the call from the computer that actually runs the docker image (i.e. localhost), then the video pop-up window works correctly:
A call window will use the same host, scheme and port that the Platform page from which it was open. As for HTTPS a call page as such will be loaded but should fail to establish actual RTC connection, it should be failed at browser level API. Isn't a case for you?
Peter, look at the two pictures below: Picture 1. The url shows http://192.168.1.2, I click on the "Call" button:
Picture 2. The pop up window has localhost in it:
Thanks for the very quick responses, however, I need to go bed now. Don't expect replies from me for the next 8 hours.
@csakis please add -e EXO_PROXY_VHOST=192.168.1.2 in your Docker command line to create and launch eXo container. This will configure the underlying Tomcat the good way.
docker run -v exo_trial_data:/srv -p 8080:8080 -e EXO_PROXY_VHOST=192.168.1.2 exoplatform/exo-trial
This should solve your 'localhost' url problem.
Thanks, Frederic. The proxy settings solved the problem
I'm using the trial version of exo for evaluating. When I try to use peer-to-peer video conferencing the webRTC address is always locahost/...., even though the application runs on my home net: 192.168.1.123