Open
Description
Environment
- ejabberd version: 24.02
- OS: Linux (Debian)
- Installed from: official binary installer
Configuration
[...]
-
port: 8448
module: ejabberd_http
tls: true
request_handlers:
"/_matrix": mod_matrix_gw
[...]
s2s_access: s2s
[...]
access_rules:
[...]
s2s:
allow: all
[...]
mod_matrix_gw:
matrix_domain: "jabjab.de"
key_name: "key1"
key: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
[...]
Errors from error.log/crash.log
No errors
Bug description
I can't send/receive messages to/from a matrix.org account.
If I send a message from ejabberd to matrix, the debug log shows s.th. like this:
2024-03-08 12:55:02.285510+01:00 [notice] <0.1805.0> (tls|<0.1805.0>) Received XML on stream = <<"<message xmlns=\"jabber:client\" to=\"[email protected]\" type=\"chat\" id=\"64b4373b-dff9-4372-87b5-62a05a4004af\"><body>test</body><origin-id xmlns=\"urn:xmpp:sid:0\" id=\"64b4373b-dff9-4372-87b5-62a05a4004af\" /><request xmlns=\"urn:xmpp:receipts\" /><markable xmlns=\"urn:xmpp:chat-markers:0\" /></message>">>
to = #jid{user = <<"XXXXXXX">>,server = <<"matrix.org">>,
resource = <<>>,luser = <<"XXXXXXX">>,
to = #jid{user = <<"XXXXXXX">>,server = <<"matrix.org">>,
resource = <<>>,luser = <<"XXXXXXX">>,
2024-03-08 12:55:02.323089+01:00 [notice] <0.1882.0> (tls|<0.1882.0>) Send XML on stream = <<"<message xml:lang='en' to='[email protected]' from='[email protected]/Work' type='chat' id='64b4373b-dff9-4372-87b5-62a05a4004af'><origin-id xmlns='urn:xmpp:sid:0' id='64b4373b-dff9-4372-87b5-62a05a4004af'/><request xmlns='urn:xmpp:receipts'/><markable xmlns='urn:xmpp:chat-markers:0'/><body>test</body></message>">>
The webclient of app.element.io recieves nothing.
If I send a message from matrix.org to myself, the message returns like an echo. My chat window in gajim stays empty.
I already tried to set a specific host in the modules section, but that didn't work either. If I do a service discovery with Gajim, the matrix gateway is listed but greyed out.
The federationtester is all green, so it must be a problem on my side I think.
What am I missing?