powered by Jive Software

More transport issues

Ok… I just had time to get back to trying to get this to work (and now that my GF has a working computer it’‘s a bit more important, though I’'ve set it up for jabber on her end). Anyway…

Here’'s the output of the console when I start the transports…

AIM:


./PyAIMt
/opt/pyaim-t-0.5/src/tlib/domish.py:425: DeprecationWarning: twisted.protocols.sux has moved to twisted.web.sux. See http://twistedmatrix.com/projects/web.
 from twisted.protocols import sux
/usr/local/lib/python2.4/site-packages/twisted/web/proxy.py:22: DeprecationWarning: twisted.protocols.http has moved to twisted.web.http. See http://twistedmatrix.com/projects/web.
 from twisted.protocols import http
/opt/pyaim-t-0.5/src/tlib/jabber/component.py:22: DeprecationWarning: twisted.protocols.jabber has moved to twisted.words.protocols.jabber. See http://twistedmatrix.com/projects/words.
 from twisted.protocols.jabber import jstrports
/opt/pyaim-t-0.5/src/tlib/jabber/component.py:136: ComponentsDeprecationWarning: Please use providedBy() or implementedBy()
 if components.implements(c, IService):
/opt/pyaim-t-0.5/src/tlib/jabber/component.py:136: ComponentsDeprecationWarning: Please use implements(), not __implements__ for class __main__.PyTransport
 if components.implements(c, IService):
/opt/pyaim-t-0.5/src/tlib/jabber/component.py:148: ComponentsDeprecationWarning: Please use providedBy() or implementedBy()
 if components.implements(c, IService):

ICQ:


./PyICQt
/opt/pyicq-t-0.6/src/tlib/domish.py:425: DeprecationWarning: twisted.protocols.sux has moved to twisted.web.sux. See http://twistedmatrix.com/projects/web.
 from twisted.protocols import sux
/usr/local/lib/python2.4/site-packages/twisted/web/proxy.py:22: DeprecationWarning: twisted.protocols.http has moved to twisted.web.http. See http://twistedmatrix.com/projects/web.
 from twisted.protocols import http
/opt/pyicq-t-0.6/src/tlib/jabber/component.py:22: DeprecationWarning: twisted.protocols.jabber has moved to twisted.words.protocols.jabber. See http://twistedmatrix.com/projects/words.
 from twisted.protocols.jabber import jstrports
/opt/pyicq-t-0.6/src/tlib/jabber/component.py:136: ComponentsDeprecationWarning: Please use providedBy() or implementedBy()
 if components.implements(c, IService):
/opt/pyicq-t-0.6/src/tlib/jabber/component.py:136: ComponentsDeprecationWarning: Please use implements(), not __implements__ for class __main__.PyTransport
 if components.implements(c, IService):
/opt/pyicq-t-0.6/src/tlib/jabber/component.py:148: ComponentsDeprecationWarning: Please use providedBy() or implementedBy()
 if components.implements(c, IService):

Also… How do I get the server to server to work so that I can talk to people on other jabber servers?

Thanks as always!

-A

Hey Adam,

My first impression is that those errors are not related to the server but to the gateways. Have you tried posting this issue to py-transports forums? Could you post the XML that your client sent to the gateway and the answer you got back?

In order to make s2s work you will need to:

. use a different hostname for each server

. make sure that port 5269 (default port for s2s communication) is not being blocked in any server

. make sure that the hostname of the remote servers can be resolved by a DNS or your hosts file. A quick way to test this is to execute a telnet command from each server to each remote server. E.g. telnet 5269

You can alway turn on the debug log to collect more information. If you are having problem connecting to remote servers then post the debug info you got in the debug.log file.

Regards,

– Gato

Gato… I posted to their mailing list as you suggested…

Here’'s the XML output:

It looks like there are a few errors in there… Not sure what they’'re about…

-A

Hey Adam,

Could you modify the AIM gateway to use “aim.jabber.commanddotcom.com” instead of “aim.commanddotcom.com”? Try again and let me know how it goes.

Regards,

– Gato

Adam

Can you tell me what platform and which python modules you installed?

The depreciation warning are expected, and I’'ve concidered updating the includes to get rid of them, I just have not had time with recent house guests.

Thanks

Peter

Peter…

OS:

Redhat Enterprise Linux

Python:

Python 2.4.1 (#1, Jul 27 2005, 11:27:58)

on linux2

-A

Hey Adam,

Have you tried changing the address of your gateway like I said in a previous post? Let me know if that fixed this issue.

Thanks,

– Gato

That took care of the error message but they don’'t appaear to be doing anything now.

-A

So now the disco#info is working, right? Could you post the packets that appear to be doing nothing.

Regards,

– Gato

Python:

Python 2.4.1 (#1, Jul 27 2005, 11:27:58)

on

linux2

What about Twisted modules?

Peter

How do I get the output of those?

-A

You guys are gonna kill me… I hadn’'t realized the final 2.2 came out… I upgraded to that and everything is working fine.

-A

– Gato