From 57293649072a92ed66f962df1985c1d9394bb94e Mon Sep 17 00:00:00 2001 From: nicobo Date: Thu, 11 Mar 2021 21:44:56 +0100 Subject: [PATCH] + common error messages --- README.md | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 04fe1ae..79b26d6 100644 --- a/README.md +++ b/README.md @@ -367,17 +367,6 @@ With : - `-r me@myserver.im` the *JabberID* of the correspondent -##### Common issues - -If you have the following error : - - ERROR Couldn't load the OMEMO object; ¯\_(ツ)_/¯ - ERROR And error occured when loading the omemo plugin. - omemo.exceptions.inconsistentinfoexception.InconsistentInfoException: Given storage is only usable for jid mybot@myserver.im on device 1234567890. - -This may be because you previously registered another device at the same place : move or delete the `.omemo` directory and retry. - - #### Using the Signal backend By specifying `--backend signal` you can make the bot chat with Signal users. @@ -407,6 +396,35 @@ Example : +## Common issues + +### Couldn't load the OMEMO object + +The following error is XMPP/Jabber related : + + ERROR Couldn't load the OMEMO object; ¯\_(ツ)_/¯ + ERROR And error occured when loading the omemo plugin. + omemo.exceptions.inconsistentinfoexception.InconsistentInfoException: Given storage is only usable for jid mybot@myserver.im on device 1234567890. + +This may be because you previously registered another device at the same place : move or delete the `.omemo` directory and retry. + + +### ERROR No appropriate login method + +This message may mean that your XMPP/Jabber account or password is incorrect. + + +### Authorization failed! + +Sample error stack : + + nicobot_1 | Failed to resolve uuids from server: Authorization failed! + nicobot_1 | Failed to get sender certificate: org.whispersystems.signalservice.api.push.exceptions.AuthorizationFailedException: Authorization failed! + nicobot_1 | Failed to send message: Authorization failed! + +This error is probably triggered by a misconfiguration or absence of Signal credentials. Make sure to link the bot with a device (see instructions above, including the `--signal-register` option for the Docker images). + + ## External resources - [IBM Watson Language Translator service](https://cloud.ibm.com/catalog/services/language-translator)