Open prismplex opened 3 years ago
Issue still exists
i am facing the same issue
I have a similar issue with a similar setup. When I look my at my account information (displayname, email) in my element profile, I get empty fields and the following errors on the server:
Jan 05 16:48:21 matrix-ma1sd[1650401]: [XNIO-1 task-2] INFO io.kamax.mxisd.auth.AccountManager - Found account for user: @matrixuser.matrix.domain.com
Jan 05 16:48:21 matrix-ma1sd[1650401]: [XNIO-1 task-2] ERROR io.kamax.mxisd.http.undertow.handler.AuthorizationHandler - Account for '@matrixuser.matrix.domain.com' from: matrix.domain.com
Jan 05 16:48:21 matrix-ma1sd[1650401]: [XNIO-1 task-2] ERROR io.kamax.mxisd.http.undertow.handler.SaneHandler - Unauthorized:
Jan 05 16:48:21 matrix-ma1sd[1650401]: io.kamax.mxisd.exception.InvalidCredentialsException: Supplied credentials are invalid
Jan 05 16:48:21 matrix-ma1sd[1650401]: at io.kamax.mxisd.http.undertow.handler.AuthorizationHandler.handleRequest(AuthorizationHandler.java:65)
Jan 05 16:48:21 matrix-ma1sd[1650401]: at io.kamax.mxisd.http.undertow.handler.SaneHandler.handleRequest(SaneHandler.java:71)
Jan 05 16:48:21 matrix-ma1sd[1650401]: at io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
Jan 05 16:48:21 matrix-ma1sd[1650401]: at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841)
Jan 05 16:48:21 matrix-ma1sd[1650401]: at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
Jan 05 16:48:21 matrix-ma1sd[1650401]: at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
Jan 05 16:48:21 matrix-ma1sd[1650401]: at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
Jan 05 16:48:21 matrix-ma1sd[1650401]: at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
Jan 05 16:48:21 matrix-ma1sd[1650401]: at java.lang.Thread.run(Thread.java:748)
Jan 05 16:48:21 matrix-ma1sd[1650401]: [XNIO-1 task-2] INFO io.kamax.mxisd.http.undertow.handler.BasicHttpHandler - Request GET http://matrix.domain.com/_matrix/identity/v2/hash_details - Error M_UNAUTHORIZED: Supplied credentials are invalid
restarting the ma1sd-service by hand helps for some time but then the same error occurs again edit:I still need to re-log my element web-session to be able to see my profile data correctly, just restarting the ma1sd-service itself doesnt help
I ran into the same problem today, and I think we had the same issue here. When I take a look at your nginx configuration, then you are missing the configuration lines for .well-known
location /.well-known/matrix/server {`
return 200 '{"m.server": "matrix.mydomain.com:443"}';
add_header Content-Type application/json;
}
location /.well-known/matrix/client {
return 200 '{"m.homeserver": {"base_url": "https://matrix.mydomain.com"}}';
add_header Content-Type application/json;
add_header "Access-Control-Allow-Origin" *;
}
That did it for me.
Hello ALL,
I am facing the same issue. Not so much documentation and explanation about this issue.
Any support ?
Regards,
First of all thank you for this great project. Unfortunately I cannot manage to get the configuration to work. Maybe I am missing something... Currently getting this error when I try to add my identity server via Element web interface (also self-hosted):
INFO io.kamax.mxisd.http.undertow.handler.BasicHttpHandler - Request POST http://matrix.prismplex.tech/_matrix/identity/v2/account/register - Error M_UNAUTHORIZED: Supplied credentials are invalid
The whole project (besides nginx) runs in docker containers with acme.sh as letsencrypt provider. Could somebody help me please? Thank you!Nginx
.../sites-enabled/matrix.domain.com.conf
ma1sd
.../etc/ma1sd.yaml
Full log
*real domain has been replaced by matrix.domain.com