I mean, sending 'subscribe' to the contact again.  Subscribing again.

It was a msn user in the form: [EMAIL PROTECTED]
which goes as [EMAIL PROTECTED]


Thanks,

David

On 7/14/06, James Bunton <[EMAIL PROTECTED]> wrote:
> hmm.. When you say reinviting, do you mean reauthorising?
>
> Also, what is the actual contact that you were reauthorising. That
> error should only occur if you try to auth an invalid contact.
>
> ---
>
> James
>
>
> On 12/07/2006, at 11:38 PM, David E Freitas wrote:
>
> > Hello,
> >
> > Exotic error here when 're-inviting' a contact:
> >
> >> [2006-07-12 15:29:37] INFO :: [EMAIL PROTECTED] ::  ::
> >> addContact :: glue.LegacyList :: {'jid': u'person%hotmail.com%
> >> [EMAIL PROTECTED]', 'self': 'instance'}
> >> [2006-07-12 15:29:37] << ADC 30 FL
> >> [EMAIL PROTECTED]@msn.jabberdomain.com
> >> [EMAIL PROTECTED]@msn.jabberdomain.com
> >> [2006-07-12 15:29:37] INFO :: [EMAIL PROTECTED] ::  ::
> >> authContact :: glue.LegacyList :: {'jid': u'person%hotmail.com%
> >> [EMAIL PROTECTED]', 'self': 'instance'}
> >> [2006-07-12 15:29:37] << ADC 33 AL
> >> [EMAIL PROTECTED]@msn.jabberdomain.com
> >> [2006-07-12 15:29:37] INFO :: [EMAIL PROTECTED] ::  ::
> >> sendPresence :: Session :: {'status': None, 'show': None, 'self':
> >> 'instance', 'fro': u'person%hotmail.com%
> >> [EMAIL PROTECTED]/msn', 'avatarHash':
> >> None, 'ptype': 'subscribed', 'priority': None, 'to':
> >> u'[EMAIL PROTECTED]', 'nickname': None, 'payload': []}
> >> [2006-07-12 15:29:38] INFO :: [EMAIL PROTECTED] ::  ::
> >> sendPresence :: Session :: {'status': '', 'show': '', 'self':
> >> 'instance', 'fro': u'person%hotmail.com%
> >> [EMAIL PROTECTED]/msn', 'avatarHash': '',
> >> 'ptype': 'unavailable', 'priority': None, 'to':
> >> u'[EMAIL PROTECTED]', 'nickname': '', 'payload':
> >> [<twisted.words.xish.domish.Element object at 0x013C1F30>]}
> >> [2006-07-12 15:29:38] >> 201 30
> >> [2006-07-12 15:29:38] Unhandled error in Deferred:
> >> [2006-07-12 15:29:38] Traceback (most recent call last):
> >       Failure: <type 'int'>: 201
> >>
> >> [2006-07-12 15:29:38] >> 201 33
> >> [2006-07-12 15:29:38] Unhandled error in Deferred:
> >> [2006-07-12 15:29:38] Traceback (most recent call last):
> >       Failure: <type 'int'>: 201
> >
> >
> > Cheers,
> >
> > D
>
> ______________________________________________
From [EMAIL PROTECTED]  Fri Jul 14 08:53:07 2006
From: [EMAIL PROTECTED] (David E Freitas)
Date: Fri Jul 14 08:53:11 2006
Subject: [py-transports] Status update
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 7/14/06, James Bunton <[EMAIL PROTECTED]> wrote:
> On 04/07/2006, at 2:02 AM, Lucas Nussbaum wrote:
> > Hi,
> >
> > We are running pymsnt on a quite large server, and it uses much more
> > CPU/ram than we would prefer it to use. It would really be great
> > if, in
> > the future, you could add a way to disable some of the non-core
> > features
> > (avatars, file transfers, ...).
> >
> > Do you have some plans of adding something like that yourself ? We
> > might
> > start working on a patch if you don't.
> >
> > Thank you,
>
> I don't plan on making avatars optional. I'd rather make them more
> efficient :)
>
> I'd like for the transport to offer a certain set of minimal features
> on all servers. Avatars are very important to some people, so they're
> included in that.
>
> I do plan on making the transport as a whole more efficient though,
> both memory & cpu wise.
>
> ---
>
> James
>

Thanks James,

Why not have avatars as an optional default on? No pressure though.
It's just that on big servers, having images transferred when they
aren't being used can be quite a waste of bandwidth.

So, what are the plans to optimize memory/cpu?

Any threading plans?


Thanks,


David
From [EMAIL PROTECTED]  Fri Jul 14 09:30:35 2006
From: [EMAIL PROTECTED] (David E Freitas)
Date: Fri Jul 14 09:31:13 2006
Subject: [py-transports] Problems with current directory hashing method
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

"." and ".." are the only special files, so they could be handled specially.


How about the first and last characters of username part of jid?
Or even the last two characters of username?
(Either way, there will always be diphthongs that are more frequent
than others in a specific language.)

Yes, MD5 does make it less transparent. Although it's not often that
you have to traverse the user DB.  If you do have to find something,
grep will get it :)

Even replacing all non-alphanumerical characters with "_" in the
username should work?

Cheers,

David

On 7/14/06, James Bunton <[EMAIL PROTECTED]> wrote:
> Thanks for pointing this out. This isn't really a security risk, so
> I'm not going to patch it immediately. The worst they can do is put
> they're file in the spool directory. They can't overwrite other
> users' files, or replace the notes_to_myself file, or write anything
> outside the spool directory, or even write anything without an @ in
> the filename.
>
> Putting them in directories based on the first two characters of the
> md5 hash of the JID would solve this.
>
> I considered and rejected this initially because it makes the storage
> a little less transparent.
>
> What do you all think?
>
> ---
>
> James
>
>
>
>
> On 13/07/2006, at 6:02 PM, Lucas Nussbaum wrote:
>
> > Hi,
> >
> > Currently, Pymsnt used a hashing based on the first two chars of the
> > JID. This causes two problems :
> >
> > 1) [EMAIL PROTECTED] is a valid JID. You can make pymsnt store foo's xml
> > file outside the msn.bar.com dir, getting something such as :
> >
> > spool/
> > spool/..foo%bar.com.xml
> > spool/msn.bar.com/
> > spool/msn.bar.com/notes_to_myself
> > spool/msn.bar.com/*b/
> >
> > I would recommand replacing the non-[a-z0-9] chars with something such
> > as "_". This would also solve the problem of filenames with chars you
> > don't usually want (files starting with '-', containing '*', '?', ...)
> >
> > 2) The current hashing method is quite inefficient. On my server,
> > using:
> > for i in *; do [ -d $i ] && cd $i && echo "$i $(ls |wc -l)" && cd ..;
> > done | sort -k 2 -n
> >
> > I get :
> > [...]

<snip>
From [EMAIL PROTECTED]  Fri Jul 14 09:32:36 2006
From: [EMAIL PROTECTED] (James Bunton)
Date: Fri Jul 14 09:33:01 2006
Subject: [py-transports] Pymsnt Error <error code='405' type='wait'>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

You need to be able to make outgoing connections on port 443 (for  
HTTPS) as well as on port 1863 to various servers in Microsoft's  
netblock.

PyMSNt doesn't support a proxy of any kind.

Also, check that your username & password are correct.

---

James



On 14/07/2006, at 2:06 PM, Jab User wrote:

> Hi,
>
> I have installed the latest version Pymsnt 0.11.1. Now i am able to  
> register and start a session. After that got the following error
> Failed to connect to MSN servers: [Failure instance: Traceback:  
> exceptions.Exception, Timeout
> ]
>
> I have included the logs also.
>
> PyMSNT:
>
>
> [2006-07-14 11:52:00] INFO :: [EMAIL PROTECTED] :: Setting  
> status. :: handleResourcePresence :: Session :: {'status': None,  
> 'resource': u'Psi', 'show': None, 'tor': None, 'self': 'instance',  
> 'ptype': None, 'existing': False, 'priority': u'5', 'to':  
> u'msn.dell1.cn.com', 'source': u'[EMAIL PROTECTED]'}
> [2006-07-14 11:52:00] INFO :: [EMAIL PROTECTED] :: Updating  
> status on legacy service. :: handleResourcePresence :: Session ::  
> {'status': None, 'resource': u'Psi', 'show': None, 'tor': None,  
> 'self': 'instance', 'ptype': None, 'existing': False, 'priority':  
> u'5', 'to': u'msn.dell1.cn.com', 'source':  
> u'[EMAIL PROTECTED]', 'highestActive': u'Psi'}
> [2006-07-14 11:52:20] Stopping factory  
> <tlib.msn.msn.DispatchFactory instance at 0xb70a898c>
> [2006-07-14 11:52:20] INFO ::  :: Doing callback :: onIq ::  
> ServerDiscovery :: {'el': <tlib.domish.Element object at  
> 0xb70a8cec>, 'froj': <tlib.jabber.jid.JID instance at 0xb70a5f0c>,  
> 'iqType': u'result', 'self': 'instance', 'fro':  
> u'[EMAIL PROTECTED]', 'ulang': None, 'to': u'msn.dell1.cn.com/ 
> msn', 'ID': u'3'}
> [2006-07-14 11:52:20] INFO :: [EMAIL PROTECTED] ::  ::  
> vCardReceived :: Session :: {'el': <tlib.domish.Element object at  
> 0xb70a8cec>, 'self': 'instance', 'errback': <function errback at  
> 0xb702c17c>}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] ::  ::  
> connectionFailed :: glue.LegacyConnection :: {'reason':  
> <twisted.python.failure.Failure exceptions.Exception>, 'self':  
> 'instance'}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] ::  ::  
> sendMessage :: Session :: {'body': u'Failed to connect to MSN  
> servers: [Failure instance: Traceback: exceptions.Exception, Timeout 
> \n]', 'delay': None, 'self': 'instance', 'fro': 'msn.dell1.cn.com',  
> 'mtype': None, 'to': u'[EMAIL PROTECTED]'}
> [2006-07-14 11:52:30] INFO ::  ::  :: sendMessage :: 11.1/src/ 
> jabw.p :: {'body': u'Failed to connect to MSN servers: [Failure  
> instance: Traceback: exceptions.Exception, Timeout\n]', 'delay':  
> None, 'fro': 'msn.dell1.cn.com', 'mtype': None, 'to':  
> u'[EMAIL PROTECTED]', 'pytrans': <main.PyTransport instance at  
> 0xb757eb2c>}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] ::  ::  
> removeMe :: Session :: {'self': 'instance'}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] ::  ::  
> sendPresence :: Session :: {'status': None, 'show': None, 'self':  
> 'instance', 'fro': 'msn.dell1.cn.com', 'avatarHash': None, 'ptype':  
> 'unavailable', 'priority': None, 'to': u'[EMAIL PROTECTED]',  
> 'nickname': None, 'payload': []}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] ::  ::  
> removeMe :: glue.LegacyConnection :: {'self': 'instance'}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] ::  ::  
> logOut :: glue.LegacyConnection :: {'c':  
> <twisted.internet.tcp.Connector instance at 0xb70a8cac>, 'self':  
> 'instance'}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] ::  ::  
> removeMe :: ContactList :: {'self': 'instance'}
>
>
> Jabber Server:
>
> ]</body><x xmlns='jabber:x:event'><composing/></x></message>
> Fri Jul 14 11:52:30 2006  mio.c:1274 mio_write called on x: 9C190D8  
> buffer: (null)
> Fri Jul 14 11:52:30 2006  mtq 9B873D8 leaving to pth
> Fri Jul 14 11:52:30 2006  mio.c:418 write_dump writing data:  
> <message to='[EMAIL PROTECTED]' from='msn.dell1.cn.com'  
> id='4'><body>Failed to connect to MSN servers: [Failure instance:  
> Traceback: exceptions.Exception, Timeout
> ]</body><x xmlns='jabber:x:event'><composing/></x></message>
> Fri Jul 14 11:52:30 2006  mio.c:816 mio while loop top
> Fri Jul 14 11:52:30 2006  mio.c:829 mio while loop, working
> Fri Jul 14 11:52:30 2006  mio.c:816 mio while loop top
> Fri Jul 14 11:52:30 2006  mio.c:829 mio while loop, working
> Fri Jul 14 11:52:30 2006  mio.c:977 MIO read from socket 15:  
> <presence to='[EMAIL PROTECTED]' from='msn.dell1.cn.com'  
> type='unavailable'/>
> Fri Jul 14 11:52:30 2006  base_accept.c:120 process XML: m:9B3CDE8  
> state:3, arg:9B1F620, x:9C190D8
> Fri Jul 14 11:52:30 2006  deliver.c:474 DELIVER 1:dell1.cn.com  
> <presence to='[EMAIL PROTECTED]' from='msn.dell1.cn.com'  
> type='unavailable'/>
> Fri Jul 14 11:52:30 2006  deliver.c:678 delivering to instance  
> 'sessions'
> Fri Jul 14 11:52:30 2006  deliver.c:95 (9B0B438)incoming packet  
> <presence to='[EMAIL PROTECTED]' from='msn.dell1.cn.com'  
> type='unavailable'/>
> Fri Jul 14 11:52:30 2006  users.c:143 js_user 
> ([EMAIL PROTECTED],9B65760)
> Fri Jul 14 11:52:30 2006  deliver.c:55 delivering locally to  
> [EMAIL PROTECTED]
> Fri Jul 14 11:52:30 2006  modules.c:135 mapi_call 3
> Fri Jul 14 11:52:30 2006  modules.c:158 MAPI 9B12D48
>
> Why is it not connecting to the server?
>
> Regards
> Raj
>
> _________________________________________________________________
> Get an advanced look at the new version of MSN Messenger. http:// 
> messenger.msn.com.sg/Beta/Default.aspx
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to