Сам matrix работает и всё остальное но когда дело зашло о федерации, появились проблемы с тем что сервер просто не видит, на скриншоте видно.
Как настроить .well-known/matrix/client не знаю, ни где не написано. Кто знает что делать с этим?
Ubuntu 22.04 | Файрвол пропускает всё
Код homeserver:
# Configuration file for Synapse.
#
# This is a YAML file: see [1] for a quick introduction. Note in particular
# that *indentation is important*: all the elements of a list or dictionary
# should have the same indentation.
#
# [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
#
# For more information on how to configure Synapse, including a complete accounting of
# each option, go to docs/usage/configuration/config_documentation.md or
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
#
# This is set in /etc/matrix-synapse/conf.d/server_name.yaml for Debian installations.
# server_name: "SERVERNAME"
pid_file: "/var/run/matrix-synapse.pid"
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
bind_addresses: ['127.0.0.1']
resources:
- names: [client, federation]
compress: false
database:
name: psycopg2
txn_limit: 10000
args:
user: matrix
password: ***********
database: matrix
host: localhost
port: 5432
cp_min: 5
cp_max: 10
log_config: "/etc/matrix-synapse/log.yaml"
media_store_path: /var/lib/matrix-synapse/media
signing_key_path: "/etc/matrix-synapse/homeserver.signing.key"
trusted_key_servers:
- server_name: "matrix.lifsem.ru"
suppress_key_server_warning: true
max_upload_size: 100M
enable_registration: true
enable_registration_without_verification: true
matrix_synapse_federation_enabled: true
matrix_synapse_federation_port_enabled: true
registration_shared_secret: "***************************************"
search_all_users: true
prefer_local_users: true
turn_uris: ["turn:matrix.lifsem.ru?transport=udp","turn:matrix.lifsem.ru?transport=tcp"]
turn_shared_secret: "***********************************************"
turn_user_lifetime: 86400000
admin_users:
- "@admin:matrix.lifsem.ru"