Unable to set up keys #713

Closed
opened 2025-03-17 01:31:50 +00:00 by Giwayume · 4 comments
Giwayume commented 2025-03-17 01:31:50 +00:00 (Migrated from github.com)

Hey, just set up a new server instance with the latest from docker github. When using the latest code from the development branch of https://github.com/element-hq/element-web, I see this error every time I log in (it lets me continue normally if I click either "retry" or "cancel"):

Image

It looks like this API is failing with a 400 status:

POST https://matrix.my.server/_matrix/client/v3/keys/device_signing/upload

Request body:

{
    "master_key": {
        "keys": {
            "ed25519:REDACTED": "REDACTED"
        },
        "signatures": {
            "@REDACTED:REDACTED.com": {
                "ed25519:REDACTED": "REDACTED",
                "ed25519:REDACTED": "REDACTED"
            }
        },
        "usage": ["master"],
        "user_id":"@REDACTED:REDACTED.com"
    },
    "self_signing_key": {
        "keys": {
            "ed25519:REDACTED": "REDACTED"
        },
        "signatures": {
            "@REDACTED:REDACTED.com": {
                "ed25519:REDACTED": "REDACTED"
            }
        },
        "usage": ["self_signing"],
        "user_id":"@REDACTED:REDACTED.com"
    },
    "user_signing_key": {
        "keys": {
            "ed25519:REDACTED": "REDACTED"
        },
        "signatures": {
            "@REDACTED:REDACTED.com": {
                "ed25519:REDACTED": "REDACTED"
            }
        },
        "usage": ["user_signing"],
        "user_id": "@REDACTED:REDACTED.com"
    },
    "auth": {}
}

Response body:

{
    "errcode": "M_BAD_JSON",
    "error": "M_BAD_JSON: deserialization failed: missing field `session` at line 1 column 2"
}

Does this seem to be a client issue, server configuration, etc?

Hey, just set up a new server instance with the latest from docker github. When using the latest code from the development branch of https://github.com/element-hq/element-web, I see this error every time I log in (it lets me continue normally if I click either "retry" or "cancel"): ![Image](https://github.com/user-attachments/assets/0960ba69-5b3e-488b-aa97-1361ab1cf17e) It looks like this API is failing with a 400 status: ```POST https://matrix.my.server/_matrix/client/v3/keys/device_signing/upload``` Request body: ``` { "master_key": { "keys": { "ed25519:REDACTED": "REDACTED" }, "signatures": { "@REDACTED:REDACTED.com": { "ed25519:REDACTED": "REDACTED", "ed25519:REDACTED": "REDACTED" } }, "usage": ["master"], "user_id":"@REDACTED:REDACTED.com" }, "self_signing_key": { "keys": { "ed25519:REDACTED": "REDACTED" }, "signatures": { "@REDACTED:REDACTED.com": { "ed25519:REDACTED": "REDACTED" } }, "usage": ["self_signing"], "user_id":"@REDACTED:REDACTED.com" }, "user_signing_key": { "keys": { "ed25519:REDACTED": "REDACTED" }, "signatures": { "@REDACTED:REDACTED.com": { "ed25519:REDACTED": "REDACTED" } }, "usage": ["user_signing"], "user_id": "@REDACTED:REDACTED.com" }, "auth": {} } ``` Response body: ``` { "errcode": "M_BAD_JSON", "error": "M_BAD_JSON: deserialization failed: missing field `session` at line 1 column 2" } ``` Does this seem to be a client issue, server configuration, etc?
girlbossceo commented 2025-03-17 01:32:25 +00:00 (Migrated from github.com)

Are you using conduwuit main branch? If not, try that.

Are you using conduwuit main branch? If not, try that.
Giwayume commented 2025-03-17 01:34:12 +00:00 (Migrated from github.com)

No, docker compose is set up to pull the image girlbossceo/conduwuit:latest, I can try main.

No, docker compose is set up to pull the image `girlbossceo/conduwuit:latest`, I can try main.
girlbossceo commented 2025-03-17 01:40:23 +00:00 (Migrated from github.com)

Use main branch as the issue is fixed there.

Use main branch as the issue is fixed there.
Giwayume commented 2025-03-17 03:37:47 +00:00 (Migrated from github.com)

Yeah main branch works. Thanks!

Yeah main branch works. Thanks!
nex added the
Inherited
label 2025-04-14 23:37:33 +00:00
nex added this to the 0.5.0 milestone 2025-04-30 15:29:54 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#713
No description provided.