Feed aggregator

Tigase server administration: RE: Tigase HTTP REST API set up API key issue

Tigase XMPP Server Board - 2 hours 37 min ago

Sorry for the delayed response.

You are correct. When I use the full username along with the domain name it works.

Thank you very much.

Categories: Tigase Forums

Tigase server development: RE: XEP-0133: Service Administration

Tigase XMPP Server Board - 5 hours 17 min ago

Please bare in mind, that the above will only result in a Data Form (xep-0004).

Categories: Tigase Forums

Tigase server development: RE: How TIgase handles special XML characters

Tigase XMPP Server Board - 5 hours 37 min ago

Ok, so,

what to do on this situation?

After this message user is stuck, he can't do anything, server doesn't handle all further requests - just no response. Server doesn't drop a connection.
So there is no a way to understand on the client side that something wrong happened.

Categories: Tigase Forums

Tigase server development: RE: XEP-0133: Service Administration

Tigase XMPP Server Board - Thu, 10/23/2014 - 23:44

York Zhu wrote:

Thanks.I tried the method you provide,Still can not complete registration.Will I need to pay attention to what it.

Categories: Tigase Forums

Tigase server development: RE: XEP-0133: Service Administration

Tigase XMPP Server Board - Thu, 10/23/2014 - 23:43

Thinks.I tried the method you provide,Still can not complete registration.Will I need to pay attention to what it.

Categories: Tigase Forums

Tigase server development: RE: How TIgase handles special XML characters

Tigase XMPP Server Board - Thu, 10/23/2014 - 20:13
Tigase does not perform a strict XML checking and validation. What the parser is doing really is this:
  1. It detects the first, top element for the incoming stanza (<message> in this case)
  2. Than it builds a simple DOM structure with all child elements it finds using stack to mark start of the element (i.e. <body>) and end of the element (i. e. </body>)
  3. Until all child elements are closed by a corresponding closing element
  4. And until it finds the closing of the top element (</message> in this case)

What happens here is this:
It finds an opening child element: <banana984943658> but it never finds a closing corresponding element. So everything which comes after this is considered a child of the <message> stanza, all subsequent presence packets, iq, anything until it reach the limit of the stanza size at which point connection will be dropped.

Categories: Tigase Forums

Tigase server development: RE: Migrating from Prosody and salted SHA1 password hashes

Tigase XMPP Server Board - Thu, 10/23/2014 - 17:54

You can try, of course. I am afraid I cannot help you too much on this. If you do this on DB level, it would be most effective solution. But it mainly depends on how complicate this hashing algorithm is in Prosody and if this can be implemented in PL/SQL.

Categories: Tigase Forums

Tigase server development: RE: XEP-0133: Service Administration

Tigase XMPP Server Board - Thu, 10/23/2014 - 07:07

You should send the command to Session Manager, i.e. sess-man@m8.com
<iq type="set" to="sess-man@m8.com" id="add-user-1"> <command xmlns="http://jabber.org/protocol/commands" node="http://jabber.org/protocol/admin#add-user"/> </iq>

Categories: Tigase Forums

Tigase server development: XEP-0133: Service Administration

Tigase XMPP Server Board - Thu, 10/23/2014 - 00:14

Hi,I want to know tigase do not support XEP-0133.I want the administrator to registered users, but when I made ​​the wrong.
<iq id='3A0B6A6D0DB5E1DA8FB0D9A1A1D043A1' to='m8.com' from='admin@m8.com/xmpphp' type='set' xml:lang='en' xmlns='jabber:client'> <command xmlns='http://jabber.org/protocol/commands' node='http://jabber.org/protocol/admin#add-user' action='execute'/> </iq>
Please help me,Thanks!

Categories: Tigase Forums

Tigase server development: RE: How TIgase handles special XML characters

Tigase XMPP Server Board - Thu, 10/23/2014 - 00:13

Okay, thanks Artur,

I have another case there, where server doesn't disconnect a user

for example User sent next message:

<message id="5448a98b86" type="groupchat" to="654@muc.chat.server.com"><body><banana984943658></body></message>

as you can see, I added body in brackets <>

so, server parses well this data, but after this message User can't do anything - server doesn't handle all further requests - just no response. User sends a presence - no response.

What can be the issue here?
I understand that user has to escape all such characters, but still

Categories: Tigase Forums

Tigase server administration: RE: tigase 5.2.2 init.properties load fail

Tigase XMPP Server Board - Wed, 10/22/2014 - 19:59

Yes, Wojciech was not specific enough. Your command to start Tigase server is incorrect.

The correct way to start Tigase server is this:
./scripts/tigase.sh start etc/tigase.conf

Categories: Tigase Forums

Tigase server administration: RE: tigase 5.2.2 init.properties load fail

Tigase XMPP Server Board - Wed, 10/22/2014 - 19:54

tigase.conf file exist TIGASE_OPTIONS=" --property-file etc/init.properties " .
But also load fail,in bash windows every row show: command not found.

Categories: Tigase Forums

Tigase server administration: RE: Tigase HTTP REST API set up API key issue

Tigase XMPP Server Board - Wed, 10/22/2014 - 13:27

What do you pass as username to authorization dialog?
You should pass admin user's jid not only username as username so in case of user with jid whole should be passed as username to authorization dialog and proper password should be passed as password for this dialog as well.

Categories: Tigase Forums

Tigase server administration: RE: Tigase HTTP REST API set up API key issue

Tigase XMPP Server Board - Wed, 10/22/2014 - 09:35

I was able to make it work. It was a silly mistake that I was making.

Changed
--api-keys=open_access

to
--api-keys[s]=open_access

However, after managing to get past this I am unable to login to APIs that require admin role.

The reason is this. I have used the command line manual installation which does not setup the admin account. Instead it requires that user register their first jabber account as the admin. I did the same using PSI xmpp client. But the admin password does not work on the rest api. It works in the xmpp client just fine.

Any clues why it might be happening? Do you know where to set the admin password?

Categories: Tigase Forums

Tigase server administration: RE: Tigase HTTP REST API set up API key issue

Tigase XMPP Server Board - Wed, 10/22/2014 - 08:00

Actually I've tried latest development (master branch) and it works without a problem - can you try it?

Categories: Tigase Forums

Tigase server administration: RE: tigase 5.2.2 init.properties load fail

Tigase XMPP Server Board - Wed, 10/22/2014 - 05:29

when using tigase.sh you should provide path to tigase.conf file which provides bootstrap entries/configuration for java process, including
TIGASE_OPTIONS=" --property-file etc/init.properties "
which is the parameter used by Tigase to read properties.

Categories: Tigase Forums

Tigase server development: RE: Migrating from Prosody and salted SHA1 password hashes

Tigase XMPP Server Board - Wed, 10/22/2014 - 05:23

Hi Artur, thanks for the prompt reply.

Yes, I've seen these procedures in the schema files. Do you think I should try to edit them in order to support salted SHA1 - which is the hash mechanism Prosody uses?

Thanks

Categories: Tigase Forums

Tigase server administration: tigase 5.2.2 init.properties load fail

Tigase XMPP Server Board - Wed, 10/22/2014 - 03:39

I download tigase file is tigase-server-5.2.2-b3463-dist-max.tar.gz.
tar -zxvf files,cd tigase path,don't modify anything
And start tigase as : ./scripts/tigase.sh start ./etc/init.properties
std out is :
./etc/init.properties: line 1: config-type=--gen-config-def: command not found
./etc/init.properties: line 2: --admins=admin@: command not found
./etc/init.properties: line 3: --virt-hosts: command not found
./etc/init.properties: line 4: --debug=server: command not found
Starting Tigase:
Tigase running pid=10915
nohup: redirecting stderr to stdout

When replace init.properties file ,more command not found error.And tigase use default config.
What't wrong?

Categories: Tigase Forums

Tigase server administration: RE: Tigase HTTP REST API set up API key issue

Tigase XMPP Server Board - Wed, 10/22/2014 - 00:47

I also tried the other way around.

I added a key in the etc/init.properties
--api-keys=4ec2edea84e6411cb5547c01ade7acf6

I still get the same error. Please refer screenshot attached.

Does the key need to be added somewhere else too? All I did was create a random key, put it in the init.properties and restarted the Tigase server.

Categories: Tigase Forums

Tigase server administration: RE: Problem with WSS (Tigase 5.2.0 - 5.2.2)

Tigase XMPP Server Board - Tue, 10/21/2014 - 23:54

Hello

i validated a ssl connection with a signed and valid certificate.
Thank you guys

Categories: Tigase Forums

Pages

Get in touch

We provide software products, consulting and custom development services

Tigase, Inc.
100 Pine Street, Suite 1250
San Francisco, CA 94111, USA
Phone: (415) 315 9771

Follow us on:

Twitter

  • Stable communication in Tigase Messenger is due to servers operated by an experienced team. Tigase servers are... http://t.co/C9Unx5JPbA 1 day 22 hours ago
  • If you need a stable communication with the world Tigase Messenger is for you. Test it. http://t.co/CZeskBZgon 4 days 4 hours ago
Back to Top