linagora / twake-on-matrix

A multi-platform (Flutter) application for connecting to Matrix - an open network for secure, decentralized communication, with your favorite devices.
GNU Affero General Public License v3.0
51 stars 17 forks source link

[Bug] [PRODUCTION] Cannot create a chat with a user from a different server #2013

Open tprudentova opened 1 week ago

tprudentova commented 1 week ago

2.5.9, chat.twake.app, tested on Safari, Firefox

  1. Log in as a user of twake.app server
  2. Enter a Matrix ID of a user from a different server (staging or linagora.com)
  3. Click on the user, try sending a first message
  4. Error

https://github.com/user-attachments/assets/1665e0eb-2baa-4f05-9cf1-592695885952

nqhhdev commented 1 week ago

Hi @tprudentova, on prod env I mean not available. One more, this issue related to BE side (like error in image below) so from FE side we're handle error from BE side and display toast message. Thanks !

Screenshot 2024-09-09 at 19 00 47
tprudentova commented 1 week ago

@guimard maybe you can help us with this issue?

guimard commented 1 week ago

I think this is because https://stg.lin-saas.com/.well-known/matrix/server is missing. It should contain:

{
 "m.server": "matrix.stg.lin-saas.com:443"
}

Can someone create this content in main server ?