nheko
nheko copied to clipboard
Autodiscovery failed. Unknown error while requesting .well-known.
Describe the bug
When I use my own homeserver I get errors trying to sign in. .well-known works fine as I am federated. I am also unable to manually set the address and get "Unknown error", other homeservers work fine.
To Reproduce
Try to log in
What happened?
No response
Expected behavior
No response
Screenshots
No response
Version
0.11.3
Operating system
No response
Installation method
No response
Qt version
No response
C++ compiler
No response
Desktop Environment
No response
Did you use profiles?
- [ ] Profiles used?
Relevant log output
No response
Backtrace
No response
me too
gitter.im
Autodiscovery failed. Unknown error while requesting .well-known.
I have this issue too. I moved my nheko install to another PC and tried copying appdata and whatever to keep the same session, but that didn't work either.
Edit: It fixed itself
In the last weeks I started getting this error, too. Possibly after updating to 0.12.0.
[2024-08-06 23:22:52.084] [net] [debug] hostname: chat.jwolf.me
[2024-08-06 23:23:22.294] [net] [error] Autodiscovery failed. Unknown error when requesting .well-known. (connection: Could not connect to server)
my .well-known seems to be fine, unless I'm missing something:
$ curl https://chat.jwolf.me/.well-known/matrix/server
{
"m.server": "matrix.chat.jwolf.me:8448"
}
@Just1Number, you sent your server .well-known, but Nheko is a client. But your server lookup works fine on my system, so probably you have other problems contacting that server. Which exact version of Nheko are you using (i.e. platform, how was it built, etc).
Arch Linux, Version 0.12.0, installed from the official arch repo. The issue persisted after a full reinstall. I now tried the flatpak version from flathub and it works without an issue. Seems to be a packaging issue.