Project

General

Profile

How to connect to Tigase server on aws

schumi humi
Added over 3 years ago

Hi Tigase Gurus,

We are very new to Tigase and been trying to install it on AWS ( Amazon cloud) and connect to it over internet.

Unfortunately our xmpp client (pidgin/psi) is not being able to connect to the tigase server.

We tried connecting the client using domain name given to tigase server say xyz.com as well as ip address we use to log into our aws box ( ssh -i some.pem ubuntu@ip-address ), but none work.

When I try pinging that aws box with the provided ip-address, i see 100% messages being transfered.

Can someone pls guide us or provide us with some documentation/forum threads related to tigase issue on aws.

Closest that I found to our issue is here https://projects.tigase.org/issues/2043.

Thanks


Replies (5)

Added by Wojciech Kapcia TigaseTeam over 3 years ago

Mayank Maheshwari wrote:

Hi Tigase Gurus,

We are very new to Tigase and been trying to install it on AWS ( Amazon cloud) and connect to it over internet.

Unfortunately our xmpp client (pidgin/psi) is not being able to connect to the tigase server.

We tried connecting the client using domain name given to tigase server say xyz.com as well as ip address we use to log into our aws box ( ssh -i some.pem ubuntu@ip-address ), but none work.

Where do you specify it in the client? As the connection host?

If you are using domain name and JID you should configure SRV records for your domain.

When I try pinging that aws box with the provided ip-address, i see 100% messages being transfered.

Can you telnet any of Tigase ports (5222, 5223, etc) from the internet?

Added by schumi humi over 3 years ago

Hi Wojcieh

Thanks, we were finally able to get the clients connected to tigase server

on aws, issue was related to root permission.

We are able to register users onto tigase server on aws and on the derby

database we see the users being added but with account status as -1.

When the user tries login in , client gets disconnected with this error

message "server closed the connection".

I have attached a brief log snapshot when I fire my client connection to

tigase server running on aws.

Thanks

Mayank

On Wed, May 20, 2015 at 8:28 AM support@tigase.org wrote:

Added by Wojciech Kapcia TigaseTeam over 3 years ago

Mayank Maheshwari wrote:

We are able to register users onto tigase server on aws and on the derby

database we see the users being added but with account status as -1.

When the user tries login in , client gets disconnected with this error

message "server closed the connection".

How are you adding users? Status "-1" means that the account is disabled and you won't be able to login.

Added by schumi humi over 3 years ago

Hi Wojcieh

We are using mysql instead of inbuilt derby.

Now via pidgin, I given fill in user field with say name abc, in domain

give xyz.com which is the logical ip address to that aws box aswell as

domain name for the tigase server, port field is set to 5222,

authentication is optional and finally we select create/register this

account on the server.

Pls let me know if you need any other detail like the tigase log etc.

On Thu, May 21, 2015 at 5:39 AM, support@tigase.org wrote:

Added by Wojciech Kapcia TigaseTeam over 3 years ago

  • what do you mean 'authentication is optional'?

  • what is your server configuration?

  • what is the account configuration after registration?

  • is the account in the database still disabled (status = -1)?

    (1-5/5)