Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Creating new room with 3pid invite fails #5253

@smoebody

Description

@smoebody

Description

When i try to add an existing user by clicking the plus-button in riot (https://riot.im/app/) and providing its email-address i get a quick lookup of that persons nickname. Then, when i submit i get

Failure to create room
Server may be unavailable, overloaded, or you hit a bug.

Steps to reproduce

  • create an account at https://riot.im/app/
  • click the plus-button to add a people
  • insert the email-address of an existing user
  • submit the form

Since the lookup works i also expect that the invite works. When i use the 3pid to invite the user it works flawlessly.

I can reproduce the behavior on my own instance, here are the logs - obfuscated

2019-05-24 15:59:50,501 - synapse.access.http.8008 - 302 - INFO - GET-10223- ::ffff:172.20.0.8 - 8008 - {@user1:example.com} Processed request: 0.044sec/0.001sec (0.018sec, 0.000sec) (0.005sec/0.008sec/3) 417B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s216508_5155621_0_98013_1403_17_314_23461_2 HTTP/1.1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Riot/1.0.7 Chrome/69.0.3497.128 Electron/4.1.3 Safari/537.36" [0 dbevts]
2019-05-24 15:59:50,526 - synapse.http.client - 298 - INFO - POST-10211- Received response to GET https://matrix.example.com/_matrix/identity/api/v1/lookup?medium=email&address=user2%40example.com: 200
2019-05-24 15:59:50,531 - synapse.http.server - 85 - INFO - POST-10211- <SynapseRequest at 0x7f070c58fe48 method='POST' uri='/_matrix/client/r0/createRoom' clientproto='HTTP/1.1' site=8008> SynapseError: 401 - No signature from server matrix.example.com
2019-05-24 15:59:50,534 - synapse.access.http.8008 - 302 - INFO - POST-10211- ::ffff:172.20.0.8 - 8008 - {@user1:example.com} Processed request: 0.974sec/0.002sec (0.085sec, 0.009sec) (0.081sec/0.198sec/36) 97B 401 "POST /_matrix/client/r0/createRoom HTTP/1.1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Riot/1.0.7 Chrome/69.0.3497.128 Electron/4.1.3 Safari/537.36" [6 dbevts]
2019-05-24 15:59:50,537 - synapse.access.http.8008 - 233 - INFO - OPTIONS-10224- ::ffff:172.20.0.8 - 8008 - Received request: OPTIONS /_matrix/client/r0/sync?filter=0&timeout=30000&since=s216509_5155621_0_98013_1403_17_314_23461_2
2019-05-24 15:59:50,539 - synapse.access.http.8008 - 302 - INFO - OPTIONS-10224- ::ffff:172.20.0.8 - 8008 - {None} Processed request: 0.001sec/0.001sec (0.002sec, 0.000sec) (0.000sec/0.000sec/0) 22B 200 "OPTIONS /_matrix/client/r0/sync?filter=0&timeout=30000&since=s216509_5155621_0_98013_1403_17_314_23461_2 HTTP/1.1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Riot/1.0.7 Chrome/69.0.3497.128 Electron/4.1.3 Safari/537.36" [0 dbevts]
2019-05-24 15:59:50,555 - synapse.access.http.8008 - 233 - INFO - GET-10225- ::ffff:172.20.0.8 - 8008 - Received request: GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s216509_5155621_0_98013_1403_17_314_23461_2
2019-05-24 15:59:50,558 - synapse.util.caches.response_cache - 151 - INFO - GET-10225- [sync]: no cached result for [(@user1:example.com, 30000, 's216509_5155621_0_98013_1403_17_314_23461_2', '0', False, 'SYEODRVLCR')], calculating new one
2019-05-24 15:59:50,703 - synapse.access.http.8008 - 233 - INFO - PUT-10226- ::ffff:172.20.0.8 - 8008 - Received request: PUT /_matrix/federation/v1/send/1558412703482

Version information

  • Homeserver:
    matrix.org as well as own instance matrix.metaccount.de
  • Version:
    The logs say 0.99.5.1

the curl-request the template suggests (without grep, because its not in the response) says :

{
    "unstable_features": {
        "m.lazy_load_members": true
    },
    "versions": [
        "r0.0.1",
        "r0.1.0",
        "r0.2.0",
        "r0.3.0",
        "r0.4.0"
    ]
}
  • Install method:

Docker-Container in a Compose-Stack

  • Platform:

official image from docker.io/matrixdotorg/synapse:latest

Metadata

Metadata

Assignees

Labels

z-bug(Deprecated Label)z-p2(Deprecated Label)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions