Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Error: x-strophe-bad-non-anon-jid #509

Open
xinthose opened this issue Jul 31, 2017 · 1 comment
Open

Error: x-strophe-bad-non-anon-jid #509

xinthose opened this issue Jul 31, 2017 · 1 comment

Comments

@xinthose
Copy link

xinthose commented Jul 31, 2017

Hello. I am trying to get Candy working with Openfire, but I get this error x-strophe-bad-non-anon-jid when I try to connect to Candy. I am using the correct username and password. I am using IIS on Windows 10.

HTML Head

<link href="osrc/candy-2.2.0/libs.min.css" rel="stylesheet" />
<link href="osrc/candy-2.2.0/res/default.css" rel="stylesheet" />
<script src="osrc/candy-2.2.0/libs.min.js"></script>
<script src="osrc/candy-2.2.0/candy.min.js"></script>

JavaScript

Candy.init("http://desktop-bn13agh:7070/http-bind/", {
	core: {
		// only set this to true if developing / debugging errors
		debug: true,
		// autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it
		//   true
		//     -> fetch info from server (NOTE: does only work with openfire server)
		//   ['test@conference.example.com']
		//     -> array of rooms to join after connecting
		autojoin: ["testing@conference.desktop-bn13agh"]
		//autojoin: true
	},
	view: {
		assets: "../res/"
	}
});
Candy.Core.connect("admin", "admin");

Pictures of Setup and Errors

Candy - Google Chrome Output with Error
candy - google chrome output with error
IIS - URL Rewrite Rule
iis - url rewrite rule
Openfire - HTTP Bind Settings
openfire - http bind settings
Openfire - Client Management
openfire - client management
Openfire - Group Chat
openfire - group chat
Openfire - Bookmarks
openfire - bookmarks
Openfire - Candy Plugin Login Fail
openfire - candy plugin login fail

Please help me to get this working. Let me know what part of my configuration is wrong. Thank you.

@xinthose
Copy link
Author

xinthose commented Aug 1, 2017

I got Converse.js to work with Openfire easily. It seems to be more active and better developed as well.

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

No branches or pull requests

1 participant