• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

converse.js

Scheduled Pinned Locked Moved Support
24 Posts 3 Posters 4.0k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      poVoq
      last edited by 5 Apr 2020, 11:21

      Hmm, trashserver.net should be fine according to this:
      https://compliance.conversations.im/server/trashserver.net/

      But it definitely sound like some message carbon related OMEMO issue.

      Fairphone 5 (waiting for port)

      1 Reply Last reply Reply Quote 0
      • R Offline
        redi
        last edited by 5 Apr 2020, 16:15

        I reinstalled converse.js again, deleted cache ... via ut tweak, .... and autologin works now.
        But still I those omemo warnings.
        Do you need a screenshot? If yes: how do I do a screenshot? 😉

        May I can ask one further question? I saw at the screenshots in openstore that it should be possible to send a file or picture. Do I have to activate this feature somehow? Because at the moment I see no paperclip while typing a message.

        Jens

        A P 3 Replies Last reply 5 Apr 2020, 17:11 Reply Quote 0
        • A Offline
          AppLee @redi
          last edited by 5 Apr 2020, 17:11

          @redi
          To take a screenshot, you have to press vol-up and vol-down simultaneously.
          That's the extend of my knowledge 😉

          1 Reply Last reply Reply Quote 1
          • P Offline
            poVoq @redi
            last edited by poVoq 4 May 2020, 17:15 5 Apr 2020, 17:14

            @redi

            I really don't know how to fix the double message issue. I researched it a bit and i seem to be correct that it is message-carbon related and needs a special implementation on the client to discard double messages. But I don't know if this a specific issue with your setup or a general ConverseJS problem. I tried to get an answer in the official ConverseJS MUC, but so far no luck. but if you want you can raise an issue on their github repository with a detailed description of your problem.

            The file or picture sending needs no special configuration but http_upload support server side. As soon as that is supported the paperclip shows up. It is a bit odd that trashserver.net reports this functionality on the compliance page but it doesn't work for you. I run my own ejabberd 20.02 server and there it works fine.

            Fairphone 5 (waiting for port)

            1 Reply Last reply Reply Quote 0
            • P Offline
              poVoq @redi
              last edited by 5 Apr 2020, 17:39

              @redi is this in a OMEMO encrypted 1:1 chat or a MUC? Seems like there is a specific related issue in OMEMO encrypted MUCs, see here: https://github.com/conversejs/converse.js/issues/1481

              Fairphone 5 (waiting for port)

              1 Reply Last reply Reply Quote 0
              • R Offline
                redi
                last edited by 5 Apr 2020, 17:50

                Strange. It happens in direct chats. And of course trashserver supports http-upload.

                Trashserver itsself works fine. These problems only happen with the converse.js client. With conversations and gajim everything works well.

                May it be a problem caused by the bosh / wss configuration?

                https://trashserver.net/technik/

                I added both to the server configuration. In that case which connection is used?

                Jens

                P 1 Reply Last reply 5 Apr 2020, 17:54 Reply Quote 0
                • P Offline
                  poVoq @redi
                  last edited by 5 Apr 2020, 17:54

                  @redi In that case it should prefer the websocket connection. But to be honest, I am really only testing it with websocket only in my setup.

                  Fairphone 5 (waiting for port)

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    redi
                    last edited by 5 Apr 2020, 18:04

                    I switched to websockets, but it doesn't solve the problems.

                    P 1 Reply Last reply 5 Apr 2020, 18:19 Reply Quote 0
                    • R Offline
                      redi
                      last edited by 5 Apr 2020, 18:19

                      pict200405201351.jpg

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        poVoq @redi
                        last edited by 5 Apr 2020, 18:19

                        @redi I played around with it a bit and it seems that on 1:1 chats the paperclip sometimes disappears for unclear reasons. closing the 1:1 chat via the top right X and reopening it works on my setup to show the paperclip again.

                        Fairphone 5 (waiting for port)

                        1 Reply Last reply Reply Quote 1
                        • R Offline
                          redi
                          last edited by 5 Apr 2020, 18:26

                          Great. Now upload works now.

                          Thank you very much.

                          1 Reply Last reply Reply Quote 1
                          • R Offline
                            redi
                            last edited by redi 4 Oct 2020, 08:32 10 Apr 2020, 08:20

                            some further investigations about the double messages:
                            (1) If I send multiple messages to one person quit fast after each other, the I get only one omemo warning.
                            (2) Although warning and message have the same time, they do not arrive at the same time.
                            When I send the message the warning is displayed later although the same time as for the message is shown.

                            Could it be that the warning is caused by a read confirmation or something similar ?

                            redi

                            P 1 Reply Last reply 10 Apr 2020, 09:19 Reply Quote 0
                            • P Offline
                              poVoq @redi
                              last edited by 10 Apr 2020, 09:19

                              @redi sorry, but I really can't help you with that. You might want to raise an issue on the upstream conversejs repository:
                              https://github.com/conversejs/converse.js/
                              Please mention that you are using ConverseJS 6.0.1 with my Ubuntu Touch wrapper.

                              It might very well be a known issue given the complexities around OMEMO. I know that just recently a draft for the revision of the official OMEMO standard was submitted that among some other bigger problems tried to solve various multi-client edge cases.

                              But to be honest, I would not expect it to be fixed any time soon 😞

                              Fairphone 5 (waiting for port)

                              1 Reply Last reply Reply Quote 0
                              21 out of 24
                              • First post
                                21/24
                                Last post