[jdev] 'service requested for unknown domain' Problem

Dennis Philpot dennis at telepronto.de
Tue Apr 25 07:36:37 CDT 2006

Hello everybody,

i hope i can find some help in here. I want to develop a php Jabber client
and got some problems from the very first steps.

I'm opening a socket connection to the jabber-server and sending the
<?xml version='1.0' encoding='UTF-8' ?>
<stream:stream to='{jabber.domain.tdl}' xmlns='jabber:client'
<iq type='get' id='auth_11474daa1621fcf9c870dcc0392846c4'>
	<query xmlns='jabber:iq:auth'>

after this I'm waiting for the response (2 sec) and request a block of 4096
bytes with the following content:
<?xml version='1.0'?>
<stream:stream from='{jabber.domain.tdl}' xmlns='jabber:client'
	<stream:error xmlns:stream='http://etherx.jabber.org/streams'>
		<host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
			<text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>
				service requested for unknown domain

Now the to the confusing part:
1. The PSI client works perfektly on the Jabberserver
2. The host-unknown message give me the following information (AFAIK): the
domain in the c2s.xml isn't the requested domain in the php-script. Well
this seems to be a good point to start, but the domain's and vhost's are the
same, the IP is configured correctly and so on.
So basicly the Jabberserver is running correctly and every client can
connect, excluding mine.

So i hope i can get here some help for my, hopefully, little problem.



More information about the JDev mailing list