Not authorized - 404:server not found.

Just a semi-newbie question here:

I installed ejabberd-2.1.3 via the bin installer on a CentOS platform.

1. The IM clients connect on port 5222 well. Telnet to port 5269 gives some XML reply after typing some gibberish in.
2. I can't see @all@ users from the the roster made after the client logs in (roster made via the webadmin/5280):

Name: GBDiv
Description:
Members: @all@
Displayed Groups: gbdiv

3. I can find other users by manually adding a buddy. But then get in to this 'Not authorized' problem - 404:server not found.
4. Forcing a message over get this error (Pidgin):

XMPP Message Error
Message delivery to test3 failed: (Code 404)

5. Added FQDN entry in the hosts file.
6. How do I add the following file into ejabberdctl to

-kernel inetrc \"/etc/ejabberd/inetrc\"

7. The following are messages from the ejabberd logs:

=INFO REPORT==== 2010-04-07 05:26:51 ===
I(<0.932.0>:ejabberd_s2s:368) : New s2s connection started <0.970.0>

=INFO REPORT==== 2010-04-07 05:26:51 ===
I(<0.970.0>:ejabberd_s2s_out:1148) : Trying to open s2s connection: cpk.info.xxxx.com -> meganjoy

=INFO REPORT==== 2010-04-07 05:26:51 ===
I(<0.970.0>:ejabberd_s2s_out:227) : s2s connection: cpk.info.xxxx.com -> meganjoy (remote server not found)

=INFO REPORT==== 2010-04-07 05:26:57 ===
I(<0.970.0>:ejabberd_s2s_out:836) : Reconnect delay expired: Will now retry to connect to meganjoy when needed.

nickkraal wrote: 2. I can't

nickkraal wrote:

2. I can't see @all@ users from the the roster made after the client logs in (roster made via the webadmin/5280):
Name: GBDiv
Description:
Members: @all@
Displayed Groups: gbdiv

Make sure the group Id you indicated when creating it is: gbdiv

nickkraal wrote:

3. I can find other users by manually adding a buddy. But then get in to this 'Not authorized' problem - 404:server not found.
4. Forcing a message over get this error (Pidgin):

XMPP Message Error
Message delivery to test3 failed: (Code 404)

If your ejabberd virtual host is cpk.info.xxxx.com, then you have accounts like bob@cpk.info.xxxx.com and jane@cpk.info.xxxx.com
So, when you login to the account of Bob, add the contact: jane@cpk.info.xxxx.com

nickkraal wrote:

5. Added FQDN entry in the hosts file.
6. How do I add the following file into ejabberdctl to

-kernel inetrc \"/etc/ejabberd/inetrc\"

You don't need to do this.

nickkraal wrote:

7. The following are messages from the ejabberd logs:

=INFO REPORT==== 2010-04-07 05:26:51 ===
I(<0.932.0>:ejabberd_s2s:368) : New s2s connection started <0.970.0>

=INFO REPORT==== 2010-04-07 05:26:51 ===
I(<0.970.0>:ejabberd_s2s_out:1148) : Trying to open s2s connection: cpk.info.xxxx.com -> meganjoy

=INFO REPORT==== 2010-04-07 05:26:51 ===
I(<0.970.0>:ejabberd_s2s_out:227) : s2s connection: cpk.info.xxxx.com -> meganjoy (remote server not found)

=INFO REPORT==== 2010-04-07 05:26:57 ===
I(<0.970.0>:ejabberd_s2s_out:836) : Reconnect delay expired: Will now retry to connect to meganjoy when needed.

I don't find this "meganjoy" jabber server. It seems you tried to chat with a user in a remote server, but you introduced as his Jabber ID "meganjoy", or "tim@meganjoy". That can't work, because ejabberd doesn't find that remote server. Maybe you wanted to put "tim@meganjoy.com" or similar.

Syndicate content