You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by George Kirkham <gk...@co2crc.com.au> on 2012/05/17 00:28:47 UTC
RE: Problem: Import process never completes for both Backup Import and for Image upload.
Sebastian,
Then why would "the upload window in the client UI could not be closed
because the publicSID not be found in the server session to send the
"import-complete" event" ?
This issue is also happening in the "Upload new image" routine, please
see log entries for two "Upload new image" actions.
I will rebuild my OpenMeetings server and test the image once again, two
see if the issue happens in a clean build. Could it that there is some
corrupt data in my Production import ? Does uploading a new image work
for you?
ERROR 05-17 08:13:25.904 ScopeApplicationAdapter.java 53177045 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-2] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
And under another UserID
DEBUG 05-17 08:21:04.901 ProcessHelper.java 53636042 101
org.openmeetings.app.documents.GenerateSWF [http-0.0.0.0-5080-2] -
exitVal: 0
ERROR 05-17 08:21:04.904 ScopeApplicationAdapter.java 53636045 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-2] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWith
ClientByPublicSID(ScopeApplicationAdapter.java:2707)
~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.UploadController.sendMessage(Uplo
adController.java:163) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.UploadController.handleFormUpload
(UploadController.java:147) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)
~[na:1.6.0_26]
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.inv
okeHandlerMethod(HandlerMethodInvoker.java:176)
[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.handle(AnnotationMethodHandlerAdapter.java:424)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:790)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:719)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:669)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:585)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[javaee-api-5.1.2.om.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7) [red5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:470) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554
) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98) [catalina-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
9) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-17 08:21:45.956 DownloadHandler.java 53677097 125
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-2] -
query =
fileName=_profile_GeorgePhotoForSkype.jpg&moduleName=userprofile&parentP
ath=&room_id=&sid=95d1393bce783fd45953882b477e3a7a&r=1337206886060
DEBUG 05-17 08:21:45.957 DownloadHandler.java 53677098 126
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-2] -
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 8:19 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
Quote from your log: *File explorer item import complete, clearing temp
files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in
the client UI could not be closed because the publicSID could not be
found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into
my test build of revision 1338946 using the UI, however the import never
completes, it just stays on the screen showing that it is "converting
document". The log shows that Users and Rooms are imported
successfully, but the process errors along the way. The error "Could not
Find RoomClient on List publicSID" seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200
2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
/openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID
=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=133716128201
6 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
/openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200
666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST
/openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c
63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ez
ip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45
953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - roomFilesFolder PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - sourceDirRec PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - File explorer item import complete, clearing
temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWith
ClientByPublicSID(ScopeApplicationAdapter.java:2707)
~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.BackupImportController.service(Ba
ckupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)
~[na:1.6.0_26]
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.inv
okeHandlerMethod(HandlerMethodInvoker.java:176)
[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.handle(AnnotationMethodHandlerAdapter.java:424)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:790)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:719)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:669)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:585)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[javaee-api-5.1.2.om.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7) [red5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:470) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554
) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98) [catalina-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
9) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
org.openmeetings.app.quartz.scheduler.MeetingReminderJob
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be
modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on
Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert - Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
>From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a
PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then
issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out
om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
-out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
-outform DER
wget
http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData
/data/ImportKey.java
wget
http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData
/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root
folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <
Stephen.Cottham@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the
certificates module and import it that way, after importing via IE it
can now use firefox too.
I'm just knocking up the steps I took to get it to work and will mail it
back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root
folder via the browser and it will now connect, so anyone using a
self-signed cert will need to add this to all machines they plan on
running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I've created the self-signed certificate, this is working fine in apache
and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319
out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine,
I'll keep on trying to see what's going wrong, not much from the logs
etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root
certificate):
http://www.tc.umn.edu/~brams006/selfsign.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret
-destkeystore keystore -destalias red5 -srckeystore certificate.pfx
-srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I
can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the
red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/re
d5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings
via SSL, for example the people asking for the RTMPSClient feature in
the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17
03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18]
org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a
MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
rtmp: RTMP [state=connect, client-mode=false, debug=false,
encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={},
writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={},
writeTimestamps={}, liveTimestamps={}, readChunkSize=128,
writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183
cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too
small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in:
931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server
and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://
192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally
privileged information or copyright material. Unless expressly stated,
confidentiality and/or legal privilege is not intended to be waived by
the sending of this email. The contents of this email, including any
attachments, are intended solely for the use of the individual or entity
to whom they are addressed. If you are not an intended recipient, please
contact us immediately by return email and then delete both messages.
You may not otherwise read, forward, copy, use or disclose this email or
any attachments. Any views expressed in this email are those of the
individual sender except where the sender expressly, and with authority,
states otherwise. It is your responsibility to check any attachments for
viruses or defects before opening or sending them on. None of the sender
or its related entities accepts any liability for any consequential
damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
RE: Problem: Import process never completes for both Backup Import and for Image upload.
Posted by George Kirkham <gk...@co2crc.com.au>.
Sebastian,
I have just tested Image upload for a user, and this worked fine.
I am putting my issue down to corrupt data in my production
installation.
Then next time I move code to production, I will manually re-enter all
users (there are not that many of them). Files can be re-uploaded as
required.
Thanks,
George Kirkham
IT Manager
Cooperative Research Centre For Greenhouse Gas Technologies (CO2CRC)
NFF House, 14 - 16 Brisbane Avenue, Barton, ACT, 2600, Australia
T: (02) 6120 1600
F: (02) 6273 7181
E: gkirkham@co2crc.com.au,
W: www.co2crc.com.au
From: George Kirkham [mailto:gkirkham@co2crc.com.au]
Sent: Thursday, 17 May 2012 8:29 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: Problem: Import process never completes for both Backup
Import and for Image upload.
Sebastian,
Then why would "the upload window in the client UI could not be closed
because the publicSID not be found in the server session to send the
"import-complete" event" ?
This issue is also happening in the "Upload new image" routine, please
see log entries for two "Upload new image" actions.
I will rebuild my OpenMeetings server and test the image once again, two
see if the issue happens in a clean build. Could it that there is some
corrupt data in my Production import ? Does uploading a new image work
for you?
ERROR 05-17 08:13:25.904 ScopeApplicationAdapter.java 53177045 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-2] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
And under another UserID
DEBUG 05-17 08:21:04.901 ProcessHelper.java 53636042 101
org.openmeetings.app.documents.GenerateSWF [http-0.0.0.0-5080-2] -
exitVal: 0
ERROR 05-17 08:21:04.904 ScopeApplicationAdapter.java 53636045 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-2] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWith
ClientByPublicSID(ScopeApplicationAdapter.java:2707)
~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.UploadController.sendMessage(Uplo
adController.java:163) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.UploadController.handleFormUpload
(UploadController.java:147) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)
~[na:1.6.0_26]
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.inv
okeHandlerMethod(HandlerMethodInvoker.java:176)
[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.handle(AnnotationMethodHandlerAdapter.java:424)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:790)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:719)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:669)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:585)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[javaee-api-5.1.2.om.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7) [red5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:470) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554
) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98) [catalina-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
9) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-17 08:21:45.956 DownloadHandler.java 53677097 125
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-2] -
query =
fileName=_profile_GeorgePhotoForSkype.jpg&moduleName=userprofile&parentP
ath=&room_id=&sid=95d1393bce783fd45953882b477e3a7a&r=1337206886060
DEBUG 05-17 08:21:45.957 DownloadHandler.java 53677098 126
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-2] -
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 8:19 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
Quote from your log: *File explorer item import complete, clearing temp
files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in
the client UI could not be closed because the publicSID could not be
found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into
my test build of revision 1338946 using the UI, however the import never
completes, it just stays on the screen showing that it is "converting
document". The log shows that Users and Rooms are imported
successfully, but the process errors along the way. The error "Could not
Find RoomClient on List publicSID" seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200
2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
/openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID
=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=133716128201
6 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
/openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200
666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST
/openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c
63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ez
ip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45
953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - roomFilesFolder PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - sourceDirRec PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - File explorer item import complete, clearing
temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWith
ClientByPublicSID(ScopeApplicationAdapter.java:2707)
~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.BackupImportController.service(Ba
ckupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)
~[na:1.6.0_26]
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.inv
okeHandlerMethod(HandlerMethodInvoker.java:176)
[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.handle(AnnotationMethodHandlerAdapter.java:424)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:790)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:719)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:669)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:585)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[javaee-api-5.1.2.om.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7) [red5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:470) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554
) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98) [catalina-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
9) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
org.openmeetings.app.quartz.scheduler.MeetingReminderJob
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be
modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on
Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert - Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
>From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a
PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then
issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out
om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
-out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
-outform DER
wget
http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData
/data/ImportKey.java
wget
http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData
/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root
folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <
Stephen.Cottham@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the
certificates module and import it that way, after importing via IE it
can now use firefox too.
I'm just knocking up the steps I took to get it to work and will mail it
back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root
folder via the browser and it will now connect, so anyone using a
self-signed cert will need to add this to all machines they plan on
running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I've created the self-signed certificate, this is working fine in apache
and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319
out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine,
I'll keep on trying to see what's going wrong, not much from the logs
etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root
certificate):
http://www.tc.umn.edu/~brams006/selfsign.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret
-destkeystore keystore -destalias red5 -srckeystore certificate.pfx
-srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I
can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the
red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/re
d5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings
via SSL, for example the people asking for the RTMPSClient feature in
the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17
03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18]
org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a
MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
rtmp: RTMP [state=connect, client-mode=false, debug=false,
encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={},
writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={},
writeTimestamps={}, liveTimestamps={}, readChunkSize=128,
writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183
cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too
small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in:
931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server
and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://
192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally
privileged information or copyright material. Unless expressly stated,
confidentiality and/or legal privilege is not intended to be waived by
the sending of this email. The contents of this email, including any
attachments, are intended solely for the use of the individual or entity
to whom they are addressed. If you are not an intended recipient, please
contact us immediately by return email and then delete both messages.
You may not otherwise read, forward, copy, use or disclose this email or
any attachments. Any views expressed in this email are those of the
individual sender except where the sender expressly, and with authority,
states otherwise. It is your responsibility to check any attachments for
viruses or defects before opening or sending them on. None of the sender
or its related entities accepts any liability for any consequential
damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>