AnsweredAssumed Answered

Inconsistent login success using Red5

Question asked by davenz on Sep 7, 2009
Latest reply on Oct 5, 2009 by davenz

Hi All

 

I understand development of Red5 Sparkweb is on ice (bummer as it's pretty cool!) but thought I'd ask all the same to see if there is a fix or something I am overlooking.

 

Red5 Sparkweb is installed and running with our Openfire 3.6.4 installation, but logins using Red5 Sparkweb are inconsistent to the point of being unusable.

 

I've tried all sorts of browsers (IE7, IE8, Safari x86, FF3.0.x - 3.5.x) on Windows XP Professional and OpenSolaris 2009.06 base OSs. In all cases the only platform which allows me to consistently and successfully log in to Red5 Sparkweb is OpenSolaris running Firefox 3.5.1.

 

In all other cases on Windows XP Professional using combos of the above browsers (on several test machines) I will see:

 

1) credential prompt followed by login success, or

2) credential prompt followed by total browser inactivity when credentials are entered (browser will either report "tranferring data..." endlessly, or simply "Done")


About 90 percent of the time I see the latter. I've checked and opened firewalls wide open, removed AV software, and in the case of IE brought security levels down to their lowest levels - with no change in behvaiour.

 

Clearing browser caches doesn't seem to change the behaviour.

 

In all cases Flash player is running version                      10.0.32.18.

 

Clients are all on the same corporate network as the server.

 

 

Now, activating the debug log in Openfire I see stuff like the followin:

 

1) when clients first download the Red5 Sparkweb app:

 

2009.09.07 17:30:07 Cleared thread-bound request context: GET /red5/sparkweb/plugins/plugins.xml HTTP/1.1
Host: my.server.somewhere:7443
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-nz
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

 

 

2) and then when credentials are entered with no further response from the browser (lots of these):

 

2009.09.04 17:37:44 ConnectionHandler:
javax.net.ssl.SSLHandshakeException: SSL handshake failed.
at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:416)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
at org.apache.mina.common.support.AbstractIoFilterChain$HeadFilter.messageReceived (AbstractIoFilterChain.java:499)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.fireMessageReceived(Abstra ctIoFilterChain.java:293)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.j ava:228)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcesso r.java:198)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$400(SocketIoProce ssor.java:45)
at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProce ssor.java:485)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(Unknown Source)
at javax.net.ssl.SSLEngine.unwrap(Unknown Source)
at org.apache.mina.filter.support.SSLHandler.unwrap0(SSLHandler.java:658)
at org.apache.mina.filter.support.SSLHandler.unwrapHandshake(SSLHandler.java:614)
at org.apache.mina.filter.support.SSLHandler.handshake(SSLHandler.java:493)
at org.apache.mina.filter.support.SSLHandler.messageReceived(SSLHandler.java:306)
at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:392)

 

 

Any clues anyone, and is anyone else seeing this too?

 

Cheers,

Dave

Outcomes