element-hq / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://element-hq.github.io/dendrite/
GNU Affero General Public License v3.0
11 stars 3 forks source link

Element Client returns "malformed json" on creating an account #2040

Closed matrixbot closed 2 weeks ago

matrixbot commented 2 weeks ago

This issue was originally created by @xx1182 at https://github.com/matrix-org/dendrite/issues/2040.

Background information

Description

I've even run the federation tester and it says success... i don't know if the server is unable to create accounts, or something else.

Steps to reproduce

matrixbot commented 2 weeks ago

This comment was originally posted by @kegsay at https://github.com/matrix-org/dendrite/issues/2040#issuecomment-962961056.

Without any logs or pastes of the HTTP request/responses being performed, it's hard to provide any feedback or help.

I suspect "malformed JSON" means that you're actually receiving HTML instead, which is usually caused by a reverse proxy sitting between the client and the server.

matrixbot commented 2 weeks ago

This comment was originally posted by @spaetz at https://github.com/matrix-org/dendrite/issues/2040#issuecomment-975382247.

I just created a user, using the latest master revision, using sqlite3 and no docker, using go 1.15 with Element Web and it worked just fine. So this works in principle, and without more specific logs, I guess nothing can be done about this.