spantaleev / matrix-docker-ansible-deploy

🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker
GNU Affero General Public License v3.0
4.88k stars 1.04k forks source link

Setup with traefik #1173

Open shreyasajj opened 3 years ago

shreyasajj commented 3 years ago

This is a two part question. First I setup with traefik. Everything seems to work fine and I even got federation up and running. The -self-check comes back with all OK however when I run https://federationtester.matrix.org/api/report?server_name=matrix.domain.com It come back with FederationOK | false I am not sure why.

Second, I tried to setup dimension.domain.com and it keeps saying that integration are not found. I do have some access controller methods that only allow ["GET", "PUT", "POST"]. When I run Self-check it come back with

fatal: [matrix.domain.com]: FAILED! =>
  msg: |-
    the field 'args' has an invalid value ({'well_known_identity_payload': '{{ result_well_known_identity.content|from_json }}'}), and could not be converted to an dict.The error was: Expecting value: line 1 column 1 (char 0)

    The error appears to have been in '/home/user/matrix-docker-ansible-deploy/roles/matrix-nginx-proxy/tasks/self_check_well_known_file.yml': line 56, column 3, but may
    be elsewhere in the file depending on the exact syntax problem.

    The offending line appears to be:

    - name: Parse JSON for well-known payload at the identity hostname
      ^ here
aaronraimist commented 3 years ago

1) You are supposed to type the user facing server name into the federation tester, not the URL where the Matrix APIs happen to be served from. Generally that would not include any matrix. subdomain. When you use the GUI federation tester https://federationtester.matrix.org/ it will tell you that.

Happyfeet01 commented 3 years ago

Federation works fine for me. But i got the same output when i run an Self-check.

https://federationtester.matrix.org/#fulda.social