Project

General

Profile

Feature not yet supported

Corey Wilson
Added over 5 years ago

I'm completely lost on this issue.. I have spent the last 5 or 6 hours trying to get Tigase to work and just can't seem to get it to.

I have uninstalled, reinstalled, tried different versions, different settings, read the admin pages more than once and must be over looking something.

I keep getting this error when trying to connect:

*

Feature not supported yet.

*

I am using a Mac OSX with the GUI Installer and am starting up tigase with:* ./scripts/tigase.sh start etc/tigase.conf*

I have this in my configuration file:

--comp-class-1 = tigase.muc.MUCComponent

--virt-hosts = localhost

--user-db-uri = jdbc:mysql://localhost:8889/tigase?user=root&password=root

--user-db = mysql

--admins = admin@localhost

--comp-name-4 = message-archive

--comp-name-3 = proxy

config-type = --gen-config-def

--comp-name-2 = pubsub

--comp-name-1 = muc

--cluster-mode = true

--sm-plugins = +message-archive-xep-0136,+jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,+jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+msgoffline,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,-zlib

--debug = server,xmpp.impl,db,cluster

--comp-class-4 = tigase.archive.MessageArchiveComponent

--comp-class-3 = tigase.socks5.Socks5ProxyComponent

--comp-class-2 = tigase.pubsub.PubSubComponent

This is the tigase-console.log file:

STARTED Tigase Fri 16 Aug 2013 22:10:07 PDT

Tigase XML Tools ver. 3.4.4-SNAPSHOT (bad2d905)

Tigase Utils ver. 3.4.2-SNAPSHOT (e157ec84)

2013-08-16 22:10:08.601 [main] DNSResolver.() WARNING: Resolving default host name took: 46

2013-08-16 22:10:08.627 [main] ConfiguratorAbstract.parseArgs() CONFIG: Setting defaults: --property-file = etc/init.properties

2013-08-16 22:10:08.632 [main] ConfiguratorAbstract.parseArgs() CONFIG: Loading initial properties from property file: etc/init.properties

2013-08-16 22:10:08.633 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--cluster-mode=true)

2013-08-16 22:10:08.634 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (config-type=--gen-config-def)

2013-08-16 22:10:08.634 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--debug=server,xmpp.impl,db,cluster)

2013-08-16 22:10:08.634 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--user-db=mysql)

2013-08-16 22:10:08.635 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--admins=admin@localhost)

2013-08-16 22:10:08.636 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--user-db-uri=jdbc:mysql://localhost:8889/tigase?user=root&password=root)

2013-08-16 22:10:08.636 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--virt-hosts=localhost)

2013-08-16 22:10:08.636 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--comp-name-4=message-archive)

2013-08-16 22:10:08.637 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--comp-class-4=tigase.archive.MessageArchiveComponent)

2013-08-16 22:10:08.637 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--comp-name-3=proxy)

2013-08-16 22:10:08.637 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--comp-class-3=tigase.socks5.Socks5ProxyComponent)

2013-08-16 22:10:08.637 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--comp-name-2=pubsub)

2013-08-16 22:10:08.642 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--comp-class-2=tigase.pubsub.PubSubComponent)

2013-08-16 22:10:08.643 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--comp-class-1=tigase.muc.MUCComponent)

2013-08-16 22:10:08.643 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--comp-name-1=muc)

2013-08-16 22:10:08.643 [main] ConfiguratorAbstract.parseArgs() CONFIG: Added default config parameter: (--sm-plugins=+message-archive-xep-0136,+jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,+jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+msgoffline,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,-zlib)

2013-08-16 22:10:08.679 [main] MessageRouter.addRegistrator() INFO: Adding registrator: Configurator

2013-08-16 22:10:08.679 [main] MessageRouter.addComponent() INFO: Adding component:

2013-08-16 22:10:08.680 [main] ConfiguratorAbstract.componentAdded() CONFIG: component: basic-conf

2013-08-16 22:10:08.680 [main] ConfiguratorAbstract.setup() CONFIG: Setting up component: basic-conf

2013-08-16 22:10:08.693 [main] ConfiguratorAbstract.setup() CONFIG: Component basic-conf defaults: {component-id=basic-conf@corey-wilsons-macbook-pro-2.local, def-hostname=corey-wilsons-macbook-pro-2.local, admins=[Ljava.lang.String;@5801319c, scripts-dir=scripts/admin, command/ALL=ADMIN, logging/.level=CONFIG, logging/handlers=java.util.logging.ConsoleHandler java.util.logging.FileHandler, logging/java.util.logging.ConsoleHandler.formatter=tigase.util.LogFormatter, logging/java.util.logging.ConsoleHandler.level=WARNING, logging/java.util.logging.FileHandler.append=true, logging/java.util.logging.FileHandler.count=5, logging/java.util.logging.FileHandler.formatter=tigase.util.LogFormatter, logging/java.util.logging.FileHandler.limit=10000000, logging/java.util.logging.FileHandler.pattern=logs/tigase.log, logging/tigase.useParentHandlers=true, logging/java.util.logging.FileHandler.level=ALL, logging/tigase.server.level=ALL, logging/tigase.xmpp.impl.level=ALL, logging/tigase.db.level=ALL, logging/tigase.cluster.level=ALL, user-domain-repo-pool=tigase.db.UserRepositoryMDImpl, auth-domain-repo-pool=tigase.db.AuthRepositoryMDImpl, user-repo-pool-size=10, data-repo-pool-size=10, user-repo-class=mysql, user-repo-url=jdbc:mysql://localhost:8889/tigase?user=root&password=root, auth-repo-class=tigase.db.jdbc.TigaseCustomAuth, auth-repo-url=jdbc:mysql://localhost:8889/tigase?user=root&password=root, ssl-container-class=tigase.io.SSLContextContainer, ssl-certs-location=certs/, ssl-def-cert-domain=default, config-dump-file=etc/config-dump.properties}

2013-08-16 22:10:08.694 [main] ConfiguratorAbstract.setup() CONFIG: Component basic-conf configuration: {component-id=basic-conf@corey-wilsons-macbook-pro-2.local, def-hostname=corey-wilsons-macbook-pro-2.local, admins=[Ljava.lang.String;@5801319c, scripts-dir=scripts/admin, command/ALL=ADMIN, logging/.level=CONFIG, logging/handlers=java.util.logging.ConsoleHandler java.util.logging.FileHandler, logging/java.util.logging.ConsoleHandler.formatter=tigase.util.LogFormatter, logging/java.util.logging.ConsoleHandler.level=WARNING, logging/java.util.logging.FileHandler.append=true, logging/java.util.logging.FileHandler.count=5, logging/java.util.logging.FileHandler.formatter=tigase.util.LogFormatter, logging/java.util.logging.FileHandler.limit=10000000, logging/java.util.logging.FileHandler.pattern=logs/tigase.log, logging/tigase.useParentHandlers=true, logging/java.util.logging.FileHandler.level=ALL, logging/tigase.server.level=ALL, logging/tigase.xmpp.impl.level=ALL, logging/tigase.db.level=ALL, logging/tigase.cluster.level=ALL, user-domain-repo-pool=tigase.db.UserRepositoryMDImpl, auth-domain-repo-pool=tigase.db.AuthRepositoryMDImpl, user-repo-pool-size=10, data-repo-pool-size=10, user-repo-class=mysql, user-repo-url=jdbc:mysql://localhost:8889/tigase?user=root&password=root, auth-repo-class=tigase.db.jdbc.TigaseCustomAuth, auth-repo-url=jdbc:mysql://localhost:8889/tigase?user=root&password=root, ssl-container-class=tigase.io.SSLContextContainer, ssl-certs-location=certs/, ssl-def-cert-domain=default, config-dump-file=etc/config-dump.properties}

2013-08-16 22:10:08.697 [main] ConfiguratorAbstract.setProperties() INFO: Propeties size is 36, and here are all propeties: {component-id=basic-conf@corey-wilsons-macbook-pro-2.local, def-hostname=corey-wilsons-macbook-pro-2.local, admins=[Ljava.lang.String;@5801319c, scripts-dir=scripts/admin, command/ALL=ADMIN, logging/.level=CONFIG, logging/handlers=java.util.logging.ConsoleHandler java.util.logging.FileHandler, logging/java.util.logging.ConsoleHandler.formatter=tigase.util.LogFormatter, logging/java.util.logging.ConsoleHandler.level=WARNING, logging/java.util.logging.FileHandler.append=true, logging/java.util.logging.FileHandler.count=5, logging/java.util.logging.FileHandler.formatter=tigase.util.LogFormatter, logging/java.util.logging.FileHandler.limit=10000000, logging/java.util.logging.FileHandler.pattern=logs/tigase.log, logging/tigase.useParentHandlers=true, logging/java.util.logging.FileHandler.level=ALL, logging/tigase.server.level=ALL, logging/tigase.xmpp.impl.level=ALL, logging/tigase.db.level=ALL, logging/tigase.cluster.level=ALL, user-domain-repo-pool=tigase.db.UserRepositoryMDImpl, auth-domain-repo-pool=tigase.db.AuthRepositoryMDImpl, user-repo-pool-size=10, data-repo-pool-size=10, user-repo-class=mysql, user-repo-url=jdbc:mysql://localhost:8889/tigase?user=root&password=root, auth-repo-class=tigase.db.jdbc.TigaseCustomAuth, auth-repo-url=jdbc:mysql://localhost:8889/tigase?user=root&password=root, ssl-container-class=tigase.io.SSLContextContainer, ssl-certs-location=certs/, ssl-def-cert-domain=default, config-dump-file=etc/config-dump.properties, shared-user-repo=null, shared-user-repo-params=null, shared-auth-repo=null, shared-auth-repo-params=null}

2013-08-16 22:10:12.311 [main] SimpleCache.() WARNING: Tigase cache turned off.

2013-08-16 22:10:12.974 [main] VHostManager.setProperties() WARNING: {localhost=Domain: localhost, enabled: true, anonym: true, register: true, maxusers: 0, tls: false, s2sSecret: null, domainFilter: ALL}

2013-08-16 22:10:14.693 [main] SimpleCache.() WARNING: Tigase cache turned off.

Loading plugin: session-close=4 ...

Loading plugin: session-open=4 ...

Loading plugin: default-handler=4 ...

Loading plugin: jabber:iq:register=2 ...

Loading plugin: jabber:iq:auth=2 ...

Loading plugin: urn:ietf:params:xml:ns:xmpp-sasl=2 ...

Loading plugin: urn:ietf:params:xml:ns:xmpp-bind=2 ...

Loading plugin: urn:ietf:params:xml:ns:xmpp-session=2 ...

Loading plugin: jabber:iq:roster=4 ...

Loading plugin: jabber:iq:privacy=2 ...

Loading plugin: jabber:iq:version=2 ...

Loading plugin: http://jabber.org/protocol/stats=2 ...

Loading plugin: starttls=2 ...

Loading plugin: vcard-temp=2 ...

Loading plugin: http://jabber.org/protocol/commands=2 ...

Loading plugin: jabber:iq:private=2 ...

Loading plugin: urn:xmpp:ping=2 ...

Loading plugin: presence=4 ...

Loading plugin: disco=2 ...

Loading plugin: amp=2 ...

2013-08-16 22:10:18.967 [main] SimpleCache.() WARNING: Tigase cache turned off.

Loading plugin: message-archive-xep-0136=2 ...

MA LOADED = message-archive@corey-wilsons-macbook-pro-2.local

Loading plugin: msgoffline=2 ...

2013-08-16 22:10:19.484 [main] ConfigurationCache.store() WARNING: Dumping server configuration to: etc/config-dump.properties

2013-08-16 22:11:20.420 [ConnectionOpenThread] BoshIOService.() WARNING: Problem reading client access policy file: etc/client-access-policy.xml

java.io.FileNotFoundException: etc/client-access-policy.xml (No such file or directory)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(FileInputStream.java:120)

at java.io.FileInputStream.<init>(FileInputStream.java:79)

at java.io.FileReader.<init>(FileReader.java:41)

at tigase.server.bosh.BoshIOService.<init>(BoshIOService.java)

at tigase.server.bosh.BoshConnectionManager.getXMPPIOServiceInstance(BoshConnectionManager.java)

at tigase.server.bosh.BoshConnectionManager.getXMPPIOServiceInstance(BoshConnectionManager.java)

at tigase.server.ConnectionManager$ConnectionListenerImpl.accept(ConnectionManager.java)

at tigase.net.ConnectionOpenThread.run(ConnectionOpenThread.java)

at java.lang.Thread.run(Thread.java:680)

2013-08-16 22:11:20.430 [ConnectionOpenThread] SocketThread.() WARNING: 9 socketReadThreads started.

2013-08-16 22:11:20.434 [ConnectionOpenThread] SocketThread.() WARNING: 9 socketWriteThreads started.

2013-08-16 22:11:32.495 [ConnectionOpenThread] BoshIOService.() WARNING: Problem reading client access policy file: etc/client-access-policy.xml

java.io.FileNotFoundException: etc/client-access-policy.xml (No such file or directory)

I downloaded two different beta downloads and both of them did not come with the etc/client-access-policy.xml

I don't have a clue what to do.... Hope someone can help me!


Replies (7)

Added by Wojciech Kapcia TigaseTeam over 5 years ago

How are you trying to connect? With BOSH?

You can grab missing files (known, issue, will be fixed in next release) directly from the repository: https://projects.tigase.org/projects/tigase-server/repository/revisions/master/show/etc and try if that works.

Added by Corey Wilson over 5 years ago

I am trying to connect via Strophe w.

  1. XMPP proxy rule

ProxyRequests Off

ProxyPass /xmpp-httpbind http://localhost:5280/http-bind/

ProxyPassReverse /xmpp-httpbind http://localhost:5280/http-bind/

with a MySQL Database.

I tried copying all of the files over but still have get the same error. It seems to be identical to: http://www.tigase.org/content/cant-connect-tigase-52-beta

OP claims it was a "simple" configuration error.. maybe it is? I wish they would have just said what was wrong instead of what a "simple" fix it was :@

On a side note, if I try to connect and the password is incorrect - if I try to connect with an invalid password, it correctly returns . But If I have the correct password in, it returns the error. Maybe having the correct password just isn't supported ;-)

I've pasted what my console output looks like below:

Connecting to Server test.php:24

XHR finished loading: "http://localhost:8888/xmpp-httpbind/". strophe.min.js:1

​​

"incoming" test.php:48

​​

"outgoing" test.php:49

XHR finished loading: "http://localhost:8888/xmpp-httpbind/". strophe.min.js:1

​​

​​

​PLAIN​​

​ANONYMOUS​​

​​

​​

/stream:features

"incoming" test.php:48

Authenticating test.php:34

​YWRtaW5AbG9jYWxob3N0AGFkbWluAHY0cjJnNQ==​​

"outgoing" test.php:49

XHR finished loading: "http://localhost:8888/xmpp-httpbind/". strophe.min.js:1

​​

"incoming" test.php:48

​​

"outgoing" test.php:49

XHR finished loading: "http://localhost:8888/xmpp-httpbind/". strophe.min.js:1

​​

​​

​​

​​

​​

/stream:features

"incoming" test.php:48

​​

"outgoing" test.php:49

XHR finished loading: "http://localhost:8888/xmpp-httpbind/". strophe.min.js:1

​​

​​

​Feature not supported yet.​​

"incoming" test.php:48

Failed Account Authentication

Added by Wojciech Kapcia TigaseTeam over 5 years ago

Hi,

there was a bug related to processing request if the tag inside it was missing. It was fixed recently - you can either compile tigase-server from the repository or grab the latest nightly package and extract needed jar file.

Added by Corey Wilson over 5 years ago

WOW it works! =D You sir, are - amazing! After seeing the other persons comment with the same problem, saying how amazingly easy it was - I thought I was losing it! - thank you very, very, very much! =)

Added by Abhinav Gupta over 3 years ago

Hi Wojciech,

I am facing the same issue,

vostro@vostro-Vostro-3546:~/tigase/tclmt$ sh bin/tclmt.sh -u admin@blackbuck remote pubsub.blackbuck create-node Operations admin@blackbuck leaf

Nov 16, 2015 12:23:39 PM tigase.xml.db.XMLDB setupNewDB

INFO: Create empty DB.

awaiting response...

Errors: [feature-not-implemented]

PLease help me.

Attaching the log files.

Added by Wojciech Kapcia TigaseTeam over 3 years ago

Abhinav Gupta wrote:

Hi Wojciech,

I am facing the same issue,

This is not the same problem - this error can be generated by number of reasons...

Attaching the log files.

How did you setup the server? It logs a lot of exceptions!

It seems that you also missed 'ad-hoc' pubsub scripts from the installation!

2015-11-16 12:23:15.454 [in_15-message-router]  MessageRouter.processPacket()  FINEST:  1. Packet will be processed by: pubsub@vostro-vostro-3546, from=sess-man@vostro-vostro-3546, to=null, DATA=<iq xmlns="jabber:client" to="pubsub.blackbuck" from="c378a04b-e8a1-497e-97a3-02e3040306b6@blackbuck/tclmt" id="czb92"><command xmlns="http://jabber.org/protocol/commands" node="create-node"><x xmlns="jabber:x:data"/></command></iq>, SIZE=232, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=ANONYM, TYPE=null
2015-11-16 12:23:15.457 [in_7-message-router]  MessageRouter.processPacket()  FINEST:   Processing packet: from=pubsub.blackbuck, to=sess-man@vostro-vostro-3546, DATA=<iq type="error" xmlns="jabber:client" id="czb92" 

If you modify --debug to

--debug=server,xmpp.impl,component,component2,pubsub

it will give you more details.

Bottomline - please start with correcting your installation.

Added by Abhinav Gupta over 3 years ago

Hi Wojciech,

Thanks for taking the time to review the case and going through the files.

I have got it to work.

Appreciate your help.

    (1-7/7)