Not working with Element X (sliding sync issue maybe) #424

Open
opened 2024-02-12 16:10:00 +00:00 by getzze · 4 comments
getzze commented 2024-02-12 16:10:00 +00:00 (Migrated from gitlab.com)

Headline

Cannot connect to a Conduit HS from ElementX

Adapted from https://gitlab.com/famedly/conduit/-/issues/382#note_1639673699

Description

To reproduce:

o Fresh install of conduit 0.6.0

o nginx reverse proxy with sliding-sync advertised in well-known:

location /.well-known/matrix/client {
    return 200 '{
        "m.homeserver": { "base_url": "https://example.com" },
        "org.matrix.msc3575.proxy": {"url":"https://example.com" },
    }';
    add_header Content-Type application/json;
    add_header Access-Control-Allow-Origin '*';
}

o Create new user with matrix client on laptop.

o Install elementx on iphone or android, login, elementx hangs with a spinner and Setting up your account. This is a one time process, thanks for waiting.

$ journalctl -u conduit -S today | grep 'Nov 08 16:38' | grep -m1 Deserialization

Nov 08 16:38:00 bever conduit[3735833]: 2023-11-08T15:38:00.013950Z WARN conduit::api::ruma_wrapper::axum: try_from_http_request failed: Deserialization(Json(Error("leading sigil is incorrect or missing", line: 1, column: 109)))

## Headline Cannot connect to a Conduit HS from ElementX Adapted from https://gitlab.com/famedly/conduit/-/issues/382#note_1639673699 ### Description To reproduce: o Fresh install of conduit `0.6.0` o `nginx` reverse proxy with sliding-sync advertised in well-known: ``` location /.well-known/matrix/client { return 200 '{ "m.homeserver": { "base_url": "https://example.com" }, "org.matrix.msc3575.proxy": {"url":"https://example.com" }, }'; add_header Content-Type application/json; add_header Access-Control-Allow-Origin '*'; } ``` o Create new user with matrix client on laptop. o Install elementx on iphone or android, login, elementx hangs with a spinner and `Setting up your account. This is a one time process, thanks for waiting.` `$ journalctl -u conduit -S today | grep 'Nov 08 16:38' | grep -m1 Deserialization` `Nov 08 16:38:00 bever conduit[3735833]: 2023-11-08T15:38:00.013950Z WARN conduit::api::ruma_wrapper::axum: try_from_http_request failed: Deserialization(Json(Error("leading sigil is incorrect or missing", line: 1, column: 109)))`
Kladky commented 2024-02-12 16:21:03 +00:00 (Migrated from gitlab.com)

Fixed as of 3bfdae795d, you either have to wait for a new release or switch to this commit (or preferably) the latest commit.

Fixed as of https://gitlab.com/famedly/conduit/-/commit/3bfdae795d4d9ec9aeaac7465e7535ac88e47756, you either have to wait for a new release or switch to this commit (or preferably) the latest commit.
getzze commented 2024-02-12 16:27:30 +00:00 (Migrated from gitlab.com)

Oh great! I will wait for the next release then.
Thanks!

...

On 12 February 2024 16:21:05 GMT+00:00, "Matthias Ahouansou (@Kladky)" gitlab@mg.gitlab.com wrote:

Matthias Ahouansou commented: https://gitlab.com/famedly/conduit/-/issues/424#note_1769225728

Fixed as of 3bfdae795d, you either have to wait or switch to this commit (or preferably) the latest commit.

--
Reply to this email directly or view it on GitLab: https://gitlab.com/famedly/conduit/-/issues/424#note_1769225728
You're receiving this email because of your account on gitlab.com.

Oh great! I will wait for the next release then. Thanks! <details><summary>...</summary> On 12 February 2024 16:21:05 GMT+00:00, "Matthias Ahouansou (@Kladky)" <gitlab@mg.gitlab.com> wrote: > > > >Matthias Ahouansou commented: https://gitlab.com/famedly/conduit/-/issues/424#note_1769225728 > >Fixed as of https://gitlab.com/famedly/conduit/-/commit/3bfdae795d4d9ec9aeaac7465e7535ac88e47756, you either have to wait or switch to this commit (or preferably) the latest commit. > >-- >Reply to this email directly or view it on GitLab: https://gitlab.com/famedly/conduit/-/issues/424#note_1769225728 >You're receiving this email because of your account on gitlab.com. > > </details>
getzze commented 2024-02-15 09:39:30 +00:00 (Migrated from gitlab.com)

Will the next release be 0.7 or 1.0 ? I am asking to have an estimate of when the next release will be :) Thanks!

Will the next release be 0.7 or 1.0 ? I am asking to have an estimate of when the next release will be :) Thanks!
Kladky commented 2024-02-15 10:07:26 +00:00 (Migrated from gitlab.com)

Likely 0.7

...

On 15/02/2024 09:39, getzze (@getzze) wrote:

GitLab

getzze https://gitlab.com/getzze commented on a discussion
https://gitlab.com/famedly/conduit/-/issues/424#note_1774135028:

Will the next release be 0.7 or 1.0 ? I am asking to have an estimate
of when the next release will be :) Thanks!


Reply to this email directly or view it on GitLab
https://gitlab.com/famedly/conduit/-/issues/424#note_1774135028.
You're receiving this email because of your account on gitlab.com
https://gitlab.com. Unsubscribe
https://gitlab.com/-/sent_notifications/REDACTED/unsubscribe
from this thread · Manage all notifications
https://gitlab.com/-/profile/notifications · Help
https://gitlab.com/help

--

"The greatest ethical test that we're ever going to face is the
treatment of those who are at our mercy https://watchdominion.org" -
Lyn White

Likely 0.7 <details><summary>...</summary> On 15/02/2024 09:39, getzze (@getzze) wrote: > GitLab > > getzze <https://gitlab.com/getzze> commented on a discussion > <https://gitlab.com/famedly/conduit/-/issues/424#note_1774135028>: > > Will the next release be 0.7 or 1.0 ? I am asking to have an estimate > of when the next release will be :) Thanks! > > — > Reply to this email directly or view it on GitLab > <https://gitlab.com/famedly/conduit/-/issues/424#note_1774135028>. > You're receiving this email because of your account on gitlab.com > <https://gitlab.com>. Unsubscribe > <https://gitlab.com/-/sent_notifications/REDACTED/unsubscribe> > from this thread · Manage all notifications > <https://gitlab.com/-/profile/notifications> · Help > <https://gitlab.com/help> > -- "The greatest ethical test that we're ever going to face is the treatment of those who are at our mercy <https://watchdominion.org>" - Lyn White </details>
Sign in to join this conversation.
No labels
Android
CS::needs customer feedback
CS::needs follow up
CS::needs on prem installation
CS::waiting
Chrome
Design:: Ready
Design:: in progress
Design::UX
E2EE
Edge
Firefox
GDPR
Iteration 13 IM
Linux
MacOS
Need::Discussion
Need::Steps to reproduce
Need::Upstream fix
Needs:: Planning
Needs::Dev-Team
Needs::More information
Needs::Priority
Needs::Product
Needs::Refinement
Needs::Severity
Priority::1-Critical
Priority::2-Max
Priority::3-Impending
Priority::4-High
Priority::5-Medium
Priority::6-Low
Priority::7-None
Progress::Backlog
Progress::Review
Progress::Started
Progress::Testing
Progress::Triage
Progress::Waiting
Reporter::Sentry
Safari
Target::Community
Target::Customer
Target::Internal
Target::PoC
Target::Security
Team:Customer-Success
Team:Design
Team:Infrastructure
Team:Instant-Messaging
Team:Product
Team:Workflows
Type::Bug
Type::Design
Type::Documentation
Type::Feature
Type::Improvement
Type::Support
Type::Tests
Windows
blocked
blocked-by-spec
cla-signed
conduit
contribution::advanced
contribution::easy
contribution::help needed
from::review
iOS
p::ti-tenant
performance
product::triage
proposal
refactor
release-blocker
s: dart_openapi_codegen
s::Famedly-Patient
s::Org-Directory
s::Passport-Generator
s::Requeuest
s:CRM
s:Famedly-App
s:Famedly-Web
s:Fhiroxide
s:Fhiroxide-cli
s:Fhiroxide-client
s:Fhirs
s:Hedwig
s:LISA
s:Matrix-Dart-SDK
s:Role-Manager
s:Synapse
s:User-Directory
s:WFS-Matrix
s:Workflow Engine
s:dtls
s:famedly-error
s:fcm-shared-isolate
s:matrix-api-lite
s:multiple-tab-detector
s:native-imaging
severity::1
severity::2
severity::3
severity::4
technical-debt
voip
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: Matthias/conduit#424
No description provided.