powered by Jive Software

Fastpath setup complication

So I’ve been trying to get FastPath and the webchat plugin installed… and for some reason while it use to work on my domain name server, its not working on my external host which doesn’t run any of my DNS services.

secure.cat6wired.net is a different box from my name servers ns3 and ns4. I’m not sure why I’m getting ‘incorrect hostname in stream header’ messages, because its connecting to itself (the webchat service is running on the jabber server which is local.

Here are the log messages:

2009.05.01 08:20:29 Closing session due to incorrect hostname in stream header. Host: workgroup.secure.cat6wired.net. Connection: org.jivesoftware.openfire.net.SocketConnection@ec7913 socket: Socket[addr=/216.93.189.24,port=45117,localport=5269] session: null
2009.05.01 08:20:29 Closing session due to incorrect hostname in stream header. Host: secure.cat6wired.net. Connection: org.jivesoftware.openfire.net.SocketConnection@1b0eadd socket: Socket[addr=/64.151.74.252,port=40930,localport=5269] session: null
2009.05.01 08:20:29 Could not retrieve image: offline
remote-server-not-found(404)
at com.jivesoftware.smack.workgroup.user.Workgroup.getChatSettings(Unknown Source)
at com.jivesoftware.smack.workgroup.user.Workgroup.getChatSettings(Unknown Source)
at org.jivesoftware.webchat.util.SettingsManager.getImage(SettingsManager.java:147 )
at org.jivesoftware.webchat.FastpathServlet.service(FastpathServlet.java:174)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1093)
at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)
at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollect ion.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.j ava:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
2009.05.01 08:20:33 Closing session due to incorrect hostname in stream header. Host: workgroup.secure.cat6wired.net. Connection: org.jivesoftware.openfire.net.SocketConnection@16915d4 socket: Socket[addr=/216.93.189.24,port=45121,localport=5269] session: null
2009.05.01 08:20:33 Closing session due to incorrect hostname in stream header. Host: secure.cat6wired.net. Connection: org.jivesoftware.openfire.net.SocketConnection@121a735 socket: Socket[addr=/64.151.74.252,port=40934,localport=5269] session: null
2009.05.01 08:20:33 Closing session due to incorrect hostname in stream header. Host: workgroup.secure.cat6wired.net. Connection: org.jivesoftware.openfire.net.SocketConnection@1826b5c socket: Socket[addr=/216.93.189.24,port=45125,localport=5269] session: null
2009.05.01 08:20:33 Closing session due to incorrect hostname in stream header. Host: secure.cat6wired.net. Connection: org.jivesoftware.openfire.net.SocketConnection@11492ed socket: Socket[addr=/64.151.74.252,port=40938,localport=5269] session: null
2009.05.01 08:20:33 Closing session due to incorrect hostname in stream header. Host: workgroup.secure.cat6wired.net. Connection: org.jivesoftware.openfire.net.SocketConnection@16a16ae socket: Socket[addr=/216.93.189.24,port=45129,localport=5269] session: null
2009.05.01 08:20:33 Closing session due to incorrect hostname in stream header. Host: secure.cat6wired.net. Connection: org.jivesoftware.openfire.net.SocketConnection@681e5a socket: Socket[addr=/64.151.74.252,port=40942,localport=5269] session: null
2009.05.01 08:20:33 Error retrieving chat setting using key=no_help_text and workgroup=demo@workgroup.secure.cat6wired.net
remote-server-not-found(404)
at com.jivesoftware.smack.workgroup.user.Workgroup.getChatSettings(Unknown Source)
at com.jivesoftware.smack.workgroup.user.Workgroup.getChatSettings(Unknown Source)
at org.jivesoftware.webchat.util.SettingsManager.getChatSetting(SettingsManager.ja va:108)
at org.jivesoftware.webchat.util.FormText.getTextSetting(FormText.java:128)
at org.jivesoftware.webchat.util.FormText.getNoHelpText(FormText.java:103)
at org.jivesoftware.webclient.jsp.email.offline_002dmail_jsp._jspService(offline_0 02dmail_jsp.java:47)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1093)
at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)
at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollect ion.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.j ava:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
2009.05.01 08:20:33 Closing session due to incorrect hostname in stream header. Host: workgroup.secure.cat6wired.net. Connection: org.jivesoftware.openfire.net.SocketConnection@41986c socket: Socket[addr=/216.93.189.24,port=45133,localport=5269] session: null
2009.05.01 08:20:33 Closing session due to incorrect hostname in stream header. Host: secure.cat6wired.net. Connection: org.jivesoftware.openfire.net.SocketConnection@18ada25 socket: Socket[addr=/64.151.74.252,port=40946,localport=5269] session: null
2009.05.01 08:20:33 Could not retrieve image: logo
remote-server-not-found(404)
at com.jivesoftware.smack.workgroup.user.Workgroup.getChatSettings(Unknown Source)
at com.jivesoftware.smack.workgroup.user.Workgroup.getChatSettings(Unknown Source)
at org.jivesoftware.webchat.util.SettingsManager.getImage(SettingsManager.java:147 )
at org.jivesoftware.webchat.servlets.ImageServlet.doGet(ImageServlet.java:43)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1093)
at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)
at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollect ion.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.j ava:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
2009.05.01 08:20:33 Could not retrieve image: poweredby
remote-server-not-found(404)
at com.jivesoftware.smack.workgroup.user.Workgroup.getChatSettings(Unknown Source)
at com.jivesoftware.smack.workgroup.user.Workgroup.getChatSettings(Unknown Source)
at org.jivesoftware.webchat.util.SettingsManager.getImage(SettingsManager.java:147 )
at org.jivesoftware.webchat.servlets.ImageServlet.doGet(ImageServlet.java:43)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1093)
at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)
at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollect ion.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.j ava:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
2009.05.01 08:20:33 Could not retrieve image: main
remote-server-not-found(404)
at com.jivesoftware.smack.workgroup.user.Workgroup.getChatSettings(Unknown Source)
at com.jivesoftware.smack.workgroup.user.Workgroup.getChatSettings(Unknown Source)
at org.jivesoftware.webchat.util.SettingsManager.getImage(SettingsManager.java:147 )
at org.jivesoftware.webchat.servlets.ImageServlet.doGet(ImageServlet.java:43)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1093)
at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)
at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollect ion.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.j ava:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

My installation is openfire 3.6.3, and I just re-installed the fastpath service and webchat plugin. During the setup, I entered the hostname secure.cat6wired.net which is running the openfire server. I have approximately 9 IPs on this system, but openfire should be binding to them all. I do have the proper jabber/xmpp service records and they run fine. My jabber domain is cat6wired.net and logins and communication works fine. Not sure what to do about this one.

Don’t know if this is relevant at all either, but every time I restart the webchat service I get the following error:

HTTP ERROR: 500

INTERNAL_SERVER_ERROR

RequestURI=/plugin-admin.jsp

Caused by:

java.lang.NullPointerException
     at org.jivesoftware.util.WebManager.logEvent(WebManager.java:118)
     at org.jivesoftware.openfire.admin.plugin_002dadmin_jsp._jspService(plugin_002dadmin_jsp.java:142)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
     at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
     at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:66)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:42)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:70)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:146)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
     at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
     at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
     at org.mortbay.jetty.Server.handle(Server.java:324)
     at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
     at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
     at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
     at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
Its kind of upsetting.  I have to then re-login to my portal, and when I go back to webchat, I have to set it up again... what gives?

Message was edited by: Brian Menges

I found this in my debug, but I don’t understand why its prematurely closing the connection:

2009.05.13 20:20:23 ServerDialback: OS - Trying to connect to workgroup.secure.cat6wired.net:5269(DNS lookup: workgroup.secure.cat6wired.net:5269)
2009.05.13 20:20:23 Connect Socket[addr=/216.93.189.24,port=41669,localport=5269]
2009.05.13 20:20:23 ServerDialback: OS - Connection to workgroup.secure.cat6wired.net:5269 successful
2009.05.13 20:20:23 ServerDialback: OS - Sent dialback key to host: workgroup.secure.cat6wired.net id: cceb155c from domain: cat6wired.net
2009.05.13 20:20:23 ServerDialback: RS - Received dialback key from host: cat6wired.net to: workgroup.secure.cat6wired.net
2009.05.13 20:20:23 ServerDialback: RS - Error, hostname not recognized: workgroup.secure.cat6wired.net
2009.05.13 20:20:23 Connection closed before session established
Socket[addr=/216.93.189.24,port=41669,localport=5269]
2009.05.13 20:20:23 ServerDialback: OS - Unexpected answer in validation from: workgroup.secure.cat6wired.net id: cceb155c for domain: cat6wired.net answer:<stream:error xmlns:stream=“http://etherx.jabber.org/streams”></stream:error>

Its as if the dialback works, but then rejects… not sure what its doing. Help?

moved my fastpath installation to the same server that runs my DNS, and resolved it by not having to deal with the problem. Sad that this couldnt’ get resolved without this step.