Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spaces don't really work with a fresh install #3165

Closed
adorakalb opened this issue Aug 2, 2023 · 5 comments
Closed

Spaces don't really work with a fresh install #3165

adorakalb opened this issue Aug 2, 2023 · 5 comments

Comments

@adorakalb
Copy link

Background information

  • Dendrite version or git SHA: matrixdotorg/dendrite-monolith:v0.13.1
  • SQLite3 or Postgres?: postgres 15
  • Running in Docker?: yes
  • go version: -
  • Client used (if applicable): Element 1.11.37 & FluffyChat 1.12.0

Description

  • What is the problem: Spaces that are not on my Instance don't work or don't work enough to be of any use.
  • Who is affected: probably all users on my Instance lila.network
  • How is this bug manifesting:
    Element: When trying to join public spaces, the list of rooms can't be fetched. I therefore also can't join any rooms.
    FluffyChat: When trying to add spaces, the app tells me "Unrecognized request".
    Debug logs don't show any weird errors (at least for me, i just started with matrix)
  • When did this first appear: Since setting up the instance with v0.13.1 yesterday

Steps to reproduce

  • open Element or FluffyChat
  • try to join spaces (i tested it with #codeberg-space:matrix.org and #nerdberg:nerdberg.de
  • for Element: See the join screen, click join, see that the room list is not displaying with an error:
image

I don't really see any relevant logs with debug logging turned on. The only odd log line is the following:

dendrite-dendrite-1  | time="2023-08-02T06:09:23.430054766Z" level=debug msg="Responding to sync since client gave up or timeout was reached" device_id=n-oLIY9e limit=20 req.id=QN51cSIiiVUW req.method=GET req.path=/_matrix/client/r0/sync since=s211_0_30_0_0_171_174_56_0 timeout=30s user_id="@lauralani:lila.network"

I dont know if that's in any way relevant.

Federation seems to work as expected, i can chat without any problems with people on other instances. The federation checker also says all is good.

Thanks in advance.

@kir68k
Copy link

kir68k commented Aug 4, 2023

Same here using 0.13.1, although a private space hosted on my instance doesn't work either. My dendrite binary is compiled from source, but I don't think that should matter.
I can't find anything in my logs as well.

Edit 2

Disregarding the previous edit, clicking "Explore rooms" shows the following, more clear message:
Screenshot_20230804-111740_Element.png

@swedgwood
Copy link
Contributor

swedgwood commented Aug 4, 2023

Hey @lauralani & @kir68k, for some space features to work you need to enable an MSC flag in your dendrite config (see the v0.13.1 FAQ). I have recently merged a PR which enables them by default and should be available in the next release.

Let me know if you still have issues with MSC2946 enabled (or if you already had it enabled when you got these errors)

EDIT: just realised @lauralani said spaces that are not on their instance, implying ones on their instance are working (and that you have the MSC enabled), so ignore me if thats the case - Though @kir68k since you said no spaces work, still work a check if the MSC is enabled.

@kir68k
Copy link

kir68k commented Aug 4, 2023

Though @kir68k since you said no spaces work, still work a check if the MSC is enabled.

I had the MSC disabled, enabling it made spaces on my instance work properly, as well as spaces on remote instances. Thanks.

@adorakalb
Copy link
Author

@swedgwood that seems to have fixed it!
I can use spaces now with fluffychat, I have to check some more tho :) thanks!

@swedgwood
Copy link
Contributor

Glad to know this resolved it for both of you! I'll close this issue now but feel free to reopen it if the issue persists :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants