element-hq / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://element-hq.github.io/dendrite/
GNU Affero General Public License v3.0
11 stars 3 forks source link

getProfile failed #2937

Closed matrixbot closed 2 weeks ago

matrixbot commented 2 weeks ago

This issue was originally created by @MelBourbon at https://github.com/matrix-org/dendrite/issues/2937.

Background information

Description

Steps to reproduce

Log into account with element and search for user on other server which you know that it is existing to establish private chat. Other user is not shown.

Log (real domain was exchanged with "domain.com" and user which was searched with "user"):

ERRO[2023-01-11T22:15:04.724306862Z] getProfile failed  ... msg=Failed to GET JSON (hostname \"tchncs.de\" path \"/_matrix/federation/v1/query/profile\") code=401 wrapped=M_UNAUTHORIZED: Failed to find any key to satisfy: _FetchKeyRequest(server_name='domain.com', minimum_valid_until_ts=1673475304499, key_ids=['ed25519:LNyFeY'])" req.id=RgXiSloJtt9c req.method=GET req.path="/_matrix/client/r0/profile/@user:tchncs.de"
matrixbot commented 2 weeks ago

This comment was originally posted by @S7evinK at https://github.com/matrix-org/dendrite/issues/2937#issuecomment-1383675971.

Can you check if your domain successfully passes the federation tester? The error suggests there might be something wrong.

matrixbot commented 2 weeks ago

This comment was originally posted by @MelBourbon at https://github.com/matrix-org/dendrite/issues/2937#issuecomment-1383967922.

Yes, federation test was passed but issue was still existing. This issue was existing if I tried to run dendrite on the main domain or with delegation. Issue was resolved after running it only on subdomain. So it is related to my nginx conf, not directly with dendrite. So I will close for now.