[jdev] external contact subscription: s2s problem?

Norman Rasmussen normanr at gmail.com
Wed Aug 31 04:35:15 CDT 2005


Make sure that component.myhost.com is resolvable via dns from the
other host, from what you say that sounds like the missing part.

On 31/08/05, Konstantin Klyagin <k at thekonst.net> wrote:
> 
> I've got a strange problem with a component I am developing. When
> it tries to subscribe to someone's presence and the person is
> registered on the same Jabber server the component connects to,
> everything is fine. Let's say, the component is called
> component.myhost.com and the person is konst at myhost.com. No problem
> with subscription.
> 
> However, when I try to subscribe to someone's presence, and he is
> logged in via an external server, I receive the 502 error. This is
> how it looks like:
> 
> [OUT]<presence from='account1 at component.myhost.com' to='thekonst at jabber.com' type='subscribe'/>
> 
> [IN]<presence from='thekonst at jabber.com' to='account1 at component.myhost.com' type='error'><error code='502'>Server Connect Failed</error></presence>
> 
> Also, when I log in under some user at myhost.com (the hostname is
> replaced, but the one I use can be resolved, as well as
> component.myhost.com), I can add my jabber.com contact to the
> roster and talk to it. Only the component cannot. What I am doing
> wrong?
> 
> Thank you for answers in advance.
> 
> --
> konst at http://thekonst.net/
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
> 


-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list