Push technology has been recently very frequently mentioned. It is often talked about but not well understood and even less used in practice. Definitely it is not used to it's full potential.
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.
Please bare in mind, that the above will only result in a Data Form (xep-0004).
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.
York Zhu wrote:
Thanks.I tried the method you provide,Still can not complete registration.Will I need to pay attention to what it.
Thinks.I tried the method you provide,Still can not complete registration.Will I need to pay attention to what it.
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.
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.
You should send the command to Session Manager, i.e. email@example.com
<iq type="set" to="firstname.lastname@example.org" id="add-user-1"> <command xmlns="http://jabber.org/protocol/commands" node="http://jabber.org/protocol/admin#add-user"/> </iq>
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' email@example.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!
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="firstname.lastname@example.org"><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
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
tigase.conf file exist TIGASE_OPTIONS=" --property-file etc/init.properties " .
But also load fail,in bash windows every row show: command not found.
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 email@example.com whole firstname.lastname@example.org should be passed as username to authorization dialog and proper password should be passed as password for this dialog as well.
I was able to make it work. It was a silly mistake that I was making.
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?
Actually I've tried latest development (master branch) and it works without a problem - can you try it?
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.
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?
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
Tigase running pid=10915
nohup: redirecting stderr to stdout
When replace init.properties file ,more command not found error.And tigase use default config.
I also tried the other way around.
I added a key in the etc/init.properties
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.
i validated a ssl connection with a signed and valid certificate.
Thank you guys
We provide software products, consulting and custom development servicesTigase, Inc.
Follow us on: