Replies: 3 comments
-
This feels like a communication problem between Synapse and MAS. Make sure that:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick answer! Appreciated. That could well be. I run MAS in a docker and synapse on bare metal. It might be that they can't talk to each other properly. I will try to investigate further in that direction and report back in case I find something. |
Beta Was this translation helpful? Give feedback.
-
Riddle 1 is solved: I still get error=unknown access token in my log, but I can log in and use element... so that is for another day. |
Beta Was this translation helpful? Give feedback.
-
Hi, I set up MAS (main from yesterday) via docker. I am able to create a user, log in via element web into my synapse server. That works.
However, I get tons of weird "could not parse JSON payload" errors whenever I go to my /account/ page:
The page has a blurb "Failed to load user" on top and when I try to set a Displayname it says: "Error
Failed to save display name. Please try again."
This will be accompanied by a log entry:
2024-02-07T14:13:19.229666Z INFO http.server.request{otel.kind="server" otel.name="POST /graphql" network.protocol.name="http" network.protocol.version="1.1" http.method="POST" url.path="/graphql" url.scheme="http" http.route="/graphql" user_agent.original="Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"}:GraphQL operation{otel.kind="server" graphql.document="query UserGreeting($userId: ID!) {\n user(id: $userId) {\n id\n username\n matrix {\n mxid\n displayName\n __typename\n }\n ...UnverifiedEmailAlert\n __typename\n }\n}\nfragment UnverifiedEmailAlert on User {\n id\n unverifiedEmails: emails(first: 0, state: PENDING) {\n totalCount\n __typename\n }\n __typename\n}" otel.name="UserGreeting" graphql.operation.name="UserGreeting"}:request:execute:field{path=user parent_type=Query return_type=User}:field{path=user.matrix parent_type=User return_type=MatrixUser!}: async_graphql::graphql: error error=could not parse JSON payload
2024-02-07T14:13:22.145779Z ERROR http.server.request{otel.kind="server" otel.name="POST /graphql" network.protocol.name="http" network.protocol.version="1.1" http.method="POST" url.path="/graphql" url.scheme="http" http.route="/graphql" user_agent.original="Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"}:GraphQL operation{otel.kind="server" graphql.document="mutation SetDisplayName($userId: ID!, $displayName: String) {\n setDisplayName(input: {userId: $userId, displayName: $displayName}) {\n status\n user {\n id\n matrix {\n displayName\n __typename\n }\n __typename\n }\n __typename\n }\n}" otel.name="SetDisplayName" graphql.operation.name="SetDisplayName"}:request:execute:field{path=setDisplayName parent_type=Mutation return_type=SetDisplayNamePayload!}:homeserver.set_displayname{matrix.homeserver="sspaeth.de" matrix.mxid="@spaetz:sspaeth.de" matrix.displayname="spaetzd"}: mas_matrix_synapse: error=Failed to set displayname in Synapse
Does this ring a bell? Or is MAS not able to connect to the synapse server properly? But I can log into my homeserver, so it should be fine, should it not?
Beta Was this translation helpful? Give feedback.
All reactions