On 9/10/06, Les Seigneur <les at uark.edu> wrote:
> I am trying to setup PyYIMt on Jabberd2 and I when I try to start it I am
> getting this message: Could not connect to server or password mismatch.

Sounds like the password doesn't match.

Try uncommenting the dump protocol, to look like this:

     <!-- Show the raw data being sent and received from the xmpp and yahoo
 servers -->
     <dumpProtocol/>

and then post the end of the debug output.  (you should be able to see
the error)

I commented out the <dumpProtocol/> tag in config.xml as shown below but the
output is still going to the screen and my PyYIMt-error.log is empty.  What
am I doing wrong?

<!--  The file to log to. Leave this disabled for stdout only 
  --> 
  <debugFile>/usr/local/jabberd/log/PyYIMt-error.log</debugFile> 
- <!--  Show the raw data being sent and received from the xmpp and yahoo
servers 
  --> 
  <dumpProtocol /> 
  </pyyimt>

I was able to get past the "Could not connect to server or password
mismatch" problem.  That one was my own stupid oversight, sorry.  I am still
having problems with PyYIMt.  I am getting an "Unknown notify event:
/presence/subscription" message when I try to add a Yahoo user and the Yahoo
user never gets the subscription request.

Here is another problem. When I am register with the Yahoo Transport it
looks like the registration is successful but the Yahoo Transport never
shows up in my Roster.  Below is the debug XML from Exodus when I register
with PyYIMt, does this look right?  Why would PyYIMt not show up in my
Exodus Roster?

SENT: <iq id="jcl_78" to="yahoo.jabberserver.uark.edu" type="set"><query
xmlns="jabber:iq:register"><username>user</username><password>xxxxxx</passwo
rd></query></iq>
RECV: <iq xmlns='jabber:client' to='[EMAIL PROTECTED]/Exodus'
from='yahoo.jabberserver.uark.edu' id='jcl_78' type='result'><query
xmlns='jabber:iq:register'/></iq>


When I try to add a Yahoo user I get the following XML.  Please note the
"Unknown notify event: /presence/subscription" message at the end.  BTW the
Yahoo user never gets the subscription request.  Does anyone know why I
would get this "Unknown notify event: /presence/subscription" message?

SENT: <iq id="jcl_86" type="set"><query xmlns="jabber:iq:roster"><item
jid="[EMAIL PROTECTED]"
name="yahoouser"><group>Friends</group></item></query></iq>
RECV: <iq xmlns='jabber:client' to='[EMAIL PROTECTED]/Exodus'
id='ir6nymgr' type='set'><query xmlns='jabber:iq:roster'><item
name='yahoouser' subscription='none'
jid='[EMAIL PROTECTED]'><group>Friends</group></item></q
uery></iq>
RECV: <iq xmlns='jabber:client' id='jcl_86' type='result'/>
SENT: <presence to="[EMAIL PROTECTED]"
type="subscribe"><priority>0</priority></presence>
RECV: <iq xmlns='jabber:client' to='[EMAIL PROTECTED]/Exodus'
id='dns6zsxg' type='set'><query xmlns='jabber:iq:roster'><item
name='yahoouser' ask='subscribe' subscription='none'
jid='[EMAIL PROTECTED]'><group>Friends</group></item></q
uery></iq>
RECV: <iq xmlns='jabber:client' to='[EMAIL PROTECTED]/Exodus'
id='e3a0zcza' type='set'><query xmlns='jabber:iq:roster'><item
name='yahoouser' subscription='to'
jid='[EMAIL PROTECTED]'><group>Friends</group></item></q
uery></iq>
RECV: <presence xmlns='jabber:client' to='[EMAIL PROTECTED]'
from='[EMAIL PROTECTED]' id='16' type='subscribed'/>
Unknown notify event: /presence/subscription

I have some questions about the tags in my config.xml file.  Let's say the
name of my Jabber server is "jabberserver.uark.edu", is the jid tag shown
below correct? 

<jid>yahoo.jabberserver.uark.edu</jid>

Is the vanity address show below OK or do I even need it?

<host>jabberserver.uark.edu</host>

Can I use 127.0.0.1 for the mainServer tag or should I use the IP or DNS?

<!--  The IP address or DNS name of the main Jabber server 
  -->
<mainServer>127.0.0.1</mainServer>

Is my MainServerJID OK as show below?

<mainServerJID>jabber.jabberserver.uark.edu</mainServerJID>

Thanks for any help with this.  I need to get PyYIMt running since my Yahoo
Transport 2.3.2 has gone to lunch on me and is currently shut down.


Les Seigneur
[EMAIL PROTECTED]
[EMAIL PROTECTED]


Reply via email to