I have installed Ejabberd 13.10 Mac version on Mac 10.8. (Free Version)
I am communicating with server using XMPP framework.
We are developing a mobile application
- I can register new users from mobile
- I can login with new users and use chat manager.
Problem
1) When I try to search for users using JID, I am getting a 501 Service Unavialable Error.
2) I am getting the same error for Browse.
3) When trying to use last user activity(xep-0012) I am getting an AUTH Error.
NOTE: I am developing the app in Android and iOS. In Android, I have tried using Smack 3.3.1 built in functions for searching as well as by sending XMPP XML Queries. Both times, I am getting the above mentioned errors.
On iOS:
4) How to send and retrieve data through iq's in ios from xmppframework.
Please suggest me a course of action for Solving the 501 Service Unavailable Error
I used Tkabber client for
I used Tkabber client for testing 1 and 2. No errors logged or returned to the client. For 2, Service Discovery works correctly. However, for 1 I get zero results, even if I think it should return some matches.
Try with a well known client, and then compare his stanzas with the ones sent by your custom client.