Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message sending failure and returning same to sender with error code 406 #1231

Open
kamalkumar13 opened this issue Oct 15, 2023 · 2 comments

Comments

@kamalkumar13
Copy link

kamalkumar13 commented Oct 15, 2023

@robbiehanson

we are sending message and the same message(MessageId is Same) is returning back to sender:

<error code="406" type="cancel">
	<blocked
		xmlns="urn:xmpp:blocking:errors">
	</blocked>
	<not-acceptable
		xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">
	</not-acceptable>
</error>

Is this blocked by receiver or something else?
Could you help us?

Thanks

@adozenlines
Copy link

There was a failure in the out-of-band data generation. XMPPIQ+XEP0066

@kamalkumar13
Copy link
Author

Hi @adozenlines

We are experiencing below random error in mobile client with xmpp server, for some user message sending process works as expected with OMEMO and with some random user's sender gets error packet in response.

Below is the detailed error:

error case when sending message:

Message sender's XMPP message packet:

<message type="chat" to="4f1b2d35-ece6-4c10-91a3-b14bb6242e12@xmpp.mydomain.co.in" id="56F26079-AEB3-4E20-942B-50C488AAA8ED"><store xmlns="urn:xmpp:hints"></store><encrypted xmlns="eu.siacs.conversations.axolotl"><header sid="1594171994"><key rid="421951349">MwohBSE7YJKmO6AcpcoOasiLBr89zBPrlqZ28MGeMnwttgwuEAYYCSIwlBf9zaZTLL0X4fZfysLTS+1nYsfcQ9eLL0oXvxvdqN9bRc0S8R5VuJH19MAAZ1OmQGH64XAQeM8=</key><iv>zNEQ2KVoMauAR0xooZpwhw==</iv></header><payload>XLbFfUu32TLGOgzVMuig9eOWmXbiX6Ag+g==</payload></encrypted><body>I sent you an OMEMO encrypted message but your client doesn’t seem to support that. Find more information on https://conversations.im/omemo</body><markable xmlns="urn:xmpp:chat-markers:0"></markable><message_type xmlns="jabber:message:type">0</message_type><Caption></Caption><request xmlns="urn:xmpp:receipts"></request></message>

Same Packet return back to sender:

<message xmlns="jabber:client" from="4f1b2d35-ece6-4c10-91a3-b14bb6242e12@xmpp.mydomain.co.in" to="2d7290eb-bb58-47fe-b4bb-c64658cc046c@xmpp.mydomain.co.in/537499" type="error" id="56F26079-AEB3-4E20-942B-50C488AAA8ED"><store xmlns="urn:xmpp:hints"></store><encrypted xmlns="eu.siacs.conversations.axolotl"><header sid="1594171994"><key rid="421951349">MwohBSE7YJKmO6AcpcoOasiLBr89zBPrlqZ28MGeMnwttgwuEAYYCSIwlBf9zaZTLL0X4fZfysLTS+1nYsfcQ9eLL0oXvxvdqN9bRc0S8R5VuJH19MAAZ1OmQGH64XAQeM8=</key><iv>zNEQ2KVoMauAR0xooZpwhw==</iv></header><payload>XLbFfUu32TLGOgzVMuig9eOWmXbiX6Ag+g==</payload></encrypted><body>I sent you an OMEMO encrypted message but your client doesn’t seem to support that. Find more information on https://conversations.im/omemo</body><markable xmlns="urn:xmpp:chat-markers:0"></markable><message_type xmlns="jabber:message:type">0</message_type><Caption></Caption><request xmlns="urn:xmpp:receipts"></request><error code="406" type="cancel"><blocked xmlns="urn:xmpp:blocking:errors"></blocked><not-acceptable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></not-acceptable></error></message>

Could you help us with the information on how we should get this working?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants