• 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 4 Apr 2020, 11:23

      I just tested it with Conversations and that seems to work here with OMEMO.

      Of course for old messages from other clients it shows that message you mention (that's a feature of OMEMO), but new ones work fine.

      Fairphone 5 (waiting for port)

      1 Reply Last reply Reply Quote 0
      • R Offline
        redi
        last edited by 4 Apr 2020, 13:13

        Thank you!

        I have reinstalled converse.js and deleted all app data. Then logged in and wrote a message to my wife.
        I could read this message on both converse.js and conversations.
        Then my wife wrote an answer. I could read it on converse.js, but not on conversations.

        I wrote a message again (readable on both) and then I could read the answer on both clients.

        Now I add gajim. I had to trust the other device. After that most of the messages arrived and could be read on all devices.

        Seemed to work now.

        Well, I have no idea what I did wrong the weeks before.

        Jens

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

          @redi Great to hear that it works. OMEMO multi client support can be a bit tricky to get working as all the clients need to exchange keys first.

          By the way, which device are you using my ConverseJS app on? I can only test it on my Nexus5 and so far didn't get any feedback if it runs sufficiently well on other devices.

          Fairphone 5 (waiting for port)

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

            I am using a nexus 5 too.

            At 17.21 I send a message to a friend of mine with converse.js. She uses conversations.
            I see two messages in converse.js: the message I wrote and a OMEMO warning, both at the same time.

            While this is something I don't understand, I could read her answer which is shown only once with no warning.

            But it is usable so far, in fact it is the only usable xmpp client on ubports. So thank you very much for your work.

            Jens

            1 Reply Last reply Reply Quote 1
            • R Offline
              redi
              last edited by 4 Apr 2020, 19:34

              Messages written with converse are shown twice in converse: message (readable) and omemo warning, which tells me, that I cannot read the message, because it is not encrypted for this device. This is wrong, because the message is shown above.

              This is not a big problem, just an error message I don't understand.

              Is it possible to save the login data? I chose the automatic login at the start screen, but it saves only the bosh date, not login and password.

              Thanks, j.

              1 Reply Last reply Reply Quote 0
              • P Offline
                poVoq
                last edited by poVoq 4 Apr 2020, 23:53 4 Apr 2020, 22:17

                Sorry, I never saw the double message issue. Maybe check the OMEMO keys and remove/reset them?

                Edit: maybe a message carbon issue? What xmpp server are you using? Maybe it doesn't have carbons (and mam?) enabled?

                Automatic login is working here with the 0.2.0 version. I need to double check the code to see what might be going wrong in your case. It sometimes is a bit slow, so you might see the login screen flash shortly, but then it should log in again.

                Fairphone 5 (waiting for port)

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

                  I'm using trashserver.net with ejabberd 19. I have three clients: converse.js (phone), conversations (tablet) and gajim (desktop).

                  If I can help you just tell me.

                  Jens

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

                    It seems that I only get two messages if the other is online too.

                    I will investigate it further or simply reinstall converse and delete the saved data.

                    Jens

                    1 Reply Last reply Reply Quote 0
                    • 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
                                            13 out of 24
                                            • First post
                                              13/24
                                              Last post