| 19 Sep 2024 |
Yorusaka Miyabi | 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 |
Yorusaka Miyabi | Logging out other clients seems have problems too, also cross device verification might also be broken too? | 15:19:41 |
Yorusaka Miyabi | 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 |
Yorusaka Miyabi | Still need further testing | 15:45:04 |
andi- | hmpf, looking | 15:48:21 |
Andreas 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 |
Yorusaka Miyabi | 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 |
Yorusaka Miyabi | 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 |
Yorusaka Miyabi | 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 |
Andreas Rammhold | interesting, I thought I handled all the SSO URLs. Actually tried an entire login-in | 23:14:10 |
Andreas 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 |
Andreas 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 |
Yorusaka Miyabi | 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 |
Andreas Rammhold | Did that ever work? | 23:21:52 |
Andreas Rammhold | It is returning a missing session thing now so that looks promising? | 23:22:28 |
Yorusaka Miyabi | 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 |
Yorusaka Miyabi | In reply to @andir:nixos.dev It is returning a missing session thing now so that looks promising? * | 23:23:14 |
Andreas Rammhold | Great! Thank you for all the feedback and sorry for breaking it :) | 23:23:21 |
| 20 Sep 2024 |
Yorusaka Miyabi | 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 |
Yorusaka Miyabi | 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 |
Yorusaka Miyabi | 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- | I just deployed a special case for the keys url | 08:39:21 |
Yorusaka Miyabi | In reply to@andi:kack.it I just deployed a special case for the keys url Oh. | 08:39:41 |
andi- | https://element-hq.github.io/synapse/latest/workers.html#synapseappgeneric_worker it is funny how this stuff is so broken | 08:39:50 |
andi- | there is a list of all the URLs the generic workers are supposed to support | 08:40:02 |
andi- | yet I've to create plenty of execeptions because it simply doesn't work | 08:40:16 |
andi- |
These endpoints can be routed to any worker.
Yet, only the main process does it for us.
| 08:40:57 |
andi- | 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 |
Yorusaka Miyabi | 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 |
Yorusaka Miyabi | (You can join too I guess) | 09:03:23 |