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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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='[EMAIL PROTECTED]' to='[EMAIL PROTECTED]' 
> type='subscribe'/>
> 
> [IN]<presence from='[EMAIL PROTECTED]' to='[EMAIL PROTECTED]' 
> 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
> [email protected]
> http://mail.jabber.org/mailman/listinfo/jdev
> 


-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev

Reply via email to