Anup Rojekar
Anup Rojekar

Reputation: 1103

How to configure BOSH over XMPP in tigase?

I have installed tigase XMPP server. Now I wanted to configure BOSH in order to connect through http. I am pretty much new to this environment. Any help will be greatly appreciated.

Upvotes: 0

Views: 1169

Answers (2)

Clément Fiorio
Clément Fiorio

Reputation: 462

BOSH is activated by default. Thus, you can edit its default configuration by editing the init.properties file in the etc/ folder:

bosh/connections/ports[i] = 5280, 5281
bosh/connections/5281/socket = ssl
bosh/connections/5281/type = accept

5280 is the default non-encrypted port and 5281 is the default encrypted port for BOSH. You can edit both ports to your conveniance. Then, you will be able to connect to http://yourdomain.com/http-bind and https://yourdomain.com/http-bind depending on which you want to use.

By the way, I recommend using the last release version of Tigase (and avoiding beta versions). You can find it here.

Upvotes: 3

Artur Hefczyc
Artur Hefczyc

Reputation: 996

What version of the Tigase XMPP Server do you use? In all recent versions Bosh is active by default and does not require any extra configuration.

Upvotes: 1

Related Questions