Error Sending Packet To Remote Server
JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. All Places > Support > Openfire Support > Discussions Please enter a title. You can not post a blank message. Please type your message and try again. 5 Replies Latest reply on Jun 9, 2010 12:42 PM by maalox Subscription service problems / Cannot route packet of type IQ or Presence to bare JID rene-1 Apr 29, 2008 6:11 AM Hi there,i am running of 3.5.1 and i noticed some strange subscription behaviour. The subscription properties are set to "Accept" - All - All subscription requests will be intercepted and automatically accepted.There is no problem to add, authorize or chat with people that are logged on into my of. The problem seems to be the connection with external server sessions. openfire tells me that there are some incoming server sessions from other jabber-servers but no outgoing connection.So it is not possible no authorize or even talk to people that have their account on an external jabber-server - which sucks.I don´t know what`s wrong because it worked in the past (of 3.4.4 e.g.). S2S is set to active with no limitations. EDIT: warn.log: -1)org.jivesoftware.openfire.PacketException: Cannot route packet of type IQ or Presence to bare JID:
Sign in Pricing Blog Support Search GitHub This repository Watch 3 Star 3 Fork 2 deleolajide/openfire-jappix Code Issues 20 Pull requests 0 Projects 0 Pulse Graphs New issue error remote server not found #9 Open GoogleCodeExporter opened this Issue Jul 26, 2015 · 2 comments Projects None yet Labels https://community.igniterealtime.org/thread/32656 auto-migrated Priority-Medium Type-Defect Milestone No milestone Assignees No one assigned 1 participant GoogleCodeExporter commented Jul 26, 2015 What steps will reproduce the problem? 1. get error when i try to send a message 2. 3. What is the expected output? What https://github.com/deleolajide/openfire-jappix/issues/9 do you see instead? "error remote server not found" What version of the product are you using? On what operating system?
| Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ http://servicemix.396122.n5.nabble.com/XMPP-with-Openfire-Error-trying-to-connect-to-remote-server-servicemix-user-td414052.html ♦ XMPP with Openfire - Error trying to connect to http://code.taobao.org/p/xmmp-openfire/diff/4/trunk/openfire/src/java/org/jivesoftware/openfire/server/OutgoingSessionPromise.java remote server: servicemix-user I am running Openfire (Jabber Server) locally. I created servicemix-user/servicemix-pwd account in Openfire. And using Pidgin I try to connect to Openfire. According to Openfire admin web page, the user is authenticated. However, in my pidgin, it is error sending "Not Authorized" (Note that it is not Authenticated) Here is the Openfire log. I don't understand why.... Please help me... John 2008.12.18 13:33:56 [org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSession(LocalOutgoingServerSession.java:258) ] Error trying to connect to remote server: servicemix-user(DNS lookup: servicemix-user:5269) java.net.UnknownHostException: servicemix-user at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) error sending packet at java.net.Socket.connect(Unknown Source) at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSession(LocalOutgoingServerSession.java:253) at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain(LocalOutgoingServerSession.java:144) at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPacket(OutgoingSessionPromise.java:239) at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(OutgoingSessionPromise.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) Jean-Baptiste Onofré Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: XMPP with Openfire - Error trying to connect to remote server: servicemix-user It looks like you use your user as server hostname :) Check you configuration or send your xbean.xml Regards On Thursday 18 December 2008 - 11:22, jwy923 wrote: > > I am running Openfire (Jabber Server) locally. > I created servicemix-user/servicemix-pwd account in Openfire. > And using Pidgin I try to connect to Openfire. > > According to Openfire admin web page, the user is authenticated. >
/ openfire / src / java / org / jivesoftware / openfire / server / Index: OutgoingSessionPromise.java =================================================================== --- OutgoingSessionPromise.java (revision 0) +++ OutgoingSessionPromise.java (revision 4) @@ -0,0 +1,348 @@ +/** + * $RCSfile: $ + * $Revision: $ + * $Date: $ + * + * Copyright (C) 2005-2008 Jive Software. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.jivesoftware.openfire.server; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Queue; +import java.util.concurrent.BlockingQueue; +import java.util.concurrent.ConcurrentLinkedQueue; +import java.util.concurrent.LinkedBlockingQueue; +import java.util.concurrent.ThreadPoolExecutor; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.locks.Lock; + +import org.jivesoftware.openfire.RoutableChannelHandler; +import org.jivesoftware.openfire.RoutingTable; +import org.jivesoftware.openfire.XMPPServer; +import org.jivesoftware.openfire.session.LocalOutgoingServerSession; +import org.jivesoftware.openfire.spi.RoutingTableImpl; +import org.jivesoftware.util.JiveGlobals; +import org.jivesoftware.util.cache.Cache; +import org.jivesoftware.util.cache.CacheFactory; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.xmpp.packet.IQ; +import org.xmpp.packet.JID; +import org.xmpp.packet.Message; +import org.xmpp.packet.Packet; +import org.xmpp.packet.PacketError; +import org.xmpp.packet.Presence; + +/** + * An OutgoingSessionPromise provides an asynchronic way for sending packets to remote servers. + * When looking for a route to a remote server that does not have an existing connection, a session + * promise is returned. + * + * This class will queue packets and process them in another thread. The pro