This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Description
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

IIS - URL Rewrite Rule

Openfire - HTTP Bind Settings

Openfire - Client Management

Openfire - Group Chat

Openfire - Bookmarks

Openfire - Candy Plugin Login Fail

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