I set up Synapse servers on two PCs running Rocky Linux 8.6, set up Element-web as the client (Google-Chrome browser), and set up the web server Nginx.
The IP address segments of each PC are matched, mDNS name resolution is functioning, and ping is also passing between PCs.
Element uses a self-certificate (openssl) for SSL communication, so no warning screen will appear when you access Element-web with a browser.
When I federated between Synapse servers in my local network and tried to invite users from other servers using Element-web, the following error occurred.
・_matrix/client/v3/pr…t%3Ahoge2.local:1
Failed to load resource: the server responded with a status of 502 ()
At the same time as this error occurs, "Unknown server error" will be displayed on the Element-web screen.
In addition, the Synapse configuration file (homeserver.yaml) and Nginx configuration file (nginx.conf) are as follows.
・homeserver.yaml.txt
・nginx.conf.txt
(The configuration files for the two PCs have the same settings except for the server name.)
Could you please tell me how to solve it?
Steps to reproduce
Start nginx and synapse in the terminal
nginx: systemctl start nginx
synapse: synctl start (With the virtual environment set up)
Description
I set up Synapse servers on two PCs running Rocky Linux 8.6, set up Element-web as the client (Google-Chrome browser), and set up the web server Nginx. The IP address segments of each PC are matched, mDNS name resolution is functioning, and ping is also passing between PCs. Element uses a self-certificate (openssl) for SSL communication, so no warning screen will appear when you access Element-web with a browser.
When I federated between Synapse servers in my local network and tried to invite users from other servers using Element-web, the following error occurred. ・_matrix/client/v3/pr…t%3Ahoge2.local:1 Failed to load resource: the server responded with a status of 502 ()
・rageshake.ts:77 M_UNKNOWN: MatrixError: [502] Failed to fetch profile (https://hoge1.local/_matrix/client/v3/profile/%40isfroot%3Ahoge2.local) at p (https://hoge1.local/element-new/bundles/6843bc7…/bundle.js:2:844765) at A.requestOtherUrl (https://hoge1.local/element-new/bundles/6843bc7…/bundle.js:2:849078) at async A.authedRequest (https://hoge1.local/element-new/bundles/6843bc7…/bundle.js:2:846904) at async v.inviteToRoom (https://hoge1.local/element-new/bundles/6843bc7…/bundle.js:2:3020198) e. @ rageshake.ts:77
At the same time as this error occurs, "Unknown server error" will be displayed on the Element-web screen.
In addition, the Synapse configuration file (homeserver.yaml) and Nginx configuration file (nginx.conf) are as follows. ・homeserver.yaml.txt ・nginx.conf.txt (The configuration files for the two PCs have the same settings except for the server name.)
Could you please tell me how to solve it?
Steps to reproduce
Homeserver
another home server
Synapse Version
1.98.0
Installation Method
pip (from PyPI)
Database
SQLite3
Workers
Single process
Platform
Before starting Synapse, enter the "env" virtual environment(source ./synapse/env/bin/activate)
Configuration
The download URL for Synapse and Nginx configuration files is listed in the description section.
Relevant log output
Anything else that would be useful to know?
No response