Tigase Forums

API and development: RE: Tigase server can't accept non english usernames. Login Fails

Tigase XMPP Server Board - Sat, 05/11/2019 - 05:15

Hello,

  • Tigase Version is 8.0.0
  • Default authRepository with mysql
  • The Mechanism selected by client was Scram-sha256
  • I used spark and gajim and both only register non-ascii but could not login only with english usernames. I have disabled all mechanism except the PLAIN and the login process worked correctly.
Categories: Tigase Forums

Installation and maintenance: RE: Hello,I need to expand the Massage,Iq and presence message nodes

Tigase XMPP Server Board - Fri, 05/10/2019 - 11:04

Where do you want to send them? What are you trying to achieve?

Categories: Tigase Forums

Installation and maintenance: Hello,I need to expand the Massage,Iq and presence message nodes

Tigase XMPP Server Board - Fri, 05/10/2019 - 05:42

Hello,I need to expand the Massage,Iq and presence message nodes. For example,I need to pass a node named notification. What do I do?

Example message 1

Categories: Tigase Forums

API and development: RE: Tigase server can't accept non english usernames. Login Fails

Tigase XMPP Server Board - Thu, 05/09/2019 - 09:20

I've reviewed source code and I do not see possible issues with handling unicode (non-ascii) usernames on our side in SCRAM implementation that could lead to the issue.

Could you provide us with the following details:

  • version of Tigase XMPP Server which you are using (is it latest version 8.0.0 or one of the previous snapshots of this version)
  • configuration details of the authRepository which you have in config.tdsl file (changes in enabling/disabling credential encoders could lead to this issue)
  • could you check the entries for this user in tig_user_credentials to ensure that it hash proper entries for used SCRAM-* mechanism
  • which SCRAM-* mechanism you tried to use (SCRAM-SHA1, SCRAM-SHA256 or SCRAM-SHA512?)
  • what client are you using for establishing connection to the XMPP server
Categories: Tigase Forums

API and development: RE: Tigase server can't accept non english usernames. Login Fails

Tigase XMPP Server Board - Thu, 05/09/2019 - 02:17

Yes The SCRAM mechanism caused this problem.

Categories: Tigase Forums

API and development: RE: Tigase server can't accept non english usernames. Login Fails

Tigase XMPP Server Board - Wed, 05/08/2019 - 14:15

Sufian Alali wrote:

I am using mysql and configured to support unicode. Arabic username stored in db normally. I have disabled all sasl mechanisms just keeped "PALAIN" and everything works correctly.

Which mechanisms caused the problems? SASL-SCRAM?

Categories: Tigase Forums

API and development: RE: Tigase server can't accept non english usernames. Login Fails

Tigase XMPP Server Board - Sat, 05/04/2019 - 01:01

I am using mysql and configured to support unicode. Arabic username stored in db normally. I have disabled all sasl mechanisms just keeped "PALAIN" and everything works correctly.

Categories: Tigase Forums

API and development: RE: Tigase server can't accept non english usernames. Login Fails

Tigase XMPP Server Board - Fri, 05/03/2019 - 18:07

Which database do you use? Have you configured it to support unicode?

Please provide valid e-mail address for your account, otherwise your account will be disabled.

Categories: Tigase Forums

API and development: Tigase server can't accept non english usernames. Login Fails

Tigase XMPP Server Board - Fri, 05/03/2019 - 15:12

We have successfully installed tigase server. Registering usernames work normally. When non English(for example: Arabic) registered , The server registers the user but login fails always with error NOT AUTHORIZED. we have been struggling with this problem for weeks. We need to allow all Unicode usernames to login correctly.

Categories: Tigase Forums

Installation and maintenance: RE: Last Activity functionality not taking effect.

Tigase XMPP Server Board - Fri, 05/03/2019 - 09:36

Abdul Aziz wrote:

  1. where this information will be stored in DB.

It will be stored in UserRepository, which means tig_pairs table with LAST_ACTIVITY_KEY as key.

  1. Which classes are called persisting this information, I debugged these two classes but there was no calling of functions of any sort a) LastActivity b LastActivityMarker

The first class (a) is responsible for retrieval of the information (i.e. responding to last activity queries) while the second one (2) to persisting it triggered by user actions. It's done in tigase.xmpp.impl.LastActivityMarker#setLastActivity method (effectively in tigase.xmpp.impl.LastActivityAbstract#persistLastActivity based on previous logic indicating whether it should be stored or not)

  1. Where should I debug/ how should I know, to check the flow that the last activity functionality is working

Please check Protocol section of the specification - you can send queries to the server and observe response. We have also automated test (in TTS-NG project) for this functionality.

Categories: Tigase Forums

Installation and maintenance: RE: Last Activity functionality not taking effect.

Tigase XMPP Server Board - Mon, 04/29/2019 - 00:39

Here are the properties that I include din my config.tdsl

'sess-man' {
'jabber:iq:last-marker' (active: true) {
'jabber:iq:last' (active: true) {

} message = true presence = true persistAllToRepository = true }

}

Categories: Tigase Forums

Installation and maintenance: Last Activity functionality not taking effect.

Tigase XMPP Server Board - Mon, 04/29/2019 - 00:15

Hi all

I want to achieve last activity functionality in tigase server.

I have followed the following article

https://docs.tigase.net/tigase-server/8.0.0/Administration_Guide/html/#lastActivity

But I am unable to reflect changes.
My ambiguities are

  1. where this information will be stored in DB.
  2. Which classes are called persisting this information, I debugged these two classes but there was no calling of functions of any sort
    a) LastActivity
    b LastActivityMarker

  3. Where should I debug/ how should I know, to check the flow that the last activity functionality is working

Thanx for you r support in advance.

Categories: Tigase Forums

Pages

Back to Top