Open Zenuncl opened 3 years ago
Update:
Tried this which added account:
accounts add-existing xmpp-js xmpp_username@xmpp_server.tld
Now accounts
shows:
Linked accounts:
- undefined [Protocol not enabled] (xmpp_username@xmpp_server.tld)
Can't enable, I assume xmpp-js can't link to any existing XMPP accounts. It doesn't seem register any new components account either.
Based on this 2 years old issue XMPP.js (in 2019 at least) doesn't support using existing account option.
# Cannot enable it either
accounts enable xmpp-js xmpp_username@xmpp_server.tld
Failed to enable account:Protocol does not let you create new accounts
In case developers and maintainers haven't notice:
node-purple
have already been removed from the latest node v12.20.1
and npm 6.14.10
repos. npm install node-purple
get nothing.Took me a while, stumpled upon the same issue. For xmpp-js there is no direct accounting linking. Its automatically solved due to registration as separate component. Got it working with manual / step-by-step at https://wiki.calculate-linux.org/matrix_xmpp_bridge Its indeed working. You may want to try as well @SharkIng Even interacting with bot is not required.
Only issue is: if you regular jid is abc@im.jabberhost.org it would be e.g. abc@matrix.im.jabberhost.org
I tried it but it didn't work when I set it up a few months ago. I'll take a look again
On Mon, Apr 12, 2021 at 3:21 PM Lukas Schreiner @.***> wrote:
Took me a while, stumpled upon the same issue. For xmpp-js there is no direct accounting linking. Its automatically solved due to registration as separate component. Got it working with manual / step-by-step at https://wiki.calculate-linux.org/matrix_xmpp_bridge Its indeed working. You may want to try as well @SharkIng https://github.com/SharkIng
Only issue is: if you regular jid is @. it would be e.g. @.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/matrix-org/matrix-bifrost/issues/231#issuecomment-818070403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZJSXXA5GVSUNA6P4PG5JDTINB2PANCNFSM4XNQQ3WQ .
Using Docker + XMPP.js, spend few days and I assume it's setup correctly. I can invite bot into a room on Matrix network now.
Own a matrix homeserver and a XMPP server.
I tried to link one account so all message can be bridged, but seems like doesn't work:
Looked through entire issue and documentations, including the config file, I didn't see anywhere mention how xmpp.js link account works?.
Either:
accounts add xmpp-js xmpp_username@xmpp_server.tld
should work. But I don't know where is incorrect, all logs (mostly INFO) don't seem incorrect.Logs:
PS: It's really good if we can provide a better docker documentations, so user need this bridge don't need (like me) search around. Here is some suggestion:
prosody
andejabberd
supporting it now)ejabberd
config.yml
example can be downloaded from github, modify as you needed.Then run following two commands to generate the file and move it to /data
node /app/lib/Program.js -r -c /data/config.yaml -u http://your-docker-ip-or-hostname:9555 mv /app/bifrost-registration.yaml /data/registration.yaml