Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMPP connection gets invalid character on connect. #66

Open
Luticus opened this issue Jan 26, 2022 · 2 comments
Open

XMPP connection gets invalid character on connect. #66

Luticus opened this issue Jan 26, 2022 · 2 comments

Comments

@Luticus
Copy link

Luticus commented Jan 26, 2022

I'm trying to connect a talk channel to my xmpp server but when I enable the bridge I get the following error.
level=fatal msg="Starting gateway failed: Bridge nctalk.1 failed to start: invalid character '<' looking for beginning of value" prefix=main

I"m using the latest version of nextcloud, talk, and matterbridge.

I have the settings filled out like this:

url:  example.com:5222
muc: conference.example.com:5222
jid: user@example.com
nickname: bot
password: a long password
channel: channelname

I've verified that my account can log into my xmpp server over a normal xmpp client via username/password authentication. It works via the jsxc nextcloud app as well.

Any help would be greatly appreciated.

@sirdrakeistda
Copy link

I have noticed, that your muc contains :5222. This should not be needed (so just type muc: conference.example.com).
I don't think this is the issue. Interesting would be if your password contains this '<' character or are there any none default characters in the username or channel name (xmpp allows most unicode characters, see also: https://xmpp.org/extensions/xep-0029.html)

@c-holtermann
Copy link

c-holtermann commented Jul 3, 2023

As written in https://help.nextcloud.com/t/zwei-talk-instanzen-mittels-talk-matterbridge-verbinden/124537/5?u=c-holtermann for me this was a credential issue on the nextcloud part. There is a bug nextcloud/server#33198 that returns an xml response in that case even if json is requested and would contain the message "unauthorized". I am on Nextcloud Hub 5 (27.0.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants