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

Error M_UNAUTHORIZED: Supplied credentials are invalid #125

Open
AnassDriate opened this issue Aug 28, 2023 · 1 comment
Open

Error M_UNAUTHORIZED: Supplied credentials are invalid #125

AnassDriate opened this issue Aug 28, 2023 · 1 comment

Comments

@AnassDriate
Copy link

io.kamax.mxisd.exception.InvalidCredentialsException: Supplied credentials are invalid
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at io.kamax.mxisd.auth.AccountManager.getUserId(AccountManager.java:86)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at io.kamax.mxisd.auth.AccountManager.register(AccountManager.java:53)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at io.kamax.mxisd.http.undertow.handler.auth.v2.AccountRegisterHandler.handleRequest(AccountRegisterHandler.java:54)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at io.kamax.mxisd.http.undertow.handler.SaneHandler.handleRequest(SaneHandler.java:71)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]:         at java.lang.Thread.run(Thread.java:748)
Aug 28 13:31:27 u-sm2-gpe matrix-ma1sd[1612694]: [XNIO-1 task-1] INFO io.kamax.mxisd.http.undertow.handler.BasicHttpHandler - Request POST http://u-01.luxchat.lu/_matrix/identity/v2/account/register - Error M_UNAUTHORIZED: Supplied credentials are invalid
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]: [XNIO-1 task-2] ERROR io.kamax.mxisd.auth.AccountManager - Wrong response status: 500
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]: [XNIO-1 task-2] ERROR io.kamax.mxisd.http.undertow.handler.SaneHandler - Unauthorized:
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]: io.kamax.mxisd.exception.InvalidCredentialsException: Supplied credentials are invalid
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at io.kamax.mxisd.auth.AccountManager.getUserId(AccountManager.java:86)
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at io.kamax.mxisd.auth.AccountManager.register(AccountManager.java:53)
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at io.kamax.mxisd.http.undertow.handler.auth.v2.AccountRegisterHandler.handleRequest(AccountRegisterHandler.java:54)
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at io.kamax.mxisd.http.undertow.handler.SaneHandler.handleRequest(SaneHandler.java:71)
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841)
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
Aug 28 13:31:51 u-sm2-gpe matrix-ma1sd[1612694]:         at java.lang.Thread.run(Thread.java:748)
@tomsch
Copy link

tomsch commented Oct 23, 2023

have the same issue Matrix Synapse + ma1sd + Element, any workarounds ? Will try to upgrade my Matrix Synapse Version later.

Mobile Element App works fine, only the newest Element Desktop App has the problem.

Old version works fine:
Riot version: 1.9.9
Olm version: 3.2.8

New Desktop version hast the above problem:

Element version: 1.11.45
Olm version: 3.2.14

Moible App version is fine:
Element 1.11.4

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

2 participants