-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stream writer problem #17243
Comments
I'm hitting the same issue as of a few days ago:
How did you solve the issue in the end? |
I figured it out myself in the end. The problem was that my worker was not configured as a stream writer, hence I ended up in this situation because I recently updated my reverse proxy configuration to match the latest version of regular expressions listed in the The list includes regexps for account data, receipts and presence requests:
However, later on in the documentation, the same paths are listed as ones that are supposed to be routed to a worker if it's configured as a stream writer. I solved the issue by removing the regexps for account data, receipts and presence that I mentioned above from my reverse proxy configuration. I imagine that configuring the worker as a stream writer would also fix it. |
…eric_worker docs (#17954) POST requests for account data, receipts and presence require the worker to be configured as a stream writer. The regular expressions in the default list don't assume any HTTP method, so if the worker is not a stream writer, the request fails. The stream writer section of the documentation lists the same regexps as the one I'm removing, so people configuring stream writers can still configure their routing properly. More context: #17243 (comment)
Description
I try to add
events
to stream_writers. no setup other. when client call read receipt backend throw errorSteps to reproduce
when front end call read receipt api backend can‘t can write to receipts. event persist is work. so need to setup the typing worker or no need? i expect have a default solution
Homeserver
another homeserver
Synapse Version
1.107.0
Installation Method
Docker (matrixdotorg/synapse)
Database
postgresql
Workers
Multiple workers
Platform
container
Configuration
homeserver.config
worker.config
Relevant log output
The text was updated successfully, but these errors were encountered: