Hi Daniel,

I'll do all of this, and I am familiar with tcpdump, but are there specific flags you'd like? I'd probably just run:

sudo tcpdump host login.oscar.aol.com > filefordaniel.txt

I suspect you'd want a bit more meat?

Cheers,

Jay

On Nov 7, 2006, at 12:25 PM, Daniel Henninger wrote:


--
"The most addictive drug in the world is music."
     - The Lost Boyz

Hi Daniel,

Thanks for the response.

I bumped into Z_God into the chatroom last night while trying to find
resources to help me debug. He recommended I changed the reactor as
you have and I tried them all last night except for "select" which
I've now tried today. I managed to get the buddy list to load with
epoll and poll, and poll is the only one I've been able to actually
get signed in with, albeit briefly, and have a short chat, although
highly latent. Which reactor are you using?

Hrm. My reactor is actually set explicitly to "default". Try that maybe?


I've assumed that since my AIM client can function properly within my
network, that the AIM Transport shouldn't need any additional
firewall/router config. I've mapped port 5190 to my jabber server
anyway to no avail.

Are you familiar with tcpdump? If you don't mind me potentially seeing your password, and you are willing to get a tcpdump of the conversation between AIM and PyAIMt, please do and send it my way so I can look it over and see what might be happening. (definitely send directly to me, not to
the list)


Is there anything else I can try? Are these issues common across many
users or seemingly specific to my config? Do my versions of each
component seem correct?

I must admit I haven't often seen anything like this. Note that port 5190 would need to be blanket opened for not just the login server, but other servers PyAIMt may need to contact (all on port 5190). That said, it's a
little rare for this to be the problem.

There's a script called infodump.py in the PyAIMt tools directory. Run
that and send the results?

Daniel



Thanks again for your time and efforts.

Cheers,

Jay

On Nov 7, 2006, at 1:21 AM, Daniel Henninger wrote:

As an experiment, try specifying "select" or "poll" for the
reactor.  I'd like to see if maybe the default reactor for OS X is
causing the problem.  (reason I say this is, some others have
reported that switching reactors solved this problem)  I generally
do my development work on OS X, but I also specify the reactor
explicitly.

Daniel

On Nov 6, 2006, at 4:29 AM, Jay wrote:

Actually, I've recently discovered the -D flag and have more info
on the error:

[2006-11-06 20:13:37] INFO :: [EMAIL PROTECTED] :: aimt.B ::
connectionLost :: {'message': 'Oversize arg', 'reason':
<twisted.python.failure.Failure
twisted.internet.error.ConnectionLost>} :: AIM connection lost!
Reason: [Failure instance: Traceback:
twisted.internet.error.ConnectionLost, Connection to the other
side was lost in a non-clean fashion.
        ]
[2006-11-06 20:13:37] INFO :: [EMAIL PROTECTED] :: Session ::
sendMessage :: {'body': 'Oversize arg', 'delay': None, 'fro':
'aim.mydomain.com', 'mtype': 'error', 'to': u'[EMAIL PROTECTED]',
'xhtml': None, 'nickname': None} ::
[2006-11-06 20:13:37] INFO ::  ::  :: sendMessage :: {'body':
'Oversize arg', 'delay': None, 'fro': 'aim.mydomain.com', 'mtype':
'error', 'to': u'[EMAIL PROTECTED]', 'xhtml': None, 'nickname':
None, 'pytrans': <main.PyTransport instance at 0x7c3f0>} ::
[2006-11-06 20:13:37] Connection Lost! <legacy.aimt.B instance at
0x78e648>
[2006-11-06 20:13:37] INFO :: [EMAIL PROTECTED] :: Session ::
removeMe :: {} ::
[2006-11-06 20:13:37] INFO :: [EMAIL PROTECTED] :: Session ::
sendPresence :: {'status': None, 'show': None, 'url': None, 'fro':
'aim.mydomain.com', 'avatarHash': None, 'ptype': 'unavailable',
'priority': None, 'to': u'[EMAIL PROTECTED]', 'nickname': None,
'payload': []} ::
[2006-11-06 20:13:38] INFO :: [EMAIL PROTECTED] ::
glue.LegacyConnection :: removeMe :: {'aim2jid': <function aim2jid
at 0x758570>} ::
[2006-11-06 20:13:38] INFO :: [EMAIL PROTECTED] :: ContactList ::
removeMe :: {} ::
[2006-11-06 20:13:38] INFO :: [EMAIL PROTECTED] :: Session ::
removeMe :: {'tmpjid': 'aim.mydomain.com'} :: Removed!
[2006-11-06 20:13:38] Stopping factory
<twisted.internet.protocol._InstanceFactory instance at 0x78e5f8>

Hopefully this sheds some more light.

Thanks again,

Jay

On Nov 6, 2006, at 7:39 PM, Jay wrote:

Hello All,

A year or so, I happily got PyMSNt working successfully under OS
X Server's inbuilt Jabber server, and have continuously upgraded
it as updates have become available and am now happily enjoying
MSN support along w/avatars and file transfers (Thanks James!)

I've decided to now give PyAIMt a try. I've set it all up and can
see the Service when using Service Discovery with PSI, can
successfully register, but I can't see any buddies and after a a
minute or a few, I get the error:

"------
AIM connection lost! Reason: [Failure instance: Traceback:
twisted.internet.error.ConnectionLost, Connection to the other
side was lost in a non-clean fashion.
]

I'm running the following config:

OS X Server 10.4.8 (PowerPC version)
Apple's customised Jabberd Version 1.4.3.1 Build 35
Python 2.3.5 (#1, Mar 20 2005, 20:38:20)
Twisted 1.3.0rc1
I also installed pyopenssl and pycrypto in order to get PyMSNt
working.
Lastly, I installed Python Image Library today as well (although
I have avatars disabled anyway)

My config.xml file for PyAIMt is pretty straight-forward. Here
are the altered bits:

<jid>aim.mydomain.com</jid>
<confjid>chatrooms.aim.mydomain.com</confjid>
<spooldir>/var/jabber/spool</spooldir>
<pid>PyAIMt.pid</pid>
<mainServer>127.0.0.1</mainServer>
<mainServerJID>mydomain.com</mainServerJID>
<website>http://mydomain.com/</website>
<port>7009</port>
<secret>jabber-rocks</secret>
<lang>en</lang>
<aimServer>login.oscar.aol.com</aimServer>
<aimPort>5190</aimPort>
<disableAvatars/>

And in my jabber.xml config file, I have (of course in the
relevant places):

<browse>
        <service type="aim" jid="aim.mydomain.com" name="AIM Transport">
                <ns>jabber:iq:gateway</ns>
                <ns>jabber:iq:register</ns>
        </service>

        <service type="aim" jid="chatrooms.aim.mydomain.com" name="AIM
Transport Chatrooms">
                <ns>jabber:iq:conference</ns>
        </service>
</browse>

<service id="aim.mydomain.com">
  <accept>
    <ip>127.0.0.1</ip>
    <port>7009</port>
    <secret>mypassword</secret>
  </accept>
</service>

I've set jabberd to spew elogger and rlogger out to syslog, but
there's nothing of value other than the error message I quoted
and I can't seem to find any logging options for PyAIMt.

Any help appreciated.

Kind regards,

Jay
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports


_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports


_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports



_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports


_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to