Quantcast
Viewing all 3154 articles
Browse latest View live

Openfire server crashed

I have installed and configured Openfire server in my Ubuntu system and crated many users who use spark to login. Recently due to power failure my system got reboted. After the reboot openfire is not working. When I try to open this page "localhost:9090/login.jsp" it is opening the setup page where it ask me to reconfigure the server from thefirst step i.e chosing language. While continuing there are some errors comming. I have attached the error log. How to rectify the problem. In case if I need to re-install openfire means, how to backup the users profile from the server ?


domain not working

I set up openfire on top of my webserver, I use sentora panel which a fork of zpanelcp and open souce webhost cp. Openfire works great when I just use the IP but im having a problem getting the domain to work. I use cloud flare for handeling my DNS. So when i point the subdomain that I created for openfire at the computers IP it outputs webhost cp and not the openfire. I have been googling and forum crawling for the better part of the day without much luck. How would I go about making the subdomain point to the openfire server?

 

system info

ubuntu 12.04 LTS

Creating a room programmatically 406 Error

I have happily been creating rooms via the XMPP framework for iOS for a couple of months. I installed the lastest openfire version 3.9.3 and while I can create a room either via my own config or just reflecting back the default room config as usual, invited users other than the owner/creator are now getting a "406 Modfiy not-acceptable" when they try and send a message after entering the room.

 

The only way around this is to adjust the room settings on the server and save the changes. In fact just "save changes" without changes to any room options will also fix the problem.

PEP features not support?

I am facing the same problem as this post described:

https://community.igniterealtime.org/message/241829,

 

 

PEP Service discovery with no feature

This question is Not Answered.

 

 

Hi everybody,

 

i tried to discovery from my client to my openfire server with this result:

 

 

REQUEST

 

<iq           from="1f9ccc8f978c5afc582ba8d1d0db4f98@chat.domain.com/8dcbb8ae”

          to="1f9ccc8f978c5afc582ba8d1d0db4f98@chat.domain.com

          type="get”

          id="DETERMINEPEPSUPPORT”>


          <query xmlns="http://jabber.org/protocol/disco#info”/>

</iq>



RESPONSE


<iq xmlns=“jabber:client"

        type="result”

        id="DETERMINEPEPSUPPORT”

          from="1f9ccc8f978c5afc582ba8d1d0db4f98@chat.domain.com

          to="1f9ccc8f978c5afc582ba8d1d0db4f98@chat.domain.com/8dcbb8ae”>

          <query xmlns="http://jabber.org/protocol/disco#info”>

                    <identity category="account" type="registered”/>

                    <identity category="pubsub" type="pep”/>

                    <feature var="http://jabber.org/protocol/disco#info”/>

          </query>

</iq>

 

it seems account is not enabled to pep service: how can i enable it?

 

Thanks,

Donato

 

 

 

 

 

 

I have try to set the" xmpp.pep.enabled" property to true and restart the openfire.Since that property not in the docs https://community.igniterealtime.org/docs/DOC-1061 . I doubt that will have any effect on it.But I try it anyway and I got the result.

Can someone explain why this is happening?

Got error "Duplicate entry " ,while making performance testing.

Got error "Duplicate entry " ,while making performance testing.

Could you tell me why?

 

here is the detail information:

com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'test2-63140' for key 'PRIMARY'

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

        at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)

        at com.mysql.jdbc.Util.getInstance(Util.java:384)

        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)

        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)

        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)

        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)

        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)

        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)

        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)

        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2334)

        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2262)

        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2246)

        at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)

        at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)

        at $java.sql.PreparedStatement$$EnhancerByProxool$$51ee3595.executeUpdate(<generat ed>)

        at org.jivesoftware.openfire.OfflineMessageStore.addMessage(OfflineMessageStore.ja va:156)

        at org.jivesoftware.openfire.OfflineMessageStrategy.store(OfflineMessageStrategy.j ava:154)

        at org.jivesoftware.openfire.OfflineMessageStrategy.storeOffline(OfflineMessageStr ategy.java:114)

        at org.jivesoftware.openfire.MessageRouter.routingFailed(MessageRouter.java:256)

        at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:257)

        at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:138)

        at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

        at org.jivesoftware.openfire.net.StanzaHandler.processMessage(StanzaHandler.java:3 66)

        at org.jivesoftware.openfire.net.ClientStanzaHandler.processMessage(ClientStanzaHa ndler.java:107)

        at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:220)

        at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:187)

        at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)

        at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)

        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

        at org.apache.mina.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)

        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

        at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)

        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:185)

        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

        at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)

        at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 895)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

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

Another wildcard SSL refugee

Hello:

 

We have an  Openfire 3.7.0 server on CentOS release 6.4 x86_64 and the following

domain_com_ee.crt

intermediate.crt

domain.key

apns-production-cert.pem

java version 1.7.0_25

 

I have these Ignite resources that I have been pouring over:

SSL Guide

How do I install a wildcard SSL certificate?

How to sucessfully import an existing StartSSL Cert & Key (Linux)

Import SSL Key and Certificate

Using Signed SSL Certificates in Openfire

ImportKey.class and ImportKey.java instructions

 

I have these non-Ignire resources that I have been pouring over:

Openfire and SSL/TLS Certificates - bigdinosaur.org

Securing Openfire Clients - bigdinosaur.org

Import private key and certificate into Java Key Store (JKS) -AgentBob

 

I have managed to get the domain_com_ee.crt  and intermediate.crt into OpenFire 3.7.0 as a GeoTrust Certificate.

but the client reports "errors" using their custom Spark Client. He didn't specify the nature of the "error" but I suspect that the client app simply needed to accept the "new" certificate.

When this occured, I noticed that a native Spark 2.6.3 client in Windows could not login with "Bad username, or password" message. Ports 5222 and 5223 both tried with the same result.

 

What must I do to get our wildcard RapidSSL certificate into openfire and the APNS certificate?

Will the clients' app need to accept the new certificate, as I suspect?

Will the clients' app need to be recompiled after coding it to use port 5223?

 

For the past 2 days, I have been working through CoolCat's post here... but it's 7 years old.

 

Thank you for your time.

File Transfer one-way or endlessly 'preparing' to send

I've not done anything to our server, IP, DNS

 

Now File Tranfers do not work anymore.

 

Been perfect for 18 months +

 

Mac OSX 10.7 latest

OSX Server

iChat ( most vreions)

 

Like I say, was fine, perfect, then just seemd to be one-way (out) then stopped.

All other services, ichat, text, vudeo, audio are fone ... just file Transfers dead.

 

Upgraded to Ignite 3.9.3, no change...

 

Help! Thx :-)

Users not populating from Openfire to Spark

Hello, I had Openfire 3.9.3 installed on Windows Server 2008. A few days ago, all the users who had previously shown up as being online in Spark are now no longer listed in Spark at all. They are not even showing up as offline. I can however, type their name in the bottom of spark to pull their profile up and then send them an IM. The Users information is populating in Openfire but the information is not making its way to Spark contacts. I spent a long time trying to resolve the issue and ended up uninstalling Openfire. I then attempted to reinstall the program but to no avail. I even tried to delete 3.9.3 and down grade to 3.9.1 as Google searches had indicated problems with Openfire and LDAP in 3.9.3 and 3.9.2 though they did not seem to be specific to my situation. Even with the older version installed, I still end up with Users in Openfire but nothing showing up in Spark (With the exception of the User who is logged into their own Spark client shows as being available).

 

 

PLEASE help. Thanks


How do I unsubscribe from Announcement emails?

I just got this email:

[Ignite Realtime] Announcement: Openfire 3.9.3 issue with LDAP groups

 

There's no unsubscribe link.

 

I've searched through my profile settings, I can't find an unsubsribe option.

 

Where do I unsubscribe?

openfire + ldap - user search restriction doesn't work (updated topic)

Hey guys,

 

installed the latest openfire by rpm, using embedded database and I did the setup to configurate openfire. Now what I need to do:

 

I got an AD with the Following structure:

 

  • Users
    • Test1
      • User001
      • ...
      • User010
    • Test2
      • User011
      • ...
      • User020

 

Now I wan't that openfire is creating groups Test1 and Test2 and user only see all other users of his OU ...

 

So User001 - 010 should be able to see themselfs but noone of them should see any user of Test2 ... same the other way around.

 

My problem is: I said only search users in their group on the server, and doesn't matter if I enable or disable searching users for clients, they are always able to search for users not in their group.

 

My config is basedn = OU=Users,DC=DOMAIN,DC=de and all other configurations are default. Ofc I entered a LDAP user - otherway this couldn't work Image may be NSFW.
Clik here to view.

503 Service Error

For anyone who encounters this...after wrestling with this for a bit, I just rebooted my system and the error went away. But what concerns me is not knowing what caused this in the first place. It was working. Then 503 out of nowhere. Does anyone know? Thanks.

double byte issue in non english windows

I m using simplifed chinese installed working well but when i copy words in winword of simplified chinese windows and then paste in spark,

the words especially the special characters will become double byte as shown on pic. But wndows to windows client no the problem.

Only mx lanugaes of windows / pure chinese windows .. ANY idea can fix it to single byte ?

Disable Unwanted Avatar/Profile Pic

Hi I m using openfire spark version 2.6.3. There is one problem which i facing from last 5 days. That in client side Avatar/Profile picture get changed automatically to unwanted pics. so is there any option to restrict user from changing avatar.

·    option to disable changing the profile picture

·    option to check from which IP the profile was changed

·    option to forcefully change the password.

 

 

Please suggest.

Feature request for contentFilter. Whitelist

Hi,

 

The contentFilter plug-in today have a combined black- and whitelist. For instance, by specifying

 

(?!cocktail) (?!cockpit).*c+[^a-z]*o+[^a-z]*c+[^a-z]*k+.*

 

you will blacklist all "cock"-ish words like “cock”, “cocksucker”, “cc1oo2cc3kk” and so forth, but leave the friendlier words "cocktail" and "cockpit".

 

My problem is that I have a huge blacklist containing several thousands patterns (using another chat-server we are migrating from). The number of whitelisted words are much smaller, but it is still problematic to find what regular expression in the blacklist to pre-fix with the corresponding whitelist word (e.g., you need to find .*c+[^a-z]*o+[^a-z]*c+[^a-z]*k+.*  and add (?!cocktail) (?!cockpit) to it, which is manual and error-prone).

 

One solution would be to explicitly use blacklist and whitelist. The whitelist will be checked after the current check, and override if matching. Is this something more people would like to see in future releases?

 

Another questions is regarding the size of the "blacklist". Is there another limit on it than provided by Java String (e.g., something imposed by the property handling of Openfire.).

 

Best regards,

Niklas

Messages

Hello all,

 

I am having the below issue:

 

When a resource on openfire is offline the messages for that offline resource go to the next online resource.

 

Is that a bug of OpenFire?


S2S using wrong domain name

Hi,

 

Last week i replaced my jabberd2 server with an OpenFire server and although the most functions are working. The server2server does not work.

 

My users are user@jabber.domain.com and the account on the other server is user@jabber.otherdomain.net. But when a user adds a friends to the contact list i get the following error in the logs

 

 

2014.08.19 13:12:02 org.jivesoftware.openfire.session.LocalOutgoingServerSession - Error trying to connect to remote server: otherdomain.net (DNS lookup: otherdomain.net:5269): java.net.ConnectException: Connection timed out

 

But it should look for jabber.otherdomain.net and not otherdomain.net. I didn`t not had this issue on jabberd2

Hazelcast Clustering Work but don't sync User/Group

Hi,

 

We are installing two openfire server on different internet link, locate and own postgresql database.

 

Both servers are communicate with other, but don't sync her users.

 

A create in the server1, this users: user1, user2 and user3.

A create in the server2, this users: user1.

 

All users are created using openfire manager.

 

When a log using user1 and put down server1, user1 moved to server2 automatically.

 

When both servers are UP, the user2 works in both server, because the server2 talk with server1 and ask about that user.

 

But if I stop the server1 the user2 don't be moved to server2, in the log of server2 show "unknow user".

 

A lookup about what neet to make hazelcase to sync the users and groups between this servers, not only auth then but recreate it in both servers.

 

I make a test about Hazelcast WAN Replication, but dont worked too.

 

Thanks for the attention.

 

====================================

 

This is my configuration on both server:

 

    <group>

        <name>openfire</name>

        <password>openfire</password>

    </group>

    <management-center enabled="false"/>

 

    <wan-replication name="my-wan-cluster">

        <target-cluster group-name="update1" group-password="openfire">

                <replication-impl>com.hazelcast.impl.wan.WanNoDelayReplication</replication-imp l>

                <end-points>

                        <address>187.61.175.107</address>

                        <address>187.119.48.130</address>

                </end-points>

         </target-cluster>

    </wan-replication>

 

    <map name="my-shared-map">

        <wan-replication-ref name="my-wan-cluster">

                <merge-policy>hz.PASS_THROUGH</merge-policy>

        </wan-replication-ref>

    </map>

 

    <network>

        <join>

                <multicast enabled="false" />

                <tcp-ip enabled="true">

                        <member>187.61.175.107</member>

                        <member>187.119.48.130</member>

                </tcp-ip>

                <aws enable="false" />

        </join>

        <interfaces enabled="true">

                <interface>187.61.175.107</interface>

                <interface>187.119.48.130</interface>

        </interfaces>  

    </network>

Openfire password forgotten - database hidden!

Hello all

 

I have set up an openfire server two months ago and I have forgotten if I had used the built-in database or my MySQL server on localhost.

I am using Windows Server 2012 on Amazon EC2 with XAMPP (Apache & MySQL)

 

When I turned off my MySQL database and when i try to login to openfire web console, the web page keeps on loading and doesnt stop. That should mean that my openfire server is using MySQL. I have tried this multiple times, which confirmed that fact.

 

When I try to view the databases in my MySQL using the mysql console (on cmd), only two irrelevant databases are shown.

 

I need to know where my openfire database is, because i have lost the password.

 

Thanks

Victor

Need to transfer file to agents from webchat

I am using webchat for customer and spark for agents. now  I want my customer to transfer file to agent using webchat, Is it possible, any help is highly appreciated.

Executing Ad-Hoc Command in External Component

Hi,

 

I am trying to create an external component in which I need a lot of admin level information, like the list of active users in a group, registering a user, get presence of active users, etc. After reading a lot, I found that an ad-hoc command can do lot of this stuff. For this I am sendong an IQ to openfire, but I am receiving 403 error (forbidden). Below is the IQ I am sending:

 

<iq type="set" id="372-0" to="im.localhost.com" from="admin@component.im.localhost.com">

  <command xmlns="http://jabber.org/protocol/commands" action="execute" node="http://jabber.org/protocol/admin#get-active-users-num"/>

</iq>

 

Am I missing something or do I have to create an internal component to get all this information?

Viewing all 3154 articles
Browse latest View live