java.io.IOException trying to login after 3.9.3 upgrade

Did the upgrade from 3.9.2 to 3.9.3 and after trying to login to web admin using my LDAP username I get the following error everytime (all browsers):

HTTP ERROR 500

Problem accessing /index.jsp. Reason:

java.io.IOException

**Caused by: **

**
**

org.apache.commons.httpclient.HttpClientError: java.io.IOException

at org.jivesoftware.openfire.clearspace.SSLProtocolSocketFactory.createSSLContext( SSLProtocolSocketFactory.java:73)

at org.jivesoftware.openfire.clearspace.SSLProtocolSocketFactory.getSSLContext(SSL ProtocolSocketFactory.java:79)

at org.jivesoftware.openfire.clearspace.SSLProtocolSocketFactory.createSocket(SSLP rotocolSocketFactory.java:132)

at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)

at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDir ector.java:387)

at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirect or.java:171)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)

at org.jivesoftware.util.HttpClientWithTimeoutFeedFetcher.retrieveFeed(HttpClientW ithTimeoutFeedFetcher.java:169)

at org.jivesoftware.openfire.admin.index_jsp._jspService(index_jsp.java:432) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1359)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:50)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:22 7)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:94 1)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186 )

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:250)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:149)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:919)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)

at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51 )

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.jav a:586)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java :44)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598 )

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)

at java.lang.Thread.run(Unknown Source)

I should mention that LDAP auth seems to be working fine in Spark itself, just can’t login to web admin page. Also, dunno if it’s relevant but, I had to do the following to get 3.9.2 working with LDAP:

  1. Stop Openfire
  2. Edit conf/security.xml and remove the ldap.* entries in the encrypted properties list
  3. Restore the original LDAP authentication credentials into the conf/openfire.xml file
  4. Start Openfire

Did not do step 3 (left ldap credentials encrypted even though ldap.* entries were removed from security.xml)

So I just uninstalled 3.9.3 because users were reporting issues seeing people in other groups, and since I couldn’t log in to administer I just uninstalled and reverted back to 3.9.1. Copied over backup of Program Files (x86)\Openfire from when we were running 3.9.1 and now the Spark issues are gone but I still can’t log into web admin. Same error.

This error appears to be related to the recent change in the IgniteRealtime community pages. The team has recently switched over to using SSL, and the RSS feed links embedded within the Openfire admin console are referring to outdated (non-SSL) locations.

Created OF-798 to track this issue.

1 Like

Based on what Tom said, I was able to work around the problem by putting this entry in the “hosts” file on my Openfire server:

127.0.0.1
community.igniterealtime.org

We can log in to the admin console now.

Thanks Tom

I am getting this exact error with a more or less fresh install of 3.9.3 that was having no problems with the admin console prior.

This hosts file mentioned, where might that be? I am unable to find it anywhere within the openfire directory?

He meant this C:\Windows\System32\drivers\etc\hosts file. After you add this line into hosts and able to login. Create a System Property in Openfire Admin Console:

rss.enabled

with a value false

I have done this the first day RSS links were added into Admin Console and honestly, i think Admin Console is not the place for this abomination. And now it cause people problems with logins? This is mad. Remove them and gone with the problems…

Thanks Tom,

This guided me to disable RSS on admin dashboard. For this, simply navigate to ‘http://server:9090/server-properties.jsp

Then add key-value pair=> rss.enabled / false

That is it!

This fixed the problem for me.