Comments (8)
Aaannnd... Problem solved.
Although i still got the random error after signig up and accepting (non existant) terms, the join sucedded.
For reference, the difference in the invite's source:
{
"content": {
"display_name": "tes...@aguiarviei...",
"key_validity_url": "https://aguiarvieira.pt/_matrix/identity/v2/pubkey/isvalid",
"public_key": "H5TlGldhvLE1bU6ZtrCLuhOxB4zRhZStj65K/p7P2tg",
"public_keys": [
{
"key_validity_url": "https://aguiarvieira.pt/_matrix/identity/api/v1/pubkey/isvalid",
"public_key": "H5TlGldhvLE1bU6ZtrCLuhOxB4zRhZStj65K/p7P2tg"
},
{
"key_validity_url": "https://aguiarvieira.pt/_matrix/identity/api/v1/pubkey/ephemeral/isvalid",
"public_key": "N72jNH9jYyDJ3_5FXYFqEZUtQiJj-4l9L1CqMFnQ9Do"
}
]
},
"origin_server_ts": 1696250537363,
"sender": "@daedric:aguiarvieira.pt",
"state_key": "NZqkbanXMTyDLLJJacuuPZOQkQjssbFOuuNaswsXKTydAPztyVkHxcAHtgdSkYGpJVlFXkOhgxLwKQQEqsazOIstuvwLsdtkiJzMMgepKUkKKuMHyEiCBKAhSzxEptFg",
"type": "m.room.third_party_invite",
"unsigned": {
"age": 106
},
"event_id": "$HSBqLGFR6Ll45g8ssEw0Mlhxm19Uvcwor0sZ6cj6-ug",
"room_id": "!tnOYhXKUIldKCOOyzb:aguiarvieira.pt"
}
from sydent.
looks like the invite event might have an invalid key_validity_url
? can you "View source" on the invite event?
from sydent.
looks like the invite event might have an invalid
key_validity_url
? can you "View source" on the invite event?
You might be correct:
{
"content": {
"display_name": "tes...@agu...",
"key_validity_url": "https://aguiarvieira.pt/_matrix/identity/v2/pubkey/isvalid",
"public_key": "H5TlGldhvLE1bU6ZtrCLuhOxB4zRhZStj65K/p7P2tg",
"public_keys": [
{
"key_validity_url": "/_matrix/identity/api/v1/pubkey/isvalid",
"public_key": "H5TlGldhvLE1bU6ZtrCLuhOxB4zRhZStj65K/p7P2tg"
},
{
"key_validity_url": "/_matrix/identity/api/v1/pubkey/ephemeral/isvalid",
"public_key": "fK46giIll7mMcBDZ9uC-Chy3USS3_YXiT1cfD42Og8I"
}
]
},
"origin_server_ts": 1696111714136,
"room_id": "!tnOYhXKUIldKCOOyzb:aguiarvieira.pt",
"sender": "@daedric:aguiarvieira.pt",
"state_key": "wHvIjathcHQKsuRLpWKAyaYQUaKROdYKDlyUknKEDBsctLLWZMqnRUHDmxUyMJCMeukCMKsmmaxSuNjtUBlwwuENCuiFQTDfEsOlkUybgwCAuYwRZpVhVtrMzcuNgxjc",
"type": "m.room.third_party_invite",
"unsigned": {
"age": 133243859
},
"event_id": "$FXcbZ57l0rFIWDfH9vZt36l5ib9NaZcodbU7HnbyP_8",
"user_id": "@daedric:aguiarvieira.pt",
"age": 133243859
}
from sydent.
Indeed, that is invalid. key_validity_url
should be populated by sydent, in the response to /_matrix/identity/v2/store-invite
. Might be worth checking http.client_http_base
in your sydent config.
from sydent.
Indeed, that is invalid.
key_validity_url
should be populated by sydent, in the response to/_matrix/identity/v2/store-invite
. Might be worth checkinghttp.client_http_base
in your sydent config.
It's set:
client_http_base = https://aguiarvieira.pt
Both in [DEFAULT] and [general]
from sydent.
right, but it needs to be in an [http]
section; see for example
sydent/matrix_is_test/launcher.py
Lines 22 to 27 in 2267ee2
(Don't get me started about the lack of documentation)
from sydent.
right, but it needs to be in an
[http]
section; see for examplesydent/matrix_is_test/launcher.py
Lines 22 to 27 in 2267ee2
(Don't get me started about the lack of documentation)
It's alright, i understand that the documentation is... sparse and out of date. As it has been said before:
Sydent hasn't received much love
I'll do a quick test and report back.
from sydent.
thanks for reporting back. I guess this is basically an instance of poor documentation biting people :(
from sydent.
Related Issues (20)
- Is 2.5.2 the latest version of Sydent? HOT 2
- A bug in third party invitations HOT 3
- Documentation of Config File HOT 1
- Back-off retries for requests to `/3pid/onbind` against homeservers after a successful bind are not tested
- Homeserver url issue HOT 7
- [docker] Bad working directory HOT 1
- prometheus-client is required to start sydent HOT 1
- [Question] Connect with homeserver HOT 4
- `POST /_matrix/identity/v2/store-invite` returns unspecced `public_key` property HOT 2
- Allow restricting Sydent to use by a specific list of Homeservers
- Allow turning off of terms for Sydent restricted to one homeserver HOT 3
- [docker] Permission denied: '/home/sydent/src/requirements.txt' HOT 5
- cargo/rust permission denied HOT 2
- Is there a detailed explanation of the configuration file, please? HOT 1
- LDAP search support HOT 1
- `poetry install` failing on Python 3.12 HOT 2
- Inverted logic in configuration merge HOT 3
- Matrix homeserver did not include 'sub' in its response HOT 2
- Unable to contact the Matrix homeserver (ResponseNeverReceived) register 500 error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sydent.