Dear All,

When I send messages via PyAIMt and PyICQt the conversation is always 1
message behind or takes a long time to deliver. I know that the solutions
suggested are currently to downgrade to twisted 1.3 (I don't know how to do
this in isolation?) or to turn on epoll reactor (I get an import error and
the script doesn't run)? What am I to do to solve this problem. Any help
would be greatly appreciated.

regards,
joel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060713/cf3d4bf1/attachment.html
From [EMAIL PROTECTED]  Thu Jul 13 20:25:18 2006
From: [EMAIL PROTECTED] (David E Freitas)
Date: Thu Jul 13 20:25:35 2006
Subject: [py-transports] Pymsnt Error <error code='405' type='wait'>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Hi,

Where is that debug output from? Not PyMSNt surely? Unless you are
using the old cMSNt?

Also, it says in your log:
> Sorry,
> this message cannot be delivered yet. Please try again
> when the transport has finished logging
> in.

Did you wait long enough for you to be logged into MSN?

As long as your firewall doesn't block the MSN port, it should work.
Basically, if the MSN Messenger PC client works on the computer that
you are running PyMSNt on, it should work.

Cheers,

David

On 7/13/06, Jab User <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
> I have setup jabberd-1.4.3 and pymnst 0.10.
>
> >From the Jabber Client PSI when I connect I see the
> transport listed and I am able to successfully
> register with my MSN id. I have two contacts for my
> MSN id. But these users did not appear after
> registration. I added a contact and tried to send msg
> and got the following error. BTW I am behind the
> firewall.
>
> --------------------------------
> Mon Jul 10 17:05:04 2006  sessions.c:301
> THREAD:SESSION:TO received data from
> jab_user%hotmail.com at msn.dell1.cn.com!
> Mon Jul 10 17:05:04 2006  modules.c:135 mapi_call 0
> Mon Jul 10 17:05:04 2006  modules.c:175 mapi_call
> returning unhandled
> Mon Jul 10 17:05:04 2006  deliver.c:474 DELIVER 4:c2s
> <route from='rajeswari at dell1.cn.com/85FBE40'
> to='17 at c2s/86009D0'><message
> to='rajeswari at dell1.cn.com/Psi'
> from='jab_user%hotmail.com at msn.dell1.cn.com'
> type='error'><error code='405'
> type='wait'><not-allowed
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Sorry,
> this message cannot be delivered yet. Please try again
> when the transport has finished logging
> in.</text></error><body>hi</body></message></route>
> Mon Jul 10 17:05:04 2006  deliver.c:678 delivering to
> instance 'c2s'
> Mon Jul 10 17:05:04 2006  c2s [client.c:167]
> rajeswari at dell1.cn.com/85FBE40 has an active session,
> delivering packet
> Mon Jul 10 17:05:04 2006  c2s [client.c:239] Writing
> packet to MIO: <message
> to='rajeswari at dell1.cn.com/Psi'
> from='jab_user%hotmail.com at msn.dell1.cn.com'
> type='error'><error code='405'
> type='wait'><not-allowed
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Sorry,
> this message cannot be delivered yet. Please try again
> when the transport has finished logging
> in.</text></error><body>hi</body></message>
> Mon Jul 10 17:05:04 2006  mio.c:1274 mio_write called
> on x: 860D038 buffer: (null)
> Mon Jul 10 17:05:04 2006  mtq 85480F0 leaving to pth
> Mon Jul 10 17:05:04 2006  mio.c:816 mio while loop top
> Mon Jul 10 17:05:04 2006  mio.c:829 mio while loop,
> working
> Mon Jul 10 17:05:04 2006  mio.c:418 write_dump writing
> data: <message to='rajeswari at dell1.cn.com/Psi'
> from='jab_user%hotmail.com at msn.dell1.cn.com'
> type='error'><error code='405'
> type='wait'><not-allowed
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Sorry,
> this message cannot be delivered yet. Please try again
> when the transport has finished logging
> in.</text></error><body>hi</body></message>
> Mon Jul 10 17:05:04 2006  mio.c:816 mio while loop top
> Mon Jul 10 17:05:15 2006  mio.c:829 mio while loop,
> working
> Mon Jul 10 17:05:15 2006  mio.c:977 MIO read from
> socket 15:
> Mon Jul 10 17:05:15 2006  mio.c:816 mio while loop top
> Mon Jul 10 17:05:16 2006  jabberd.c:255 main load
> check of 1.00 with 14 total threads
> Mon Jul 10 17:05:23 2006  users.c:88 checking users
> for host dell1.cn.com
> Mon Jul 10 17:05:23 2006  usercount 2   total users
> Mon Jul 10 17:05:35 2006  mio.c:829 mio while loop,
> working
> Mon Jul 10 17:05:35 2006  mio.c:977 MIO read from
> socket 15:
> Mon Jul 10 17:05:35 2006  mio.c:816 mio while loop top
> Mon Jul 10 17:05:55 2006  mio.c:829 mio while loop,
> working
> --------------------------------------
>
> Will Msnt work when I have it configured behind the
> firewall?
>
> Regards
> Raj
>
From [EMAIL PROTECTED]  Fri Jul 14 01:05:19 2006
From: [EMAIL PROTECTED] (Jab User)
Date: Fri Jul 14 01:05:28 2006
Subject: [py-transports] Pymsnt Error <error code='405' type='wait'>
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Hi,


I have pasted the output from Pymnst below.

07/14/06 - 08:55:36 -  jabw: Sending a Jabber message 
"[EMAIL PROTECTED]/Psi" "msn.dell1.cn.com" "You have successfully 
registered with PyMSNt" "None"
07/14/06 - 08:55:36 -  User: [EMAIL PROTECTED] - JabberConnection 
parsed subscription presence packet "msn.dell1.cn.com" "subscribed"
07/14/06 - 08:55:36 -  User: [EMAIL PROTECTED] - JabberConnection 
parsed presence packet "[EMAIL PROTECTED]" "Psi" "5" "None" "None" ""
07/14/06 - 08:55:36 -  Session [EMAIL PROTECTED] - resource "Psi" 
setting "None" "None" "5"
07/14/06 - 08:55:36 -  Session [EMAIL PROTECTED] - highest active 
resource is "Psi" at 5
07/14/06 - 08:55:36 -  Session [EMAIL PROTECTED] - updating status on 
legacy service, resource Psi
07/14/06 - 08:55:37 -  Sessions:
07/14/06 - 08:55:37 -   [EMAIL PROTECTED]
07/14/06 - 08:55:47 -  Discovery: Iq received "dell1.cn.com" "490". Doing 
callback.
07/14/06 - 08:55:50 -  User: [EMAIL PROTECTED] - JabberConnection 
parsed message packet "[EMAIL PROTECTED]" 
"[EMAIL PROTECTED]" "Psi" "None" "hi"
07/14/06 - 08:55:50 -  User: [EMAIL PROTECTED] - JabberConnection 
sending error response.

Output from Jabber server:

Fri Jul 14 08:57:14 2006  modules.c:135 mapi_call 0
Fri Jul 14 08:57:14 2006  modules.c:175 mapi_call returning unhandled
Fri Jul 14 08:57:14 2006  deliver.c:474 DELIVER 4:c2s <route 
from='[EMAIL PROTECTED]/8348DE0' to='[EMAIL PROTECTED]/8344D80'><message 
to='[EMAIL PROTECTED]/Psi' 
from='[EMAIL PROTECTED]' type='error'><error 
code='405' type='wait'><not-allowed 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Sorry, this message cannot be 
delivered yet. Please try again when the transport has finished logging 
in.</text></error><body>hi
</body></message></route>
Fri Jul 14 08:57:14 2006  deliver.c:678 delivering to instance 'c2s'
Fri Jul 14 08:57:14 2006  c2s [client.c:167] [EMAIL PROTECTED]/8348DE0 
has an active session, delivering packet
Fri Jul 14 08:57:14 2006  c2s [client.c:239] Writing packet to MIO: <message 
to='[EMAIL PROTECTED]/Psi' 
from='[EMAIL PROTECTED]' type='error'><error 
code='405' type='wait'><not-allowed 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Sorry, this message cannot be 
delivered yet. Please try again when the transport has finished logging 
in.</text></error><body>hi
</body></message>
Fri Jul 14 08:57:14 2006  mio.c:1274 mio_write called on x: 83465A8 buffer: 
(null)
Fri Jul 14 08:57:14 2006  mtq 828D988 leaving to pth
Fri Jul 14 08:57:14 2006  mio.c:816 mio while loop top
Fri Jul 14 08:57:14 2006  mio.c:829 mio while loop, working
Fri Jul 14 08:57:14 2006  mio.c:418 write_dump writing data: <message 
to='[EMAIL PROTECTED]/Psi' 
from='[EMAIL PROTECTED]' type='error'><error 
code='405' type='wait'><not-allowed 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Sorry, this message cannot be 
delivered yet. Please try again when the transport has finished logging 
in.</text></error><body>hi
</body></message>
Fri Jul 14 08:57:14 2006  mio.c:816 mio while loop top
Fri Jul 14 08:57:16 2006  users.c:88 checking users for host dell1.cn.com
Fri Jul 14 08:57:16 2006  usercount 1   total users
Fri Jul 14 08:57:27 2006  jabberd.c:255 main load check of 1.00 with 14 
total threads
Fri Jul 14 08:57:38 2006  dialback.c:264 dialback idle check
Fri Jul 14 08:57:47 2006  mio.c:829 mio while loop, working

I have MSN Live Messenger installed on my PC and it is working fine. I have 
setup jabberd-1.4.3 and pymnst 0.10.

How can I  find out that the Transport has logged in.

Regards
Raj

_________________________________________________________________
Find love on MSN Personals http://personals.msn.com.sg/

Reply via email to