this post was submitted on 17 Nov 2024
15 points (94.1% liked)

Selfhosted

40201 readers
780 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hello everyone!

After much pain and agony I was able to setup my matrix server! Huzzah!

Until I went to sign in with element x :(

It says my server does not have sliding sync support. I have tried looking at the official documentation and trying to getbit working but to no avail. I went thrught the only limited tutorial provided by the actual matrix channel. Still no success.

I was able to install shildichat and that works just fine! Same with the element desktop client.

Do I need to completely restart my matrix installation to get this working? Is there an easy way to get it working now that my mattix-synapse server is already setup?

For context I followed this exact tutorial (though instead of nginx proxy manager I used cloudflare tunnel)

https://www.youtube.com/watch?v=TFDFR6EBG3k

In the video it says nothing about sliding sync but when you go to his wiki site the matrix config has been updated with an empty sliding scale patameter.

Any help would be appreciated!

EDIT:

I am using ubuntu 20.04 deploying my matrix server through docker. I am using the latest build of dendrite matrix-synapse

Dendrite monolith matrix github:

https://github.com/matrix-org/dendrite/blob/main/build/docker/README.md

This is the documentation I followed:

https://wiki.opensourceisawesome.com/books/setup-matrix-chat/page/install-matrix-using-the-dendrite-server

EDIT 2:

please forgive my idiocy. What I wanted was element the app not element x. Unless there is a problem wjth me running matrix without this supposed sliding sync, my issue is solved lol. I will take the advice to implement it if necessary.

top 10 comments
sorted by: hot top controversial new old
[–] bmcgonag@lemmy.world 2 points 9 hours ago

Just and FYI those are my pages and Video, and I also don’t have sliding sync working yet. I work on it here and there, but other than Element X, I’ve had no issues getting clients to connect to my servers running dendrite. I’ll update those docs, and probably do an update video when I get it working on Dendrite.

[–] WIPocket@lemmy.world 7 points 17 hours ago (1 children)

Sliding sync was recently implemented in Synapse itself, so as long as your Synapse is up to date there shouldnt be any more setup on the matrix side. Try checking the Synapse logs for any issues and/or the cloudflare tunnel configuration (I have no idea about what it does to traffic).

[–] ludicolo@lemmy.ml 2 points 17 hours ago* (last edited 16 hours ago)

I used dendrite monolith matrix, is that the reason or does thst narrow it down to cloudflare possibly?

https://github.com/matrix-org/dendrite/blob/main/build/docker/README.md

[–] ArtikBanana@lemmy.dbzer0.com 4 points 16 hours ago (1 children)

Dendrite doesn't support sliding sync afaik https://github.com/element-hq/dendrite/issues/3236

Other than Synapse, I know Conduwuit has sliding sync support.

[–] ludicolo@lemmy.ml 2 points 16 hours ago (1 children)

Well damn. I guess I will check out another method to getting it up and running aooner or later. But for now this will do...

What is the benefit of sliding sync if you don't mind me asking? What will I be missing out on?

[–] eskuero@lemmy.fromshado.ws 2 points 15 hours ago (1 children)

It's supposedly faster/snappier loading on large rooms. But if you are self-hosting a single user instance, you might not notice much improvement.

I was also running the dendrite but I gave up because it seemed like development was stalled so I moved over to Synapse.

[–] WIPocket@lemmy.world 2 points 11 hours ago

I recently migrated from Element to Element X with first the proxy and now simplified sliding sync, and it feels way faster. Imho Element X is still very alpha software, so I wouldnt recommend it to the general population just yet (and I still occasionally have to open the old Element), but the speed is really noticeable on even a very small instance.

[–] hendrik@palaver.p3x.de 1 points 17 hours ago* (last edited 17 hours ago) (1 children)

You should add some info: Which server software do you use? What version number? And maybe how you installed this, Docker?

For example "Synapse v1.119.0" That'd be the most recent one.

~~If I'm not mistaken Synapse needs an additional proxy server for sliding sync? https://github.com/matrix-org/sliding-sync/blob/main/docs/Landing.md ~~

[–] ludicolo@lemmy.ml 2 points 17 hours ago* (last edited 17 hours ago) (1 children)

My bad I will edit the post!

Ubuntu 20.04 with docker and CasaOS

What do you mean by version number? For matrix? Ubuntu?

Edit:

Dendrite monolith matrix

https://github.com/matrix-org/dendrite/blob/main/build/docker/README.md

[–] hendrik@palaver.p3x.de 1 points 16 hours ago* (last edited 16 hours ago)

I believe they're still messing with sliding sync and switching that over to a new version of the protocol. There are some open issues with Dendrite:

https://github.com/element-hq/dendrite/issues?q=is%3Aissue+is%3Aopen+sliding

https://github.com/element-hq/dendrite/issues/3236