Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
slixmpp-omemo
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • poezio
  • slixmpp-omemo
  • Merge Requests
  • !2

Merged
Opened Oct 25, 2019 by Maxime Buquet@ppjetMaintainer

Implement fallback on precondition-not-met error when publishing devicelist and bundle

  • Overview 1
  • Commits 1
  • Changes 1

Fixes #6 (closed).

I am hitting weird timeouts though for the moment and I am not entirely sure why.

DEBUG    RECV: <iq type="error" to="test11@bouah.net/mN8b_xjx" id="a5477e34121b44e089c3aa4d62cbf664"><error type="cancel"><conflict xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /><precondition-not-met xmlns="http://jabber.org/protocol/pubsub#errors" /></error></iq>
DEBUG    The node we tried to publish was alreadye xisting with a different configuration. Trying to configure manually..
DEBUG    SEND: <iq type="set" to="test11@bouah.net/mN8b_xjx" id="f0ee8c5d1124490b983d3dc51ac2a0ef"><pubsub xmlns="http://jabber.org/protocol/pubsub#owner"><configure node="eu.siacs.conversations.axolotl.devicelist"><x xmlns="jabber:x:data" type="submit"><field var="FORM_TY
PE"><value>http://jabber.org/protocol/pubsub#node_config</value></field><field var="pubsub#persist_items"><value>1</value></field></x></configure></pubsub></iq>
DEBUG    RECV: <iq to="test11@bouah.net/mN8b_xjx" xml:lang="en" from="test11@bouah.net/mN8b_xjx" type="set" id="f0ee8c5d1124490b983d3dc51ac2a0ef"><pubsub xmlns="http://jabber.org/protocol/pubsub#owner"><configure node="eu.siacs.conversations.axolotl.devicelist"><x xmlns="j
abber:x:data" type="submit"><field var="FORM_TYPE"><value>http://jabber.org/protocol/pubsub#node_config</value></field><field var="pubsub#persist_items"><value>1</value></field></x></configure></pubsub></iq>
DEBUG    Scheduled event: IqTimeout_f0ee8c5d1124490b983d3dc51ac2a0ef
ERROR    Task exception was never retrieved
future: <Task finished coro=<XEP_0384._set_device_list() done, defined at /home/ppjet/Src/slixmpp-omemo/slixmpp_omemo/__init__.py:382> exception=IqTimeout(<iq type="set" to="test11@bouah.net/mN8b_xjx" id="f0ee8c5d1124490b983d3dc51ac2a0ef"><pubsub xmlns="http://jabber.org/p
rotocol/pubsub#owner"><configure node="eu.siacs.conversations.axolotl.devicelist"><x xmlns="jabber:x:data" type="submit"><field var="FORM_TYPE"><value>http://jabber.org/protocol/pubsub#node_config</value></field><field var="pubsub#persist_items"><value>1</value></field></x
></configure></pubsub></iq>)>
Traceback (most recent call last):
  File "/home/ppjet/Src/slixmpp-omemo/slixmpp_omemo/__init__.py", line 436, in _set_device_list
    'existing with a different configuration.'
slixmpp.exceptions.IqTimeout: <iq type="set" to="test11@bouah.net/mN8b_xjx" id="f0ee8c5d1124490b983d3dc51ac2a0ef"><pubsub xmlns="http://jabber.org/protocol/pubsub#owner"><configure node="eu.siacs.conversations.axolotl.devicelist"><x xmlns="jabber:x:data" type="submit"><fie
ld var="FORM_TYPE"><value>http://jabber.org/protocol/pubsub#node_config</value></field><field var="pubsub#persist_items"><value>1</value></field></x></configure></pubsub></iq>

Signed-off-by: Maxime “pep” Buquet pep@bouah.net

Edited Oct 25, 2019 by Maxime Buquet
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: poezio/slixmpp-omemo!2
Source branch: precondition-not-met-fallback

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.