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

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

@xinthose

Description

@xinthose

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions