I’m trying to use Openfire as a base for my in-game user chat and I’ve run into some problems.
The setup is as follows: 2 CentOS VMs deployed on MS Azure in a virtual network with Openfire 3.10.2 servers, Hazelcast 2.1.2 and REST API plugin 1.1.7 installed.
The problem is - when I create a chat room through a REST call on server 1 - it shows up in the room list on server 2, but MUC settings are arbitrary defaults, instead of actual parameters set during creation, and none of the local users on server 2 can join the room (404 not found error is returned).
Rooms created via admin web-interface appear to function correctly.
Has anyone encountered errors like this? Is this a bug with REST plugin, or a problem with my network setup? Any help would be appreciated.
Could you please try to start both server in cluster mode and create a room over the REST API and restart both server afterwards and check if the settings are applied on both instances.
If it works over the admin web interface in cluster mode, then its seems to be something wrong with REST API. But I don’t have any idea why, that need to be investigated.
Unfortunately I can’t give access to my cluster setup, because it’s a corporate property, but there’s a 1-year trial of AWS you can use to create the setup, and I can help to set up the VMs, should you need a hand.
Alternatively, we can connect on Skype or something and you can talk me through building from sources and debugging it.