MATRIX-SYNAPSE : Impossible to verify a new session

My YunoHost server

Hardware: A regular headless amd64 computer. Yunohost is running in a LXC container.
YunoHost version: 11.2.5
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : nope

Matrix-Synapse : Impossible to verify a new session

Dear people of the Yunohost community,

I know it’s an issue directly related to matrix-synapse, but I’m asking here, maybe someone will have had the same problem and come by with a solution.
(I’ll also ask to the matrix channels and let you know here about a potential solution)

Computer-1 has an authentified and verified session.
Computer-2 is authentifying, then is asking computer-1 to verify its session [normal behaviour until here]
Then, Computher-2 displays in french “The verification process has been canceled”.
Computer-1 can still accept the process, but it cannot perform.

I tried with a phone instead of a computer.
Nothing special in the matrix-synapse logs.

Anyone had this problem ?

Thanks a lot for your kind help,
Charly

1 Like

Hi charly,

I did have this problem (not the bit where it displays in French…), but when requesting a verification anew (from one side or the other), it would work.

You probably already tried multiple times, requesting from either side (seeing you also tried with a telephone…) ?

Which clients are involved?

I’m using elements-web, elements-desktop and elements on ios.
I’ll let you know if I get any answer form the Synapse people.

See ya

I didn’t even know there’s a desktop version!

Do I understand correctly that it is Elements-desktop on one computer that does not want to play?

I use Nheko for the desktop, you could give it a try. If that works on the other desktop, but also does not work on this desktop, maybe some cryptographic library needs updating? I’d say that would leave a hint in the logs though…

UPDATE : The solution was to

  • Export a backup of the encryption keys (settings > security)
  • And then reset the cross signature

I had to verify all the current sessions again (but I least it works).

2 Likes

Great that you solved the problem, thanks for posting back!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.