Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
cbhujbal #1
Member since Nov 2011 · 8 posts
Group memberships: Members
Show profile · Link to this post
Subject: Message dropped or not delivered to Some gmail ids
Hi Alex,

I am sending the message to list of gmail ids on event OnMessage. Also i am maintaining log of all message which i send with errors.
But i have facing problem of Message dropped or not delivered to some gmail ids.
As per my code i am sending messages by using only bare jids with full jid of sender.
As per my log message has been delivered to b@gmail.com to f@gmail.com ids and h@gmail.com and j@gmail.com only.
And offline message has not been delivered to a@gmail.com, g@gmail.com and i@gmail.com because of message storage is disabled.
But why the message are not been delivered to k@gmail.com to q@gmail.com. As per my log message is dropped from k@gmail.com to q@gmail.com.

kindly could you please help me on this.
Following is my log

2011-11-14 10:07:17,809 [6] INFO  - pfxmppCon_OnMessage : Got message from: sender@gmail.com/Jabber.Net2B89E4B4
2011-11-14 10:07:17,809 [6] INFO  - pfxmppCon_OnMessage : Hi
2011-11-14 10:07:17,809 [6] INFO  - ---------------------------------------------------------------------------------------
2011-11-14 10:07:18,209 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:a@gmail.com
2011-11-14 10:07:18,609 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:b@gmail.com
2011-11-14 10:07:19,010 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:c@gmail.com
2011-11-14 10:07:19,410 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:d@gmail.com
2011-11-14 10:07:19,810 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:e@gmail.com
2011-11-14 10:07:20,210 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:f@gmail.com
2011-11-14 10:07:20,610 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:g@gmail.com
2011-11-14 10:07:21,010 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:h@gmail.com
2011-11-14 10:07:21,410 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:i@gmail.com
2011-11-14 10:07:21,810 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:j@gmail.com
2011-11-14 10:07:22,210 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:k@gmail.com
2011-11-14 10:07:22,610 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:l@gmail.com
2011-11-14 10:07:23,010 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:m@gmail.com
2011-11-14 10:07:23,410 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:n@gmail.com
2011-11-14 10:07:23,810 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:o@gmail.com
2011-11-14 10:07:24,210 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:p@gmail.com
2011-11-14 10:07:24,610 [6] INFO  - pfxmppCon_OnMessage : Message send :Hi from:sender@gmail.com/Jabber.Net2B89E4B4 to:q@gmail.com
2011-11-14 10:07:24,610 [6] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="a@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><nos:x xmlns:nos="google:nosave" value="disabled" /><arc:record xmlns:arc="http://jabber.org/protocol/archive" otr="false" /><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
2011-11-14 10:07:24,610 [6] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="g@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><nos:x xmlns:nos="google:nosave" value="disabled" /><arc:record xmlns:arc="http://jabber.org/protocol/archive" otr="false" /><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
2011-11-14 10:07:24,611 [6] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="i@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><nos:x xmlns:nos="google:nosave" value="disabled" /><arc:record xmlns:arc="http://jabber.org/protocol/archive" otr="false" /><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
2011-11-14 10:07:24,611 [6] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="k@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
2011-11-14 10:07:24,611 [6] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="k@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><x xmlns="jabber:x:event" /><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
2011-11-14 10:07:24,611 [6] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="l@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
2011-11-14 10:07:24,612 [6] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="m@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
2011-11-14 10:07:24,612 [6] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="n@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
2011-11-14 10:07:24,612 [10] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="o@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
2011-11-14 10:07:24,612 [10] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="p@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
2011-11-14 10:07:24,613 [10] ERROR - pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="q@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
As you can see in your log:

  1. <message xmlns="jabber:client" type="error" from="a@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><nos:x xmlns:nos="google:nosave" value="disabled" /><arc:record xmlns:arc="http://jabber.org/protocol/archive" otr="false" /><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>

The receiver of this message is online. And this receiver has not enable offline storage for his account. This is why The GTalk server sends you back an error and drops the message.

Alex
Avatar
cbhujbal #3
Member since Nov 2011 · 8 posts
Group memberships: Members
Show profile · Link to this post
Hi Alex,

Thanks for reply,

i know that the receiver of this message is online. And this receiver has not enable offline storage for his account

    <message xmlns="jabber:client" type="error" from="a@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><nos:x xmlns:nos="google:nosave" value="disabled" /><arc:record xmlns:arc="http://jabber.org/protocol/archive" otr="false" /><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>

but I wann to know about following error ...
As per following error , receiver of this message is online. And this receiver has enable offline storage for his account, but the message has not been delivered.

pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="k@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
Avatar
Alex #4
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by cbhujbal:
pfxmppCon_OnMessage :<message xmlns="jabber:client" type="error" from="k@gmail.com" to="sender@gmail.com/agsXMPP0D90DDDF"><body>Hi</body><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>

the error message <service-unavailable/> means that the user you are sending to is not available. Which means offline. The user either is offline or you sent the message to a full Jid with wrong resource.

You are saying:
A) The user is online
B) You are sending to a bare Jid.

Sorry, but I can't help you anymore then. You have to contact the GTalk server team then and ask them why they reply with this error message.

Alex
Avatar
Alex #5
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Are you subscribed correctly to these contacts?

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS