Jump to content

Sascha Hermann

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Sascha Hermann

  1. On 10/26/2022 at 9:54 AM, m1rc0 said:

    Herzlichen Dank dir. Ich hab nun auch nochmal frisch gestartet. Tatsächlich hatte ich den Matrix Docker gewählt. Mit dem Matrix Synapse Docker und der SQLite DB geht es nun. Danke danke. 

     

    Federation hat dann gestern Abend auch noch geklappt. Ich benutze den NgnixProxyManager und habe unter Advanced folgendes eingetragen:

     

    location /.well-known/matrix/server {
         return 200 '{"m.server": "matrix.meinedomain.de:443"}';
         default_type application/json;
         add_header Access-Control-Allow-Origin *;
    
    }
    
         location /.well-known/matrix/client {
         return 200 '{"m.homeserver": {"base_url": "https://matrix.meinedomain.de"}}';
         default_type application/json;
         add_header Access-Control-Allow-Origin *;
    
      }

     

     

    Oh, mann. Das war es auch bei mir. Den ersten Block hatte ich eingetragen, aber den zweiten Block nicht.

     

    Endlich klappt es mit der Federation. Habe mich  2 Wochen tot gegoogelt und probiert.

     

    Danke Euch!!!!!!

  2. Hallo Zusammen,

     

    ich habe Matrix-Synapse auch installiert und soweit ist auch erstmal alles gut.

     

    Server ist von Außen erreichbar unter:

     

    matrix.jomisa.eu

     

    Nur bekomme keine Verbindung zur Federation.

     

    Quote

    2022-10-07 20:53:01,700 - synapse.http.matrixfederationclient - 709 - WARNING - POST-582 - {GET-O-3} [matrix.org] Request failed: GET matrix://matrix.org/_matrix/federation/v1/publicRooms?include_all_networks=false&limit=20: HttpResponseException('401: Unauthorized')
    2022-10-07 20:53:01,701 - synapse.http.server - 107 - INFO - POST-582 - <XForwardedForRequest at 0x14d10f59d0a0 method='POST' uri='/_matrix/client/r0/publicRooms?server=matrix.org' clientproto='HTTP/1.1' site='8448'> SynapseError: 502 - Failed to fetch room list
    2022-10-07 20:53:01,702 - synapse.access.http.8448 - 459 - INFO - POST-582 - 79.252.106.116 - 8448 - {@sascha:matrix.jomisa.eu} Processed request: 16.344sec/0.001sec (0.003sec, 0.001sec) (0.000sec/0.000sec/0) 59B 502 "POST /_matrix/client/r0/publicRooms?server=matrix.org HTTP/1.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.5 Chrome/104.0.5112.81 Electron/20.0.3 Safari/537.36" [0 dbevts]

     

    Port 8008 & 8448 leite ich vom Router zu NgnixPM und von da aus auf 8448.

     

    # https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
    server_name: "matrix.jomisa.eu"
    pid_file: /data/homeserver.pid
    listeners:
      - port: 8448
        tls: false
        type: http
        x_forwarded: true
        bind_addresses: ['172.19.0.3'] # Either set to 0.0.0.0 or ip address it uses for network bridge.
        resources:
          - names: [client, federation]
            compress: false
    database:
      name: sqlite3
      args:
        database: /data/homeserver.db
    log_config: "/data/matrix.jomisa.eu.log.config"
    media_store_path: /data/media_store
    registration_shared_secret: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    report_stats: false
    macaroon_secret_key: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    form_secret: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    signing_key_path: "/data/matrix.jomisa.eu.signing.key"
    trusted_key_servers:
      - server_name: "matrix.org"
    federation_domain_whitelist:
        - example.com
        - matrix.org
        - something.net
    suppress_key_server_warning: true
    # I recommend enabling this if you want outside users to be able to access your public rooms.
    # I believe they can still join your rooms via an invite if this option is disabled.
    allow_public_rooms_over_federation: true
    
    # Enable registration for new users.
    enable_registration: true 
    enable_registration_without_verification: true

     

     

    Wo ist denn hier mein Denkfehler?

     

×
×
  • Create New...