[jadmin] XCP - Yahoo transport invalid namespace

the_mucu ah_xsmunic at yahoo.com
Mon Dec 4 21:56:23 CST 2006


Matthias Wimmer <m at tthias.eu> wrote:  Hi Ardi!

the_mucu schrieb:
> Need help!
> My XCP Server can't connect to the yahoo-transport component running
> on a Jabberd-1.4.4 server via accept-connect with the following error
> message.
> 
> ------
> 20061130T07:39:49: [warn] (yahoo-linker) Recv'd invalid namespace.
> Closing connection.
> ------
> 
> Can someone tell me what seems to be the problem?

Where did you get this error message from? XCP or jabberd 1.4.4?
How are XCP and jabberd14 connected to each other?

For jabberd14 you get his message if an component is not
seeing a xmlns='jabber:component:accept' attribute on the stream root
element (of the stream between XCP and jabberd). This attribute normaly
should be there. - Therefore I expect, that you have an error on the
setup of the connection between jabberd and XCP.

Are you trying to connect to jabberd with a client or with a normal s2s
connection? This does not work.

Please tell us a bit more about your setup and configuration. Else all
I'm writing can be just guesses what might have been done wrong.


Tot kijk
Matthias  I got this message from jabberd14. My XCP server connect to jabberd14 through an OpenPort component by specifying the Router Outbound Connection to connect to the yahoo-transport component on jabberd14. I'm not trying to connect to jabberd14 with S2S connection. Thanks for the help.
  Here is my jabberd14 configuration:
  jabberd14
  ------------------------------------------
  <jabber>
     <service id="sessions">
      <host><jabberd:cmdline flag="h">jabberd</jabberd:cmdline></host>
      <jsm xmlns="jabber:config:jsm">
        <vCard>
        <FN>Jabber Server</FN>
        <DESC>A Jabber Server!</DESC>
        <URL>http://jabberd/</URL>
      </vCard>
        <register notify="yes">
        <instructions>Choose a username and password.</instructions>
        <name/>
        <email/>
      </register>
        <welcome xml:lang='en'>
        <subject>Welcome!</subject>
        <body>Welcome to the Jabber server at localhost.</body>
      </welcome>
          <message to="yourhostname/announce/online">
          <body>announcement here</body>
        </message>
          <message to="yourhostname/announce/motd">
          <body>message</body>
        </message>
        <vcard2jud/>
        <browse>
          <service type="jud" jid="users.jabber.org" name="Jabber User Directory">
          <ns>jabber:iq:search</ns>
          <ns>jabber:iq:register</ns>
        </service>
          <service type="yahoo" jid="yahoo.jabberd" name="Yahoo! Transport">
   <ns>jabber:iq:gateway</ns>
          <ns>jabber:iq:register</ns>
   <ns>jabber:iq:version</ns>
   <ns>jabber:iq:time</ns>
        </service>
        </browse>
        <disco>
        <identity category='services' type='jabber' name='Jabber 1.4 Server'/>
        <feature var='jabber:iq:browse'/>
        <feature var='jabber:iq:agents'/>
        <feature var='jabber:iq:register'/>
        <feature var='jabber:iq:time'/>
        <feature var='jabber:iq:last'/>
        <feature var='jabber:iq:version'/>
      </disco>
        <mod_auth_crypt>
        <hash>SHA1</hash>
      </mod_auth_crypt>
        <presence>
          <!-- <bcc>component.example.com</bcc> -->
   <!-- <presence2xdb/> -->
      </presence>
      </jsm>
      <load main="jsm">
      <jsm>/usr/local/lib/libjabberdsm.so</jsm>
      <mod_stat>/usr/local/lib/libjabberdsm.so</mod_stat>
      <mod_echo>/usr/local/lib/libjabberdsm.so</mod_echo>
      <mod_roster>/usr/local/lib/libjabberdsm.so</mod_roster>
      <mod_time>/usr/local/lib/libjabberdsm.so</mod_time>
      <mod_vcard>/usr/local/lib/libjabberdsm.so</mod_vcard>
      <mod_last>/usr/local/lib/libjabberdsm.so</mod_last>
      <mod_version>/usr/local/lib/libjabberdsm.so</mod_version>
      <mod_announce>/usr/local/lib/libjabberdsm.so</mod_announce>
      <mod_agents>/usr/local/lib/libjabberdsm.so</mod_agents>
      <mod_browse>/usr/local/lib/libjabberdsm.so</mod_browse>
      <mod_disco>/usr/local/lib/libjabberdsm.so</mod_disco>
      <mod_admin>/usr/local/lib/libjabberdsm.so</mod_admin>
      <mod_offline>/usr/local/lib/libjabberdsm.so</mod_offline>
      <mod_presence>/usr/local/lib/libjabberdsm.so</mod_presence>
      <mod_auth_digest>/usr/local/lib/libjabberdsm.so</mod_auth_digest>
      <mod_auth_plain>/usr/local/lib/libjabberdsm.so</mod_auth_plain>
      <mod_log>/usr/local/lib/libjabberdsm.so</mod_log>
      <mod_register>/usr/local/lib/libjabberdsm.so</mod_register>
      <mod_xml>/usr/local/lib/libjabberdsm.so</mod_xml>
    </load>
    </service>
    <xdb id="xdb">
    <host/>
    
    <ns/>
    
    <load>
      <xdb_file>/usr/local/lib/libjabberdxdbfile.so</xdb_file>
    </load>
    <xdb_file xmlns="jabber:config:xdb_file">
      <spool><jabberd:cmdline flag='s'>/usr/local/var/spool/jabberd</jabberd:cmdline></spool>
      <timeout>3600</timeout>
      <sizelimit>500000</sizelimit>
    </xdb_file>
  </xdb>
    <service id="c2s">
    <load>
      <pthsock_client>/usr/local/lib/libjabberdpthsock.so</pthsock_client>
    </load>
    <pthcsock xmlns='jabber:config:pth-csock'>
      <authtime>120</authtime>
      <heartbeat>60</heartbeat>
      <karma>
        <init>10</init>
        <max>10</max>
        <inc>1</inc>
        <dec>1</dec>
        <penalty>-6</penalty>
        <restore>10</restore>
      </karma>
        <ip port="5222"/>
      </pthcsock>
  </service>
    <log id='elogger'>
    <host/>
    <logtype/>
    <format>%d: [%t] (%h): %s</format>
    <file>/usr/local/var/log/jabberd/error.log</file>
    <stderr/>
  </log>
    <log id='rlogger'>
    <host/>
    <logtype>record</logtype>
    <format>%d %h %s</format>
    <file>/usr/local/var/log/jabberd/record.log</file>
  </log>
    <service id="dnsrv">
    <host/>
    <load>
      <dnsrv>/usr/local/lib/libjabberddnsrv.so</dnsrv>
    </load>
    <dnsrv xmlns="jabber:config:dnsrv">
     <resend service="_xmpp-server._tcp">s2s</resend> 
     <resend service="_jabber._tcp">s2s</resend> 
     <resend>s2s</resend>
    </dnsrv>
  </service>
    <service id="s2s">
    <load>
      <dialback>/usr/local/lib/libjabberddialback.so</dialback>
    </load>
    <dialback xmlns='jabber:config:dialback'>
      <ip port="5269"/>
      <karma>
        <init>50</init>
        <max>50</max>
        <inc>4</inc>
        <dec>1</dec>
        <penalty>-5</penalty>
        <restore>50</restore>
      </karma>
    </dialback>
  </service>
    <service id="update.jabber.org">
    <host>update.jabber.org</host>
    <null/>
  </service>
    <service id="yahoo-linker">
    <host>yahoo.jabberd</host> 
    <accept>
      <ip>192.9.200.101</ip>
      <port>7392</port>
      <secret>secret</secret>
    </accept>
  </service> 
  
  <service id="yahoo.jabberd">
  <load><yahoo_transport>/usr/local/jabberd-1.4.4/yahoo/yahoo-transport.so</yahoo_transport></load>
  <config xmlns="jabber:config:yahoo">
    <vCard><NAME>Yahoo! GAteway</NAME></vCard>
    <instructions>Insert Y! username and password</instructions>
    <server>scs.msg.yahoo.com</server>
    <port>5050</port>
    <charmap>CP1252</charmap>
  </config>
  </service>
    <io>
    <rate points="5" time="25"/>
    <streamconf>
      <default type='s2s'>
        <stream-from/>
      </default>
    </streamconf>
    <bounce>http://www.example.com/</bounce>
  </io>
    <debug>
      <mask>0</mask>
  </debug>
    <pidfile>/usr/local/var/run/jabberd/jabber.pid</pidfile>
  
</jabber>
-------------------------------------------------

 
---------------------------------
Have a burning question? Go to Yahoo! Answers and get answers from real people who know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20061204/539e7c10/attachment-0002.htm


More information about the JAdmin mailing list