!BNzCLICNIgvxBJqcKM:nixos.dev

nixos.dev meta discussions

53 Members
Make sure your GitHub Organisation membership is public as otherwise the login will not work.9 Servers

Load older messages


SenderMessageTime
19 Sep 2024
@andir:nixos.devAndreas RammholdTry again. There is still one thing in the docs for workers that I haven't covered but will look at later today (pagination for room messages).10:24:19
@shadowrz:nixos.dev夜坂雅
In reply to @andir:nixos.dev
Try again. There is still one thing in the docs for workers that I haven't covered but will look at later today (pagination for room messages).
OK it worked.
10:26:02
@shadowrz:nixos.dev夜坂雅Logging out other clients seems have problems too, also cross device verification might also be broken too?15:19:41
@shadowrz:nixos.dev夜坂雅
In reply to@shadowrz:nixos.dev
Logging out other clients seems have problems too, also cross device verification might also be broken too?
It says both /matrix/client/v3/deletedevices and /_matrix/client/v3/devices/XXXXXX are unrecognized requests
15:43:47
@shadowrz:nixos.dev夜坂雅Still need further testing15:45:04
@andi:kack.itandi-hmpf, looking15:48:21
@andir:nixos.devAndreas Rammhold
In reply to @shadowrz:nixos.dev
It says both /matrix/client/v3/deletedevices and /_matrix/client/v3/devices/XXXXXX are unrecognized requests
try again, should work now
17:42:40
@shadowrz:nixos.dev夜坂雅
In reply to @andir:nixos.dev
try again, should work now

It seemd to work, but then UIAA flow broke due to https://matrix.nixos.dev/_matrix/client/r0/auth/m.login.sso/fallback/web failed with M_UNRECOGNIZED

22:49:27
@shadowrz:nixos.dev夜坂雅
In reply to @andir:nixos.dev
try again, should work now
POST /_matrix/client/v3/delete_devices Still failed with 404 (Element Web uses it to delete devices, I have a stale device to clean up)
22:55:24
@shadowrz:nixos.dev夜坂雅
In reply to @shadowrz:nixos.dev

It seemd to work, but then UIAA flow broke due to https://matrix.nixos.dev/_matrix/client/r0/auth/m.login.sso/fallback/web failed with M_UNRECOGNIZED

Also related that https://matrix.nixos.dev/_matrix/client/v3/auth/m.login.sso/fallback/web also errors with "Unrecognized Request"
23:00:59
@andir:nixos.devAndreas Rammholdinteresting, I thought I handled all the SSO URLs. Actually tried an entire login-in23:14:10
@andir:nixos.devAndreas Rammhold The worker documentation is really lacking or written in a way that makes me trip over every single pitfall. there is /_matrix/client/$version/devices prefix but obviously the delete_device isn't underneath but its own thing. 23:18:18
@andir:nixos.devAndreas Rammhold Loggin in works for me. 夜坂雅 let me know if it works for you. Perhaps that is a client specific thing depending on the flow it is picking? 23:19:47
@shadowrz:nixos.dev夜坂雅
In reply to @andir:nixos.dev
Loggin in works for me. 夜坂雅 let me know if it works for you. Perhaps that is a client specific thing depending on the flow it is picking?
Login works, the https://matrix.nixos.dev/_matrix/client/v3/auth/m.login.sso/fallback/web is a UIAA fallback endpoint defined in the spec so clients can use a browser to complete re-authorization, UIAA is used for some operations like logout other devices
23:21:29
@andir:nixos.devAndreas RammholdDid that ever work?23:21:52
@andir:nixos.devAndreas RammholdIt is returning a missing session thing now so that looks promising?23:22:28
@shadowrz:nixos.dev夜坂雅
In reply to @andir:nixos.dev
It is returning a missing session thing now so that looks promising?
Yes, and the re-authorization flow also works
23:23:08
@shadowrz:nixos.dev夜坂雅
In reply to @andir:nixos.dev
It is returning a missing session thing now so that looks promising?
*
23:23:14
@andir:nixos.devAndreas RammholdGreat! Thank you for all the feedback and sorry for breaking it :)23:23:21
20 Sep 2024
@shadowrz:nixos.dev夜坂雅
In reply to@andir:nixos.dev
Great! Thank you for all the feedback and sorry for breaking it :)
Oh and also https://matrix.nixos.dev/_matrix/client/v3/keys/signatures/upload broke too which makes Cinny insists my new session is unverified
08:32:41
@shadowrz:nixos.dev夜坂雅
In reply to@shadowrz:nixos.dev
Oh and also https://matrix.nixos.dev/_matrix/client/v3/keys/signatures/upload broke too which makes Cinny insists my new session is unverified
(And it can't be properly verified by Cinny)
08:38:30
@shadowrz:nixos.dev夜坂雅
In reply to@shadowrz:nixos.dev
Oh and also https://matrix.nixos.dev/_matrix/client/v3/keys/signatures/upload broke too which makes Cinny insists my new session is unverified
OK it seems to work now
08:39:12
@andi:kack.itandi-I just deployed a special case for the keys url08:39:21
@shadowrz:nixos.dev夜坂雅
In reply to@andi:kack.it
I just deployed a special case for the keys url
Oh.
08:39:41
@andi:kack.itandi-https://element-hq.github.io/synapse/latest/workers.html#synapseappgeneric_worker it is funny how this stuff is so broken08:39:50
@andi:kack.itandi-there is a list of all the URLs the generic workers are supposed to support08:40:02
@andi:kack.itandi-yet I've to create plenty of execeptions because it simply doesn't work08:40:16
@andi:kack.itandi-

These endpoints can be routed to any worker.

Yet, only the main process does it for us.

08:40:57
@andi:kack.itandi-I also can't find many/any bug reports for this... Perhaps it is me holding it wrong? I'll have another read on the doc... I was actually happy how smooth it was before these kinds of errors surfaced.08:47:23
@shadowrz:nixos.dev夜坂雅
In reply to@andi:kack.it
I also can't find many/any bug reports for this... Perhaps it is me holding it wrong? I'll have another read on the doc... I was actually happy how smooth it was before these kinds of errors surfaced.
Just asked in https://matrix.to/#/#synapse:matrix.org they suggested to provide reverse proxy config to troubleshoot
09:03:12

Show newer messages


Back to Room ListRoom Version: 6