UBports Robot Logo UBports Forum
    • 版面
    • 最新
    • 標籤
    • 熱門
    • 使用者
    • 群組
    • 搜尋
    • 註冊
    • 登入

    FluffyChat Encryption via Pantalaimon

    已排程 已置頂 已鎖定 已移動 App Development
    99 貼文 14 Posters 46.2k 瀏覽 4 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
      回覆
      • 在新貼文中回覆
      登入後回覆
      此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
      • spacenerdmoS 離線
        spacenerdmo @theare27
        最後由 編輯

        @theare27 you can go ahead and close it, the service will keep running.

        1 條回覆 最後回覆 回覆 引用 1
        • joniusJ 離線
          jonius
          最後由 編輯

          It works fine for me. Great work!

          1 條回覆 最後回覆 回覆 引用 0
          • lgtrombettaL 離線
            lgtrombetta @spacenerdmo
            最後由 編輯

            @thrrgilag thanks for your work on Pantalaimon UT!

            I am trying to get it to work but I keep getting a "No connection..." message in Fluffychat when pointed to the local address and port. I've checked that the service is running, and tried with various homeservers in 2 different devices (both arm64), with no success.

            Any clues as to why it's not working?

            spacenerdmoS 2 條回覆 最後回覆 回覆 引用 0
            • spacenerdmoS 離線
              spacenerdmo @lgtrombetta
              最後由 編輯

              @lgtrombetta Can you check the logs? You can check the logs using the logviewer app?

              1 條回覆 最後回覆 回覆 引用 0
              • spacenerdmoS 離線
                spacenerdmo @lgtrombetta
                最後由 編輯

                @lgtrombetta try closing the app and loading it back up again and see if it remembers your config. There might be a bug on the initial setup.

                lgtrombettaL 1 條回覆 最後回覆 回覆 引用 0
                • lgtrombettaL 離線
                  lgtrombetta @spacenerdmo
                  最後由 編輯

                  @thrrgilag here are the logs: https://paste.ubuntu.com/p/cwjJ78VpJd/

                  First time I closed and reopened the app it didn't remember the config, but since then it does remember and still no luck.

                  spacenerdmoS 1 條回覆 最後回覆 回覆 引用 0
                  • spacenerdmoS 離線
                    spacenerdmo @lgtrombetta
                    最後由 編輯

                    @lgtrombetta okay if you could grab the log that would be the next place to look to see what errors might be getting thrown by the daemon

                    1 條回覆 最後回覆 回覆 引用 0
                    • lgtrombettaL 離線
                      lgtrombetta
                      最後由 編輯

                      @thrrgilag here are the logs: https://paste.ubuntu.com/p/cwjJ78VpJd/

                      Aren't these the correct ones?

                      spacenerdmoS 1 條回覆 最後回覆 回覆 引用 0
                      • spacenerdmoS 離線
                        spacenerdmo @lgtrombetta
                        最後由 編輯

                        @lgtrombetta oh haha sorry guess I need more coffee this morning.

                        Interesting seems to not find the service either. Try disabling and re-enabling the service now, maybe a reboot after that.

                        What device are you runnning this on? I'll see if I can re-create this first-time experience and ferret out these bugs.

                        lgtrombettaL 1 條回覆 最後回覆 回覆 引用 0
                        • lgtrombettaL 離線
                          lgtrombetta @spacenerdmo
                          最後由 編輯

                          @thrrgilag

                          Try disabling and re-enabling the service now, maybe a reboot after that.

                          Tried it several times, still nothing.

                          What device are you runnning this on? I'll see if I can re-create this first-time experience and ferret out these bugs.

                          So.. this is both on the Pinephone and on a Nexus 6p. The logs I sent you are from the latter. I know UT on both these devices is not feature complete yet, so the problem might as well be not specific to this app.

                          Let me know if you want me to try something else.

                          1 條回覆 最後回覆 回覆 引用 0
                          • joniusJ 離線
                            jonius
                            最後由 編輯

                            It works here on my Pinephone. Does the Pantalaimon app display something like pantalaimon start/running, process 1234?

                            lgtrombettaL 1 條回覆 最後回覆 回覆 引用 0
                            • lgtrombettaL 離線
                              lgtrombetta @jonius
                              最後由 編輯

                              @jonius yes.

                              I just realized using top via ssh that the process keeps respawning and changing its pid every 5 seconds. Is this behaviour expected? This is on both devices.

                              spacenerdmoS 1 條回覆 最後回覆 回覆 引用 0
                              • spacenerdmoS 離線
                                spacenerdmo @lgtrombetta
                                最後由 編輯

                                @lgtrombetta If it keeps respawning it means it's failing to start properly. 😕

                                T 1 條回覆 最後回覆 回覆 引用 0
                                • T 離線
                                  theare27 @spacenerdmo
                                  最後由 編輯

                                  @thrrgilag worth trying the previous binary (spawned via adb or ssh) rather than the .click?

                                  spacenerdmoS 1 條回覆 最後回覆 回覆 引用 0
                                  • spacenerdmoS 離線
                                    spacenerdmo @theare27
                                    最後由 編輯

                                    @theare27 good thought.

                                    @lgtrombetta if you could try ssh or adb to the device and run it directly, that should hopefully make more apparent what the failure might be. You can do "stop pantalaimon" to make sure the service is stopped, followed by executing "/opt/click.ubuntu.com/pantalaimon.thrrgilag/current/pantalaimon"

                                    lgtrombettaL 1 條回覆 最後回覆 回覆 引用 0
                                    • lgtrombettaL 離線
                                      lgtrombetta @spacenerdmo
                                      最後由 編輯

                                      @thrrgilag so it finally works. What I found running it as you suggested is that the homeserver address in the config must have the "http(s)://" prefix. While I had added it at some point during my testing, it turns out it must be there for all homeservers in the config in order for the service to start properly, and in my case it wasn't.

                                      So, I feel a bit stupid, but I hope all of this can help to make the UX smoother 😛

                                      spacenerdmoS 1 條回覆 最後回覆 回覆 引用 0
                                      • spacenerdmoS 離線
                                        spacenerdmo @lgtrombetta
                                        最後由 編輯

                                        @lgtrombetta said in FluffyChat Encryption via Pantalaimon:

                                        @thrrgilag so it finally works. What I found running it as you suggested is that the homeserver address in the config must have the "http(s)://" prefix. While I had added it at some point during my testing, it turns out it must be there for all homeservers in the config in order for the service to start properly, and in my case it wasn't.

                                        Awesome, glad you were able to get it sorted.

                                        So, I feel a bit stupid, but I hope all of this can help to make the UX smoother 😛

                                        I very much appreciate your testing it out. This is the kind of feedback I was hoping for to make it better. Adding to my list of things to fix. 😁

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • T 離線
                                          theare27
                                          最後由 編輯

                                          Out of interest, did you get anywhere with the issue with images?

                                          spacenerdmoS 1 條回覆 最後回覆 回覆 引用 0
                                          • spacenerdmoS 離線
                                            spacenerdmo @theare27
                                            最後由 編輯

                                            @theare27 not really, it seemed to be something to do with how fluffy was sourcing the image url, I found this bit in the logs..

                                            QHttpNetworkConnectionPrivate::_q_hostLookupFinished could not de-queue request, failed to report HostNotFoundError
                                            file:///opt/click.ubuntu.com/fluffychat.christianpauly/13.2/qml/components/Avatar.qml:30:13: QML QQuickImage: Host http not found
                                            

                                            Haven't gone any deeper than that. Whatever the issue is though it seems specific to FluffyChat, other clients I've tested through pantalaimon (uMatriks on UT and Fractal on others) don't have that issue.

                                            T 1 條回覆 最後回覆 回覆 引用 0
                                            • T 離線
                                              theare27 @spacenerdmo
                                              最後由 編輯

                                              @thrrgilag Hmm, so I might be better off with uMatrix? I know it's unmaintained, but FluffyChat seems to be focusing more and more exclusively on the flutter version these days

                                              spacenerdmoS 1 條回覆 最後回覆 回覆 引用 0
                                              • 第一個貼文
                                                最後的貼文