401 Auth failed when Subscribing Users

hey,

i’m new to jabberd and try to create a room with my C# program using agsxmpp.

The Node get’s created and my Jid get’s subscribed , but when i try to subcribe the others i get an 401 error.

here’s what my OnXml says:

2015-11-24 16:38:30.596[93771:2908837] Adding:user1

2015-11-24 16:38:30.599[93771:2908837] Adding:user2

2015-11-24 16:38:30.693[93771:2909102]

2015-11-24 16:38:30.737[93771:2909933]

2015-11-24 16:38:30.738[93771:2909933] Got contact: user2@mydomain.com

2015-11-24 16:38:30.739[93771:2909933]

2015-11-24 16:38:30.740[93771:2909933]

2015-11-24 16:38:30.741[93771:2909933] <item jid=„user1@mydomain.com" subscription=“both” />

2015-11-24 16:38:30.742[93771:2909933] Got contact: user1@mydomain.com

2015-11-24 16:38:30.743[93771:2909933]

2015-11-24 16:38:30.744[93771:2909933] <subscription node=“testNodeName” jid=„user1@mydomain.com" subscription=“subscribed”>

2015-11-24 16:38:30.796[93771:2909102]

2015-11-24 16:38:30.800[93771:2909102] <message xmlns=“jabber:client” from=„user1@mydomain.com" to="user1@mydomain.com/agsXMPP" id=“testNodeName__user1@mydomain.com__k3O43”>

testNodeName