Page MenuHomePhabricator

Synapse (Matrix Server)
Closed, ResolvedPublic

Related Objects

Mentioned Here
P19 synapse

Event Timeline

revi triaged this task as Wishlist priority.Dec 19 2020, 10:39
revi created this task.
revi renamed this task from Matrix Server to Synapse (Matrix Server).Dec 19 2020, 20:53
revi edited projects, added Restricted Project; removed Restricted Project.Dec 29 2020, 03:08
revi moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jan 6 2021, 09:28
revi added projects: Synapse, Unknown Object (Project).
$ dog _matrix._tcp.revi.xyz SRV
SRV _matrix._tcp.revi.xyz. 5m00s   10 5 "jieun.server.reviservices.com.":8443

1server {
2 listen 443 ssl;
3 listen [::]:443 ssl;
4
5 # For the federation port
6 listen 8448 ssl default_server;
7 listen [::]:8448 ssl default_server;
8
9 server_name matrix.revi.xyz;
10
11 location ~* ^(\/_matrix|\/_synapse\/client) {
12 proxy_pass http://localhost:8008;
13 proxy_set_header X-Forwarded-For $remote_addr;
14 # Nginx by default only allows file uploads up to 1M in size
15 # Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
16 client_max_body_size 50M;
17 }
18 ssl_certificate /etc/letsencrypt/live/matrix.revi.xyz/fullchain.pem; # managed by Certbot
19 ssl_certificate_key /etc/letsencrypt/live/matrix.revi.xyz/privkey.pem; # managed by Certbot
20}

https://federationtester.matrix.org/#revi.xyz

Connection Errors
Get https://49.247.128.87:8448/_matrix/key/v2/server: dial tcp 49.247.128.87:8448: connect: no route to host

Feels like nginx dropping IP connection, but too sleepy. Disabled signup. Debug Tomorrow.

revi edited projects, added Unknown Object (Project); removed Unknown Object (Project).Jan 6 2021, 23:04
revi moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

IPTables 문제였음.

  • 서버 이름이랑 매트릭스 서버 reverse proxy 주소가 다르고 SRV로 인증하는 경우 (ie: @revi:revi.xyz / 서버: matrix.revi.xyz) revi.xyzmatrix.revi.xyz 모두 인증서 필요함.