powered by Jive Software

OpenFire 3.4.1 and JWChat disconnects

We’re running an OpenFire 3.4.1 server here, with clients connecting using a modified JWChat client over http-binding. However, users are occasionally receiving 404 errors from OpenFire’s Jetty server, causing the connection to break.

There doesn’t seem to be any predictability to this, it happens quite randomly.

What could be causing this, or is there something we can track to isolate and fix this issue?

Jon

It could be a timeout in your webserver, especially if you have set the Openfire parameters as suggested here.

Look into KeepAlive for your webserver, if setting Openfires parameters doesn’t solve it.

I have those OpenFire properties set, but I don’t think it is a timeout, because the 10 second wait ordinarily works fine.

Just sometimes, something happens inside OpenFire, causing Jetty to return a 404 error to a particular request.

I have a similar issue. I use openfire 3.4.2 and jwchat-1.0beta3, when I do try to create an user, it is created in openfire but before getting logged in I get a message stating: Internal Server Error, Disconnected, Would you like to reconnect. Then I accept it keeps asking the same.Here you have a portion of my debug log, but I don’t know what error it really is. Apache doesn’t show no errors on it’s log.

2007.12.25 23:54:55 JettyLog: EOF

2007.12.25 23:54:55 JettyLog: continuation {}

2007.12.25 23:54:55 JettyLog: resume continuation {}

2007.12.25 23:54:55 JettyLog: continuation still pending {}

2007.12.25 23:54:55 JettyLog: continuation {}

2007.12.25 23:54:55 JettyLog: EOF

2007.12.25 23:54:55 JettyLog: continuation {}

2007.12.25 23:54:55 JettyLog: continuation {}

2007.12.25 23:54:55 JettyLog: resume continuation {}

2007.12.25 23:54:55 JettyLog: continuation still pending {}

2007.12.25 23:54:55 JettyLog: continuation {}

2007.12.25 23:54:55 JettyLog: EOF

2007.12.25 23:54:55 JettyLog: continuation {}

2007.12.25 23:54:55 JettyLog: continuation {}

2007.12.25 23:54:55 XMPPCallbackHandler: RealmCallback: jabber.arteaga.info

2007.12.25 23:54:55 XMPPCallbackHandler: NameCallback: test5

2007.12.25 23:54:55 XMPPCallbackHandler: PasswordCallback

2007.12.25 23:54:55 XMPPCallbackHandler: AuthorizeCallback

2007.12.25 23:54:55 AuthorizationManager: Trying Default Mapping.map(test5)

2007.12.25 23:54:55 DefaultAuthorizationMapping: No realm found

2007.12.25 23:54:55 XMPPCallbackHandler: no username requested, using test5

2007.12.25 23:54:55 AuthorizationManager: Trying Default Policy.authorize(test5 , test5)

2007.12.25 23:54:55 DefaultAuthorizationPolicy: Checking authenID realm

2007.12.25 23:54:55 XMPPCallbackHandler: test5 authorized to test5

2007.12.25 23:54:55 JettyLog: resume continuation {}

2007.12.25 23:54:55 JettyLog: continuation still pending {}

2007.12.25 23:54:55 JettyLog: continuation {}

2007.12.25 23:54:55 JettyLog: EOF

2007.12.25 23:54:55 JettyLog: continuation {}

2007.12.25 23:54:55 JettyLog: EOF

2007.12.25 23:54:55 JettyLog: EOF

2007.12.25 23:54:55 JettyLog: EOF

2007.12.25 23:54:55 JettyLog: EOF

2007.12.25 23:54:56 JettyLog: EOF

2007.12.25 23:54:56 JettyLog: EOF

2007.12.25 23:54:56 JettyLog: EOF

2007.12.25 23:54:56 JettyLog: EOF

2007.12.25 23:54:56 JettyLog: EOF

2007.12.25 23:54:56 JettyLog: EOF

2007.12.25 23:54:56 JettyLog: EOF

I have also noticed a parsing error at the same time on warning logs:

2007.12.26 02:42:22

Error parsing user request. http://10.0.0.13

If someone will show some light, I’ll appreciate it.

Thank you in advance.

Message was edited by: Jose_Manuel