nano /opt/redXX/conf/jee-container.xml

UNCOMMENT  / COMMENT

<!-- Tomcat without SSL enabled -->
<!-- Tomcat with SSL enabled -->


De : Tom Luo [mailto:[email protected]]
Envoyé : 16 novembre 2017 10:36
À : [email protected]
Objet : Re: https port

Does anyone know why?


On Thu, Nov 16, 2017 at 12:36 AM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I set RTMPS to listen at 8443 in red5.properties. However, when I use "sudo 
netstat -plnt" to check all ports, nothing is listening at port 8443.
Does anyone know why?

Thanks,

Tom



On Sat, Nov 11, 2017 at 8:43 PM, Maxim Solodovnik 
<[email protected]<mailto:[email protected]>> wrote:
http://openmeetings.apache.org/RTMPSAndHTTPS.html#Native_RTMPS

After configuring OM server and successful run (without any errors)
You need to set correct properties in Admin->Config

In case of native RTMPS your HTTPS and RTMPS port should be
1) different
2) accessible


According to dev console
As I wrote before
Detailed config with all data, host port modes, urls
is available at the time of first connect
There is the message "appInit()" followed by the object with all settings

On Sat, Nov 11, 2017 at 12:12 PM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Hi, Maxim,

I am also confused. Do you mean my system is trying native RTMPS or tunneling 
RTMPS?
I want to use native RTMPS. If you can tell me how to setup native RTMPS for 
OM4.0, it will be great.
Right now, I feel the instructions are not clear.

Best,

Tom



On Fri, Nov 10, 2017 at 11:52 PM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Actually, I have never seen these options in chrome dev console.
Do I have to turn on the debug mode of OM4,0?

On Thu, Nov 9, 2017 at 9:31 PM, Maxim Solodovnik 
<[email protected]<mailto:[email protected]>> wrote:
It seems Flash trying to talk RTMPTS with RTMPS service
Could you share these options
1.  fallback: "rtmpt://localhost:5080/openmeetings/11"
2.  mode: "broadcast"
3.  native:"false"
4.  rtmpPort: "1935"
5.  rtmpsPort:"8443"
6.  secure:"false"
7.
Available in DEV console during appInit() call


On Fri, Nov 10, 2017 at 12:23 AM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Hi, Maxim,

I turned on the debug mode and I did see error messages in the Chrome debug 
console.
But I don't know how to fix the problems. Do you know how? Please see the 
messages below.

["onselect WxH :: 120x90"]
VM497:1 ["resize:: 120x90"]
VM498:1 ["Camera selected:: 0"]
VM499:1 ["Entering getCam ..."]
VM500:1 ["IS NO INTERVIEW "]
VM501:1 ["... getCam DONE [object Camera]"]
VM502:1 (2) ["Camera selected:: [object Camera]", false]
VM504:1 ["Entering getCam ..."]
VM505:1 ["IS NO INTERVIEW "]
VM506:1 ["... getCam DONE [object Camera]"]
VM507:1 ["_attachCamera():: muted ? false"]
VM508:1 ["_attachCamera()::done"]
:8443/open/1:1 POST https://www.ideastoproduct.net:8443/open/1 
net::ERR_EMPTY_RESPONSE
VM512:1 ["ConnectionStatus: NetConnection.Connect.Failed"]
VM517:1 (2) ["setRightsCallback", Array(1)]
VM518:1 (3) ["_updateExclusive", Array(1), Array(3)]
VM705:1 (2) ["appInit()", {…}]
VM706:1 ["resize:: 300x200"]
VM707:1 (2) ["NetConnection is not connected", 
"rtmps://www.ideastoproduct.net:8443/openmeetings/2<http://www.ideastoproduct.net:8443/openmeetings/2>"]
:8443/open/1:1 POST https://www.ideastoproduct.net:8443/open/1 
net::ERR_EMPTY_RESPONSE
VM798:1 ["ConnectionStatus: NetConnection.Connect.Failed"]

On Thu, Nov 9, 2017 at 10:30 AM, Maxim Solodovnik 
<[email protected]<mailto:[email protected]>> wrote:
You can try to turn-on client debugging and check browser console ...

On Thu, Nov 9, 2017 at 10:29 PM, Maxim Solodovnik 
<[email protected]<mailto:[email protected]>> wrote:
Massages from openmeetings.log are just DEBUG messages, nothing to worry about
Have you saved the Camera/Mic settings in Settings dialog?

I don't know what can be wrong since everything works on demo ...

On Thu, Nov 9, 2017 at 9:06 PM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Adobe Flash in Firefox somethings will crash in the step.

On Thu, Nov 9, 2017 at 8:35 AM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
In the choose device window, it will ask for camera permission.

On Thu, Nov 9, 2017 at 8:33 AM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
In the demo website, after I enter a public room, the browser will ask for the 
camera permission, however, in my website, the browser does not ask.
This means the browser does not want to use camera. I don't know why.

On Thu, Nov 9, 2017 at 8:24 AM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
I checked my openmeetings.log.
I do see an error message:
DEBUG 11-09 08:16:21.272 o.a.o.c.r.ScopeApplicationAdapter:767 [Thread-57] - 
[MessageSender] -> 'Unable to send message to NULL scope' clientUpdated, null
DEBUG 11-09 08:16:21.297 o.a.o.d.d.r.PollDao:103 [0.0-5443-exec-3] -  :: 
hasPoll :: 4
DEBUG 11-09 08:16:21.300 o.a.o.d.d.r.PollDao:97 [0.0-5443-exec-3] -  :: 
getArchived :: 4
DEBUG 11-09 08:16:32.706 o.a.o.w.c.MainPanel:117 [0.0-5443-exec-9] - Sending 
WebSocket PING
DEBUG 11-09 08:16:39.925 o.a.o.w.a.Application:619 [0.0-5443-exec-8] - Removing 
online room client: 8ad9cbcb-7ebc-4822-a8fb-c590c152448d, room: 4
DEBUG 11-09 08:16:39.932 o.a.o.c.r.ScopeApplicationAdapter:767 [Thread-58] - 
[MessageSender] -> 'Unable to send message to NULL scope' stopStream, 
java.lang.Object@4fa3b9c5<mailto:java.lang.Object@4fa3b9c5>


Is this related to my problem?



On Thu, Nov 9, 2017 at 8:12 AM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Hi, Maxim,

I also thought I just need to set the Camera/Microphone once and it will 
automatically start. This is the case in OM3.3.
However, in OM4.0, this does not work. I can see the video in the settings, but 
I cannot see the video after that.
Please see the attached image. I really don't know why. It is so strange. The 
port issue is solved.
So, I know the port does not cause this problem.
Do you know why?


Thanks,

Tom



On Thu, Nov 9, 2017 at 2:54 AM, Maxim Solodovnik 
<[email protected]<mailto:[email protected]>> wrote:
Hello Tom,

I'm answering emails as soon as I got free time, you shouldn't expect immediate 
answer :))

Camera/Microphone will be started automatically as soon as you will set it up 
once
So open the settings, choose correct devises, press Save

According to port availability you need to check detailed results: push small 
"Copy" button on the right, Paste result to some text file and check what is 
wrong

On Thu, Nov 9, 2017 at 2:40 AM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Another issue is that when I do port testing using the tool on the login page. 
The port testing always fails even thought I opened all ports in my server.
Do you know why? Is this issue related to the camera issue?

Thanks,

Tom



On Wed, Nov 8, 2017 at 2:38 PM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Right now, I can see my video if I click "choose device". However, I still 
cannot see the video in my camera in the public conference.

The demo website does not have this problem. So, I know it must be some 
settings in my side.
Any idea how to solve this issue?

Thanks,

Tom



On Wed, Nov 8, 2017 at 1:12 PM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Ok. I fixed the problem. Now I can connect using https. I will explain to you 
how I fixed the problem later.
However, after I enter a public room, it seems my camera is not working.
I remember in OM3.3. The camera automatically starts. Is there a button I need 
to press in OM4.0 to start my camera?

Thanks,

Tom



On Wed, Nov 8, 2017 at 12:45 PM, Maxim Solodovnik 
<[email protected]<mailto:[email protected]>> wrote:
I'm referring these instructions: 
http://openmeetings.apache.org/RTMPSAndHTTPS.html
Unfortunately I have no time to check everything ....


On Thu, Nov 9, 2017 at 12:29 AM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Now there are some logs in red5.log

2017-11-08 17:26:39,998 [NioProcessor-11] INFO  
o.r.s.net.rtmp.RTMPMinaConnection - Connection is closed: WNZC8FWV7N3VL
2017-11-08 17:26:39,998 [NioProcessor-11] WARN  
o.r.s.net.rtmp.RTMPMinaIoHandler - Connection was not found for WNZC8FWV7N3VL
2017-11-08 17:26:40,007 [RTMPConnectionScheduler-5] WARN  
o.r.server.net.rtmp.RTMPConnection - Closing O4WODAWEPAMAT, due to long 
handshake. State: connect
2017-11-08 17:26:40,007 [NioProcessor-12] INFO  
o.r.s.net.rtmp.RTMPMinaConnection - Connection is closed: O4WODAWEPAMAT
2017-11-08 17:26:40,007 [NioProcessor-12] WARN  
o.r.s.net.rtmp.RTMPMinaIoHandler - Connection was not found for O4WODAWEPAMAT

On Wed, Nov 8, 2017 at 12:22 PM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
http://openmeetings.markmail.org/message/j4gx2q6woidyqj7l?q=letsencrypt

This is the instruction I followed. I performed step 1-8. Just skipped step 7 
as you said.

I don't feel I miss any step.

On Wed, Nov 8, 2017 at 12:20 PM, Maxim Solodovnik 
<[email protected]<mailto:[email protected]>> wrote:
Unfortunately not
Maybe you miss some steps from the instructions?

On Thu, Nov 9, 2017 at 12:17 AM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Yes. I did SSL for the web interface and Set up Native RTMPS.
It still does not work. Nothing is listening at port 5443.
Do you have any other ideas why?

Thanks,

Tom



On Wed, Nov 8, 2017 at 11:30 AM, Maxim Solodovnik 
<[email protected]<mailto:[email protected]>> wrote:
Have you performed these: 
http://openmeetings.apache.org/RTMPSAndHTTPS.html#SSL_for_the_web_interface 
steps?

On Wed, Nov 8, 2017 at 11:14 PM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
I cleared my old log and restarted the red5.
Here is my red5.log:

2017-11-08 11:04:47,270 [main] INFO  org.red5.server.Launcher - Red5 Server 
1.0.10 (https://github.com/Red5)
2017-11-08 11:04:47,338 [main] INFO  o.s.c.s.FileSystemXmlApplicationContext - 
Refreshing 
org.springframework.context.su<http://org.springframework.context.su>pport.FileSystemXmlApplicationContext@5f2050f6:
 startup date [Wed Nov 08 11:04:47 EST 2017]; root of context hierarchy
2017-11-08 11:04:47,393 [main] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - 
Loading XML bean definitions from class path resource [red5.xml]
2017-11-08 11:04:47,572 [main] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - 
Loading XML bean definitions from class path resource [jee-container.xml]

Right now, I can still use http at port 5080 to access OM4.0; however https 
still does not work.
Do I need to check other places?

Thanks,

Tom



On Wed, Nov 8, 2017 at 10:55 AM, Maxim Solodovnik 
<[email protected]<mailto:[email protected]>> wrote:
please check red5.log.
Red5 reports what ports it is listening

Ports are configured in red5.properties
HTTP vs HTTPS is being configured in jee*.xml

All other configuration values are in Admin->Config

On Wed, Nov 8, 2017 at 10:53 PM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Is there a similar configuration file like 
webapps/openmeetings/public/config.xml in OM4.0?

Thanks,

Tom



On Wed, Nov 8, 2017 at 10:52 AM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Hi, Maxim,

I checked the more up-to-date instructions you sent. It still lists step 7:
webapps/openmeetings/public/config.xml|

I understand you said this step is not necessary. However, I tried to access 
mydoamin:5443/openmeetings.
I just see an inaccessible error. More important, I tried sudo netstat -plnt, 
but nothing is listening at port 5443.
Of course, I started the red5 server. Do you know why?


Thanks,

Tom



On Wed, Nov 8, 2017 at 1:52 AM, Maxim Solodovnik 
<[email protected]<mailto:[email protected]>> wrote:
This is email from 2016
It is not necessary to modify config.xml anymore

These parameters are redundant since 4.0.0
<protocol>https</protocol> <red5httpport>5443</red5httpport> 
<rtmpsslport>5443</rtmpsslport>
These can be set via Admin->Config
<useSSL>yes</useSSL> <proxyType>none</proxyType>

Here is the thread with more up-to-date instructions: 
http://markmail.org/message/ik4qdhdychl364bp (I haven't check them ... )

On Wed, Nov 8, 2017 at 1:33 PM, Tom Luo 
<[email protected]<mailto:[email protected]>> wrote:
Hi, all,

In the email:
http://openmeetings.markmail.org/message/hqwjnihcfb4tqxkx?q=letsencrypt

It said we need to modify


Edit ../webapps/openmeetings/public/config.xml and set

<protocol>https</protocol> <red5httpport>5443</red5httpport> 
<rtmpsslport>5443</rtmpsslport> <useSSL>yes</useSSL> <proxyType>none</proxyType>



However, in OM4.0, I cannot find the config.xml file.

So, which file should I modify?



Thanks,



Tom





--
WBR
Maxim aka solomax





--
WBR
Maxim aka solomax




--
WBR
Maxim aka solomax




--
WBR
Maxim aka solomax





--
WBR
Maxim aka solomax






--
WBR
Maxim aka solomax








--
WBR
Maxim aka solomax



--
WBR
Maxim aka solomax




--
WBR
Maxim aka solomax





--
WBR
Maxim aka solomax


Reply via email to