Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. matrix.org (communication)

matrix.org (communication)

Scheduled Pinned Locked Moved Solved App Wishlist
149 Posts 20 Posters 90.0k Views 22 Watching
  • 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.
  • yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by yusf
    #35

    Works good so far. Email is not important in this case but TURN is, so I’m eagerly awaiting that feature.

    Thank you for fixing it.

    I just reread an earlier post of yours. From this version of synapse an onwards, will there be forward compatibility? It’s my bad I didn’t read it properly and of course my fault for installing unfinished packages but since I’m pretty screwed if I can’t upgrade this package later I want to inquire if that’s the case and possibly beg you to keep future versions compatible with this version. I’d help with testing if that 😓

    1 Reply Last reply
    0
    • yusfY Offline
      yusfY Offline
      yusf
      wrote on last edited by
      #36

      Idea: Put index.html in /app/data so that it's editable.

      1 Reply Last reply
      0
      • yusfY Offline
        yusfY Offline
        yusf
        wrote on last edited by
        #37

        Building app I get deprecation warnings:

        DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

        Is that on app or box level?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          msbt
          App Dev
          wrote on last edited by
          #38

          This message is on app-level but valid nonetheless. In a week (10th of June) there should be the release of v1.0 and I'll do a rebuild of the container with python 3 and hopefully audio/video support. I'll keep you posted.

          1 Reply Last reply
          2
          • yusfY Offline
            yusfY Offline
            yusf
            wrote on last edited by
            #39

            That is great, thank you!

            1 Reply Last reply
            0
            • M Offline
              M Offline
              msbt
              App Dev
              wrote on last edited by
              #40

              fyi, v1.0.0 got released earlier and I'm working on it. Everything is looking good so far, the only things that aren't working at the moment are videocalls (audio is working) and the integration server, not sure why. Will keep you posted and eventually push the "final" version so people can test it.

              yusfY 1 Reply Last reply
              3
              • M msbt

                fyi, v1.0.0 got released earlier and I'm working on it. Everything is looking good so far, the only things that aren't working at the moment are videocalls (audio is working) and the integration server, not sure why. Will keep you posted and eventually push the "final" version so people can test it.

                yusfY Offline
                yusfY Offline
                yusf
                wrote on last edited by
                #41

                That’s exciting. Your work is much appreciated, @msbt .

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  msbt
                  App Dev
                  wrote on last edited by
                  #42

                  alright alright alright, v1.0.0 is (mostly) working, as far as I can see only the videochat feature is missing, I'll further investigate when I have the time. Other than that it seems to be looking good, changed to python3, registration including email & activation is working, url preview (which wasn't always before), introduced a new healthcheck page.

                  Grab it from here and let me know if you encounter any other issues. Not sure if upgrading from older versions work flawlessly, since quite a few config items got introduced and some are required. So if it doesn't work from scratch, install a fresh one on another domain and compare with your current one before upgrading.

                  Possible things that might need changing if you want the features (depending on the the version you first installed it) in homeserver.yaml:

                  enable_notifs: true
                  comment #template_dir
                  require_transport_security: false
                  comment #riot_base_url
                  add public_base_url: https://yourmatrixserver.com
                  change case url_preview_enabled: true
                  comment '172.18.0.0/12' in url_preview_ip_range_blacklist
                  

                  The Riot app also got pushed to 1.2.2, available here as usual.

                  1 Reply Last reply
                  2
                  • M Offline
                    M Offline
                    msbt
                    App Dev
                    wrote on last edited by
                    #43

                    ok this is embarrassing, videochat was working all along, only my strict windows settings prohibited me from using it 😄

                    1 Reply Last reply
                    0
                    • yusfY Offline
                      yusfY Offline
                      yusf
                      wrote on last edited by yusf
                      #44

                      Nice work! From a glance I can't see anything breaking when upgrading the Matrix package.

                      Is federation working for you though? 👇

                      8a6564d1-3b93-4d2a-a758-7d635427c4e6-bild.png

                      Log.

                      1 Reply Last reply
                      0
                      • technotameT Offline
                        technotameT Offline
                        technotame
                        wrote on last edited by
                        #45

                        Thanks for working on this! I've tested it out and it works great so far, both Matrix and Riot.

                        One issue I see, and this may just be me not being very familiar with Matrix, is that when I go to search the room directory for Matrix.org, I get Riot failed to get the public room list. Internal server error. I don't know if I am supposed to be able to search and connect to Matrix.org rooms, but I thought I should be able to. Is this a bug or just me?

                        Thanks again!

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          msbt
                          App Dev
                          wrote on last edited by
                          #46

                          Ah nice catch, I haven't tested federation because it used to work. This could be for a number of reasons, either new regular homeserver settings, nginx config or cors related issues. I'll try to narrow it down, thanks for reporting!

                          murgeroM 2 Replies Last reply
                          2
                          • M msbt

                            Ah nice catch, I haven't tested federation because it used to work. This could be for a number of reasons, either new regular homeserver settings, nginx config or cors related issues. I'll try to narrow it down, thanks for reporting!

                            murgeroM Offline
                            murgeroM Offline
                            murgero
                            App Dev
                            wrote on last edited by
                            #47

                            @msbt I can test if there is a need for that.

                            --
                            https://urgero.org
                            ~ Professional Nerd. Freelance Programmer. ~

                            1 Reply Last reply
                            0
                            • M msbt

                              Ah nice catch, I haven't tested federation because it used to work. This could be for a number of reasons, either new regular homeserver settings, nginx config or cors related issues. I'll try to narrow it down, thanks for reporting!

                              murgeroM Offline
                              murgeroM Offline
                              murgero
                              App Dev
                              wrote on last edited by murgero
                              #48

                              @msbt I noticed this app does not actually have Riot front end? Also is the identity server implemented?

                              Edit: for the federation errors, here is my relevant log line(s):

                              2019-06-21 19:25:33,552 - synapse.http.matrixfederationclient - 433 - INFO - POST-317 - {GET-O-4} [matrix.org] Got response headers: 401 Unauthorized
                              2019-06-21 19:25:33,553 - synapse.http.matrixfederationclient - 517 - WARNING - POST-317 - {GET-O-4} [matrix.org] Request failed: GET matrix://matrix.org/_matrix/federation/v1/publicRooms?include_all_networks=true&limit=20: HttpResponseException("401: b'Unauthorized'",)
                              2019-06-21 19:25:33,554 - synapse.http.server - 112 - ERROR - POST-317 - Failed handle request via 'PublicRoomListRestServlet': <XForwardedForRequest at 0x7f13e8464ba8 method='POST' uri='/_matrix/client/r0/publicRooms?server=matrix.org' clientproto='HTTP/1.0' site=8008>
                              Traceback (most recent call last):
                                File "/usr/local/lib/python3.6/dist-packages/synapse/http/server.py", line 81, in wrapped_request_handler
                                  yield h(self, request)
                                File "/usr/local/lib/python3.6/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
                                  result = result.throwExceptionIntoGenerator(g)
                                File "/usr/local/lib/python3.6/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
                                  return g.throw(self.type, self.value, self.tb)
                                File "/usr/local/lib/python3.6/dist-packages/synapse/http/server.py", line 316, in _async_render
                                  callback_return = yield callback(request, **kwargs)
                                File "/usr/local/lib/python3.6/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
                                  result = result.throwExceptionIntoGenerator(g)
                                File "/usr/local/lib/python3.6/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
                                  return g.throw(self.type, self.value, self.tb)
                                File "/usr/local/lib/python3.6/dist-packages/synapse/rest/client/v1/room.py", line 387, in on_POST
                                  third_party_instance_id=third_party_instance_id,
                                File "/usr/local/lib/python3.6/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
                                  result = result.throwExceptionIntoGenerator(g)
                                File "/usr/local/lib/python3.6/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
                                  return g.throw(self.type, self.value, self.tb)
                                File "/usr/local/lib/python3.6/dist-packages/synapse/handlers/room_list.py", line 467, in get_remote_public_room_list
                                  third_party_instance_id=third_party_instance_id,
                                File "/usr/local/lib/python3.6/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
                                  result = result.throwExceptionIntoGenerator(g)
                                File "/usr/local/lib/python3.6/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
                                  return g.throw(self.type, self.value, self.tb)
                                File "/usr/local/lib/python3.6/dist-packages/synapse/federation/transport/client.py", line 348, in get_public_rooms
                                  ignore_backoff=True,
                                File "/usr/local/lib/python3.6/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
                                  result = result.throwExceptionIntoGenerator(g)
                                File "/usr/local/lib/python3.6/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
                                  return g.throw(self.type, self.value, self.tb)
                                File "/usr/local/lib/python3.6/dist-packages/synapse/http/matrixfederationclient.py", line 760, in get_json
                                  timeout=timeout,
                                File "/usr/local/lib/python3.6/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
                                  result = result.throwExceptionIntoGenerator(g)
                                File "/usr/local/lib/python3.6/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
                                  return g.throw(self.type, self.value, self.tb)
                                File "/usr/local/lib/python3.6/dist-packages/synapse/http/matrixfederationclient.py", line 248, in _send_request_with_optional_trailing_slash
                                  request, **send_request_args
                                File "/usr/local/lib/python3.6/dist-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
                                  result = g.send(result)
                                File "/usr/local/lib/python3.6/dist-packages/synapse/http/matrixfederationclient.py", line 472, in _send_request
                                  raise e
                              synapse.api.errors.HttpResponseException: 401: b'Unauthorized'
                              

                              --
                              https://urgero.org
                              ~ Professional Nerd. Freelance Programmer. ~

                              1 Reply Last reply
                              -1
                              • M Offline
                                M Offline
                                msbt
                                App Dev
                                wrote on last edited by
                                #49

                                @murgero yes, the riot frontend is here: https://git.cloudron.io/msbt/riot-app - the devs suggested not to run both on the same machine, splitting the apps was the way to go. The identity server is also not implemented (yet), so the registration uses vector.im at the moment.

                                Thanks for your input, I'll review the changes and try to figure out the point where the federation stopped working.

                                1 Reply Last reply
                                0
                                • yusfY Offline
                                  yusfY Offline
                                  yusf
                                  wrote on last edited by
                                  #50

                                  Also check my log records in https://forum.cloudron.io/post/3817

                                  1 Reply Last reply
                                  0
                                  • murgeroM Offline
                                    murgeroM Offline
                                    murgero
                                    App Dev
                                    wrote on last edited by murgero
                                    #51

                                    Any news on federation?

                                    Edit: I know the devs for Cloudron recommended that these apps be separated, however I believe they would be better together (maybe a 3rd app that includes both?) because:

                                    • Users can get confused on the domains (logging into riot.example.com, but user is matrix.example.com)
                                    • Having them in the same place can allow for better troubleshooting, and in some cases, is just more convenient.
                                    • Easier to update both at the same time, then to have to rebuild the app twice.

                                    --
                                    https://urgero.org
                                    ~ Professional Nerd. Freelance Programmer. ~

                                    1 Reply Last reply
                                    0
                                    • M Offline
                                      M Offline
                                      msbt
                                      App Dev
                                      wrote on last edited by msbt
                                      #52

                                      This is no recommendation from cloudron, but from the riot-devs themselves: https://github.com/vector-im/riot-web#important-security-note

                                      I didn't have time to look further into the federation issue, maybe I'll find some time this weekend, sorry for the delay.

                                      murgeroM 1 Reply Last reply
                                      2
                                      • M msbt

                                        This is no recommendation from cloudron, but from the riot-devs themselves: https://github.com/vector-im/riot-web#important-security-note

                                        I didn't have time to look further into the federation issue, maybe I'll find some time this weekend, sorry for the delay.

                                        murgeroM Offline
                                        murgeroM Offline
                                        murgero
                                        App Dev
                                        wrote on last edited by
                                        #53

                                        @msbt Ah my bad on misinterpreting that. and No worries. This is awesome work and worth the wait!

                                        --
                                        https://urgero.org
                                        ~ Professional Nerd. Freelance Programmer. ~

                                        1 Reply Last reply
                                        0
                                        • yusfY Offline
                                          yusfY Offline
                                          yusf
                                          wrote on last edited by
                                          #54

                                          Recently learned that federation is needed for integrations to work so it's important for any integrations as well.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search