-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Searching for users sometimes appears not to work properly. #6599
Comments
relatedly, icons seem to be missing entirely from search results too. plus I also couldn't find stevio earlier. |
this is precisely the sort of regression that i think we should be prioritising fixes for rather than letting it overflow into future sprints... |
It seems to work for me so could you verify whether it still occurs for you @AmandineLP |
I also can't repro this (ie. he appears for me) |
I've heard a bunch of anecdotal reports of users not turning up in search results (whereby search == invite user dialogue). There are a few ingredients to this problem, including:
|
First up - what is the behaviour meant to be? Forgetting for a moment about the UX - who should come back in search results when you search? I think it is something like:
What part do public rooms play in the above? @ara4n ? |
EDIT: UX thread extracted to https://github.com/vector-im/riot-web/issues/7373 |
Right, I'm going to break this issue in two. This issue will represent 'inviting is broken'. I'll make a separate issue for 'invite UX is confusing'. Some useful conversation from #6970 which I've killed off for simplicity: |
If your server has
If
The directory is maintained only by your local server, and does not interact with the directories maintained by other servers (which are not exposed over federation). There seem to be two separate bugs here:
My theory is that synapse is failing to keep the user directory maintained correctly... and Riot is failing to sometimes provide the right profile info (given this is certainly an intermittent bug). |
Author's note: This comment is just a research notes dump to hopefully help track down possible problems here.
This sounds like a symptom of synapse not knowing entirely what to return, given I would expect Riot to just use the profile info returned from the search results. Unless Riot does something weird, in which case it probably shouldn't. Profiles being broken sounds a bit like matrix-org/synapse#3310 Because this issue is most prominent on matrix.org (which might be a symptom of the user count) and matrix.org uses workers, I'm tempted to blame matrix-org/synapse#3714 to a degree. matrix-org/synapse#3631 might also be related, although that doesn't appear to be the case in this issue. The directory being unstable appears to be hinted at by matrix-org/synapse#2306 |
also for information gathering purposes: matrix.org uses |
more info:
|
I can't seem to replicate the issue locally, but it is easily reproducible on matrix.org:
I suspect this a result of the load matrix.org is under, and I'm not about to spin up a test environment to match the same scale to see if it fails in the same way. |
The user directory was rewritten by matrix-org/synapse#4537 and friends, and I wasn't able to reproduce this on matrix.org, so I think it's fixed. |
Still have similar problems with web and desktop client - not with new RiotX client. |
Please make a new issue with some usable information so this can be investigated, results from both, can be anonymized, ideally API responses from the network tab etc |
I want to start a chat with benoit, we're both in the team internal room, but when clicking Start chat and searching for 'benoit' he doesn't appear in the results
The text was updated successfully, but these errors were encountered: