Fastpath: Unable To Connect to An Agent

I am currently working on setting up fastpath. I have also just upgraded my server to 3.6.0a. Everything seems to be up and running but when I go to launch a test chat session it always errors out.

I have check my ports and I currently have the following ports forwarded: 5222,5223,9090,9091,7776-7778,5269,7070,7443.

Other than that I am using a self-signed certificate so I disabled security being required but the problem has persisted. One other inconsistency I have noticed is that I removed email and question and required fields but despite this they are still required.

Apart from that I can see the user connecting to me as an agent, I accept, and then wait for them to join but it fails. If I talk it tells the user that the agent has ended the session. I have tested this myself and with other people on other networks. Everything seems to be working except that last part where, I assume, the agent/client begin a conversation.

Any help would be greatly appreciated, and if you need any further information let me know! Thank you!

Just marked my logs and tried again I got the following in my Warning Logs:

2008.08.29 14:54:39 Workgroup must be specified to retrieve image main

And in my Error Logs:

2008.08.29 14:55:44 [org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSes sion(LocalOutgoingServerSession.java:258)
] Error trying to connect to remote server: 75.149.172.62(DNS lookup: 75.149.172.62:5269)
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:253)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:144)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:239)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:216)
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)

Nothnig showed up in my Info logs and my Debug is not currently enabled.

2008.08.29 15:04:23 Closing statement 1380a71 (belonging to connection 1) automatically
2008.08.29 15:04:25 InternalComponentManager: RR - Agent: atrainer@myserver/spark ACCEPTED request: org.jivesoftware.xmpp.workgroup.request.UserRequest@1a8b45d
2008.08.29 15:04:28 read data in 6 lines
2008.08.29 15:04:28 pre check: paramMap.size=6
2008.08.29 15:04:28 Exec[0]: room.getChatQueue()
2008.08.29 15:04:28 --Object found in page. Call params (string:I19Wew2t02) id=8427_1220047470218. Using (XHR,POST)
2008.08.29 15:04:28 Returning: id[8427_1220047470218] assign[s0] xhr[true]
2008.08.29 15:04:28 var s0={};var s1=false;s0.connectionDropped=s1;var s2=false;s0.inQueue=s2;var s3=null;s0.nickname=s3;var s4=0;s0.queuePosition=s4;var s5=0;s0.queueTime=s5;var s6=“less than 1 minute”;s0.queueTimeForHtml=s6;var s7=true;s0.routed=s7;

DWREngine._handleResponse(‘8427_1220047470218’, s0);

2008.08.29 15:04:36 Chat Support Finished, sending transcripts
2008.08.29 15:04:36 JettyLog: EXCEPTION
java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at org.mortbay.io.nio.ChannelEndPoint.fill(ChannelEndPoint.java:122)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:282)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
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)
2008.08.29 15:04:36 JettyLog: EOF
2008.08.29 15:04:36 read data in 6 lines
2008.08.29 15:04:36 pre check: paramMap.size=6
2008.08.29 15:04:36 Exec[0]: room.getAllMessages()
2008.08.29 15:04:36 --Object found in page. Call params (string:I19Wew2t02) id=5852_1220047478296. Using (XHR,POST)
2008.08.29 15:04:36 Returning: id[5852_1220047478296] assign[s0] xhr[true]
2008.08.29 15:04:36 var s0=null;
DWREngine._handleResponse(‘5852_1220047478296’, s0);

2008.08.29 15:04:36 read data in 6 lines
2008.08.29 15:04:36 pre check: paramMap.size=6
2008.08.29 15:04:36 Exec[0]: room.isTyping()
2008.08.29 15:04:36 --Object found in page. Call params (string:I19Wew2t02) id=8646_1220047478312. Using (XHR,POST)
2008.08.29 15:04:36 Returning: id[8646_1220047478312] assign[s0] xhr[true]
2008.08.29 15:04:36 var s0=false;
DWREngine._handleResponse(‘8646_1220047478312’, s0);

2008.08.29 15:04:36 read data in 7 lines
2008.08.29 15:04:36 pre check: paramMap.size=7
2008.08.29 15:04:36 Exec[0]: room.getEndMessage()
2008.08.29 15:04:36 --Object found in page. Call params (string:I19Wew2t02, string:support%40workgroup.myserver) id=3946_1220047478843. Using (XHR,POST)
2008.08.29 15:04:36 Returning: id[3946_1220047478843] assign[s0] xhr[true]
2008.08.29 15:04:36 var s0=“Your chat has ended.”;
DWREngine._handleResponse(‘3946_1220047478843’, s0);

Is your account a group chat admin? I went nuts over the same issue until I found this information.

I hope that helps.

Thank you for your reply! I was unable to respond last week as I was out on vacation but this seems to be what the problem was. I created a new user and the chat fired right up. I was also a server administrator and I think that may have also been causing problems as the problem persisted after I removed the group chat group which I was an admin for. Whatever the case may be, I have a working fast path setup now. So many thanks!