Questions tagged [matrix-synapse]

Questions about Synapse, the reference server implementation for the Matrix APIs.

Matrix is an ambitious new ecosystem for open federated Instant Messaging and VoIP. Matrix Synapse is its reference server implementation.

Read more at

48 questions
0
votes
0 answers

Can't run Synapse matrix in container station (aka docker)

I am trying to deploy my own synapse server in my qnap. I am following the steps in the official page in docker but I want to store all the data in a folder that I can easily access so I modified the lines as following: First this to generate the…
Juan
  • 21
  • 1
  • 1
  • 5
0
votes
1 answer

Registering a user in Matrix Synapse Server using API

I need to create a user account using Matrix Synapse Client Server API. On matrix homeserver token-authenticated registration is enabled. POST to /register end-point with auth fetches two stages. { "auth": { "type":…
0
votes
0 answers

Docker container requesting to itself cause a looping

I have a container, it's running on port 8008, and it's accessible using the URL example.com. Inside the container, there's a server that provides an API and an APP. In some part of the APP, I'm making a request to the API, but when I do that, start…
Stark
  • 65
  • 2
  • 9
0
votes
1 answer

Frame ancestor is set to none even though it's not

I'm running a matrix synapse instance with OpenID Keycloak and as web-client, I use Riot. I receive has refused to connect with : "Refused to frame 'https://matrix.domain.com/' because an ancestor violates the following Content Security Policy…
0
votes
1 answer

How to get the number of unread messages for user from synapse server via API

How can the number of unread messages (or events) for a specific user be retrieved from a matrix synapse server via API? Via the synapse admin or the matrix client-server API. Events seem to be a complex topic. Thanks a lot!
Paul
  • 31
  • 5
0
votes
1 answer

Able to start module in terminal but not with PyCharm's run config

General Problem I have already been able to run a certain module from the terminal. No I want to run the module with the run config on PyCharm. However it fails, even though I think I use the same configurations as in the terminal command. Or am I…
Lukas
  • 381
  • 3
  • 13
0
votes
0 answers

How to resolve an sqlite dependency inside python virtual env?

I am trying to run the Matrix Synapse chat server by following this tutorial: https://www.informaticar.net/install-matrix-synapse-on-centos-8/ It uses virtualenv to separate out python packages for this installation. However when I start the server…
Lech Rzedzicki
  • 435
  • 6
  • 17
0
votes
1 answer

Remote avatars for users/rooms not loading after migrating Synapse

Migrated perthchat.org recently and i've run into the same bug where remote user/room avatars stop loading completely. So i figured okay i'll just purge the remote media until the future again: curl -X POST --header "Authorization: Bearer…
PC-Admin
  • 31
  • 4
0
votes
1 answer

Question regarding setting up sydent for matrix synapse

I have a question regarding setting up an identity server. I already set up matrix synapse behind a nginx reverse proxy on one server and now i want to configure sydent on another server. On the matrix server I did the following: I put into my…
0
votes
1 answer

CAS with Django for Matrix SSO

I have a working Django (3.1) website and I'm trying to setup a Matrix Server (using Synapse) for the users. How can I Setup Single Sign On for synapse (It supports SAML, CAS and OIDC) where only the users of my website could login to it? I already…
Danial Behzadi
  • 161
  • 1
  • 10
0
votes
1 answer

ReactJS Hook error handeling doesn't catch errors

I am trying to catch a 404 error I receive for some of my API calls. I am using the matrix API and need to get room names from their id's, which is working. Some of them don't have names which returns a 404 error I am trying to catch. Unfortunately…
0
votes
2 answers

AWS - LOAD BALANCER to host a server in Private subet

I currently having some issues trying to run a chat server in a private subnet that can have traffic in a out to the internet. I do not want to use a NAT Gateway. I thought you could use a load balancer one with a public facing IP (Elastic IP) then…
JonBot
  • 27
  • 5
0
votes
1 answer

Matrix Synapse and Riot migration

how can I migrate all my data and configuration for matrix synapse and Riot.Im installed on the system to another one VM ? Can I backup and restore all the rooms (created with Riot.IM) , the chat logs and the users and migrate all the content to…
0
votes
2 answers

How to specify where homerserver.yaml should be saved when running initial generate on synapse docker?

I am trying to get a Matrix Synapse server running on my Synology NAS through docker. When I run the generate command to get the intial homeserver.yaml, it does get generated : $ sudo docker run -it --rm --mount…
Chapo
  • 2,563
  • 3
  • 30
  • 60
0
votes
3 answers

Prometheus won't connect to Synapse metrics

I tried to follow this guide to configure prometheus with synapse metrics: https://github.com/matrix-org/synapse/blob/master/docs/metrics-howto.md I'm having difficulties though. Here's how i set it up: $ sudo ufw allow 9090 $ sudo nano…
PC-Admin
  • 31
  • 4