Quantcast
Channel: Ignite Realtime : All Content - Openfire Support
Viewing all 4778 articles
Browse latest View live

Problem encoding characters

$
0
0

Hello.

I'm using Openfire 4.1.4.

I noticed a strange problem.

Adds a new user. Writes the name in which there are national characters (PL). After checking all the characters are normally visible.

After some time eg 10 minutes all national signs are change by ? char

Please help.

Regards.


How to load test Openfire with Clustering?

$
0
0

Once you have installed Openfire Enterprise 3.4.0 and clustering is enabled you are ready to load test the server. Load testing a server means that we are going to simulate thousands of users connecting to the server and generating a lot of traffic to the server.

 

The first step of a load test is to define the goals that you want to achieve. That means that you will need to know how many concurrent users you will have in your installation, the traffic that they will generate and the expected response time. More precisely, you have to figure out frequency users will change their presences, send messages, ask vCards or join rooms. Once you have defined your expected load and expected results you are ready for the next step which is Create User Accounts.

 

To create user accounts you need to start Openfire in a single node, install the plugin and follow these steps:

  1. Log into the Admin Console and go to Users/Groups -> Users Creation

  2. Specify a User prefix for example "usr". In this example, the script will generate accounts of the form: usr0, usr1, usr2, usr3, etc.

  3. Specify the number of users to create and the amount of contacts in roster.

  4. Let the script run. The script will run in background and it will print in the stdout the progress of the user creation. Note that creating hundreds of thousands of users may take some hours.

 

Finally, you need to setup the the load clients. Follow these steps:

  1. Define how many linux machines you are going to use. Note that each linux machine may simulate 60K concurrent users. If you are using many network interfaces it's possible to generate 60K per network interface. You might need to fine tune your linux box to be able to generate 60K connections.

  2. For each machine that will run the load test script you will need to:

    1. Create a folder and download , , , and . Unzip on your working directory

    2. Edit the OpenfireClusterStressTest.xml file

      1. Set amount of users to simulate. All load clients should use the same amount

      2. Set the user prefix to use. This value should match the one used in the userCreation plugin. In our example we used: "usr"

      3. Set startUser to define range of user accounts to use. For example if it is set to 100, the first user to login is usr100, then usr101 and so on. Make sure that each node is using a different range of accounts.

    3. cluster.node: Specify the IP address of hostname of each cluster node that is part of the cluster. Create a new node in the XML file for each cluster node

    4. Make sure that server matches the XMPP domain being used by Openfire. You can get this value from the main page in the admin console.

 

Execution
  1. Startup the openfire cluster (this includes your cluster nodes)

  2. Run startup.bat for Windows or startup.sh for Linux in each load client

  3. The stress test progress can be seen in the file clustertest.log and also in the openfire console admin

  4. Once all users have logged in the stress test will continue generating traffic until you stop it. Hit any key to stop the load test script.

 

Problems or questions should be posted to the discussion forums.

Configuring multiple groups in BASE DN

$
0
0

Hello, tell me please how to specify in BASE DN several groups
There are 3 groups allowed:
1) group1
2) group2
3) group3
All in the same domain
I am writing OU = Group1, OU = Group2, OU = Group3, DC = test, DC = en
It gives an error!
writing
OU = Group1, DC = test, DC = en
everything is working
I also want to know how to make 3 groups - what would you open and in the tree was distributed across the Group
eg :
Group1
     -user11
     -user12
     -user13
Group2
     -user21
     -user22
     -user23

etc

My iOS app not working with Citrix MDM Secure Hub

$
0
0

Hi,

 

When i am trying my app without Citrix MDM its working fine, but With MDM even not authanticating.

 

anyone got same issue, need help.

 

Thanks

Owais

Openfire crashing every few days after upgrading to ubuntu 16.04 (raspberry pi)

$
0
0

I decided to upgrade to Ubuntu 16.04 form 14.04 on my pi 2, after doing a fresh install of Ubuntu 16.04 LTS 'classic' openfire has started crashing every few days.

Looked through the logs and i did not see any error messages on why it crashed.

 

Setup-

raspberry pi 2

Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-1052-raspi2 armv7l)

Java Version 1.8.0_121 Oracle Corporation Java HotSpot(TM) Server VM

ARM/RaspberryPi - Ubuntu Wiki

Login failed: make sure your username and password are correct and that you're an admin or moderator.

$
0
0

I'm trying to login as admin and getting following message:

Login failed: make sure your username and password are correct and that you're an admin or moderator.

/opt/openfire/logs/all.log:

2017.04.21 17:33:41 WARN  [Jetty-QTP-AdminConsole-29]: org.jivesoftware.admin.LoginLimitManager - Failed admin console login attempt by admin from X.X.X.X

My environment:

# rpm -q openfire

openfire-4.1.3-1.noarch

# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 6.8 (Santiago)

# uname -a

Linux X 2.6.32-642.15.1.el6.i686 #1 SMP Mon Feb 20 02:29:10 EST 2017 i686 i686 i386 GNU/Linux

#

I remember password as I wrote it down, however I even tried to reset my password, still unable to login(

mysql> UPDATE ofUser SET plainPassword='X', encryptedPassword=NULL WHERE username='admin';\G

Query OK, 0 rows affected (0.00 sec)

Rows matched: 1  Changed: 0  Warnings: 0

 

ERROR:

No query specified

 

mysql>

Please advise.

Thanks in advance!

Openfire 4.1.3 not broadcasting presence updates to roster members

$
0
0

I have built a system that uses the OpenFire XMPP server to relay presence and "command" messages in an IoT sort of environment. There are devices that monitor various sensors and update their XMPP presence so that other, central, management dashboard devices can show that information in a realtime display at a central management station. All of the devices (the "remote" monitoring devices as well as the central management station) belong to the same group and are in each others' "roster." We are using the RESTAPI plugin for creating users and groups and managing the group membership. Everything generally works very well. The monitors and management stations are Android tablets. The monitors are written in Java using the Smack library, where the management stations are written in Xamarin.Android and use the Matrix XMPP library.

 

Occasionally, we will see that the presence updates from some (but not all) of the remote monitor devices will not be reflected on the management station, but they are reflected on the "Sessions" view in the OpenFire management console. We intercept the raw incoming and outgoing XMPP XML fragments on the management station device and output them on the android log to see the actual XMPP stanzas come over the wire, and when this behavior occurs, the management stations simply do not receive the presence stanzas from the affected remote monitoring devices. Sometimes, everything will snap back into place after a period of time. Other times, simply restarting the management station app will get things back working.

 

I am well and truly stumped by this behavior and don't really know where to start to look for a possible cause. The OpenFire logs (error, warn, info, debug) don't appear to be too much help, either.

 

Any suggestions on how to better instrument our apps or how to decipher the OpenFire logs would be most helpful.

 

Thanks,

Matthew

Problem accessing /login.jsp

$
0
0

Hi, I am trying to setup Openfire 4.0.0 source using Eclipse Mars. I have followed the guide on Openfire SVN + Eclipse 3.3 + Subversive Installation Guide . After using ant build and then following the guide to create the Run configuration, i successfuly managed to run the console at http:localhost:9090 but when i access the URL i get this error
:

HTTP ERROR 404

Problem accessing /login.jsp. Reason:

    /login.jsp

 


Powered by Jetty://

 

 

I have tried searching whole community for answers and tried almost every solution provided but all in vain./


Can you guyz figure out whats causing the issue?

 

Also the URL turns to http://localhost:9090/login.jsp?url=%2Findex.jsp from http://localhost:9090/login.jsp after entering.


How can i connect 2 OpenFire Server?

$
0
0

Hello team, I have 2 openfire server with LDAP in our organization, we need use option Server to Server, i´d add both in inbound connection, how can i those server sync beetween? , because new server in working as a standalone, can you help me about this...?

Jose

Thanks

How to rid exception of HttpConnectionClosedException

$
0
0

Hi All,

 

Getting below exception,

org.jivesoftware.openfire.http.HttpBindServlet - Error sending packet to client.

org.jivesoftware.openfire.http.HttpConnectionClosedException: The http connection is no longer available to deliver content

 

While I did some google and found some suggestions,

xmpp.client.processing.threads set it to 64

xmpp.httpbind.worker.threads set it to 256

 

Still getting the same exception.

 

Any help or suggestion.

 

Best,

AKS

Problem run Openfire server

$
0
0

I have problem to run OpenFire Server - OpenFire is running but clients with Spark does not working connect.

Please for help this problem.

ScreenshotSnímek obrazovky 2017-06-23 v 15.53.39.png

Update from 3.9.0 to 3.9.1

$
0
0

Hi! After updating to Openfire from version 3.9.0 to 3.9.1, users can not connect to the server. What can be wrong?

getResponceBodyAsStream warning.

$
0
0

Hi

Ref; code from " Professional XMPP Programming with JavaScript and jQuery" with modified hello.html: Cho3 L7 - 12

  <link rel='stylesheet' href='http://130.240.231.176:8081/JQuery/jquery-ui-themes-1.7.2/themes/cupertino/jquer y-ui.css'>

    <script src='http://130.240.231.176:8081/JQuery/jquery-1.3.2.js'></script>

    <script src='http://130.240.231.176:8081/JQuery/jquery-ui.js'></script>

    <script src='../scripts/strophe.js'></script>

    <script src='../scripts/flXHR.js'></script>

    <!-- <script src='../scripts/strophe.flxhr.js'></script> -->

 

OpenFire vers 4.1.4.  and geting this warning in the log.
´"2017.06.22 21:37:38 WARN  [Update Manager]: org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

 

Seems to send the JID with pwd and then the execution seems to halt and the debugger ( chrome . Consol ) oututs Post http://130.240.202.137:7443/http-bind net. :: ERR_EMPTY_RESPONCE strope.js:2617

 

PS:using port 7443 ( The port used for secure HTTP client connection ).

Should I turn to port 7070? ( The port used for unsecure HTTP client connection. ).

 

Any tips on where to look / modify.

 

BG

Sven-Erik Tiberg

Migrate openfire to new server

$
0
0

So we have a simple setup, using the embedded DB with about 15 users. I stopped the service on the old server and installed Openfire on the new server. I copied the Embedded DB folder and ran openfire on the new server but it wants me to go through the setup but at the last step it crashes. I cannot login with a client even after I change the server name to the new server on the workstation. I already opened port 5222 on the new server. Java plugin is installed on the server.

 

Capture.PNG

SSL handshake failed on Openfire 4.1.4

$
0
0

I have a conversations application on my phone. it perfectly works with Openfire 4.0,1 however when i use newer version of openfire I cannot connect anymore. here is what i get from connecting to Openfire 4.1.4

 

2017.06.26 21:15:47 INFO  [socket_c2s-thread-2]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'CRAM-MD5' SASL mechanism.

2017.06.26 21:15:47 INFO  [socket_c2s-thread-2]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'GSSAPI' SASL mechanism.

2017.06.26 21:15:47 INFO  [socket_c2s-thread-2]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'JIVE-SHAREDSECRET' SASL mechanism.

2017.06.26 21:15:47 WARN  [socket_c2s-thread-2]: org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00000002: nio socket, server, /192.168.1.104:44784 => /192.168.1.104:5222)

javax.net.ssl.SSLHandshakeException: SSL handshake failed.

    at org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:487)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)

    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapte r.java:109)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(Defau ltIoFilterChain.java:410)

    at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoP rocessor.java:710)

    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPolling IoProcessor.java:664)

    at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPolling IoProcessor.java:653)

    at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPoll ingIoProcessor.java:67)

    at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractP ollingIoProcessor.java:1124)

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

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

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

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

Caused by: javax.net.ssl.SSLException: Received fatal alert: certificate_unknown

    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)

    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1646)

    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1614)

    at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1780)

    at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1075)

    at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:901)

    at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:775)

    at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)

    at org.apache.mina.filter.ssl.SslHandler.unwrap(SslHandler.java:728)

    at org.apache.mina.filter.ssl.SslHandler.unwrapHandshake(SslHandler.java:666)

    at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:552)

    at org.apache.mina.filter.ssl.SslHandler.messageReceived(SslHandler.java:351)

    at org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:468)

    ... 15 more

 

any idea how to solve this?


Openfire on Server 2012 / User Cals needed?

$
0
0

Good morning to all,

 

I would like to migrate my Openfire Installation from a Ubuntu System to WIN2012 Server. Maybe what I am asking sounds stupid, but do I need to buy Microsoft USER CAL Licences for all the registered User in my Openfire, so they are allowed to communicate with the WIN Server? Would be pretty expensive I guess.... :-)

 

Thanks for your help in advance...

 

Cheers

Find IP by username.

$
0
0

Hello.

How can I find IP by username? I like to find the IP address of my clients that connected to my OpenFire server.

 

Thank you.

openfire_4.1.4_all.deb won't install

$
0
0

I'm trying to install openfire 4.1.4 on ubuntu 16.04.  I'm getting the following error:

 

dpkg-deb: error: 'openfire_4.1.4_all.deb' is not a debian format archive

dpkg: error processing archive openfire_4.1.4_all.deb (--install):

subprocess dpkg-deb --control returned error exit status 2

Errors were encountered while processing:

openfire_4.1.4_all.deb

 

 

I also checked the sha1sum and it is different from the download page.

Is the site supplying the right file?

 

My   sha1sum: 49ad85d47583bbc7df136142753027335fe87427 openfire_4.1.4_all.deb

Site sha1sum: 83bf090c07daeacb59a97ddade1cd76c1dbb3030 openfire_4.1.4_all.deb

Can't connect to Openfire server in different subnet

$
0
0

OK, here are the specifics of my inquiry:

 

My Openfire server is the latest release and is located in subnet A.

My Spark IM client is the latest release and is located in subnet B.

 

I can't connect to the Openfire server in subnet A from any workstation in subnet B; however, I can connect to the Openfire server in subnet B if I connect my workstation directly to a switch located in subnet B.

 

Firewalls and antivirus are both disabled on my admin PC (subnet B) and the Openfire Server (subnet A). Running Wireshark on my admin PC, I see TCP Spurious Retransmission errors; however, when running Wireshark on the Openfire Server, I do not see anything hitting my Openfire Server on port 5222. Running Netstat on my Openfire Server, I confirmed that it is listening for traffic on port 5222. Our Sonicwall is not blocking anything between subnets A & B. I can successfully connect via Telnet to the Openfire Server on port 5269, but it fails if I try to connect on port 5222. I can ping the Openfire server from my admin PC. I can also access the admin console via ports 9090 & 9091 and I can RDP to the Openfire Server.

 

domainname.local = my local Active Directory domain name.

XMPP Domain = servername.domainname.local

Server Host Name (FQDN) = servername.domainname.local

 

I created SRV records for xmpp-client and xmpp-server under my Active Directory domain name in DNS even though I've been told that because both the XMPP domain name and the FQDN are the same that I wouldn't need to.

 

Anybody got any ideas? I've pretty much exhausted all ideas I have.

LDAP: error code 8 - BindSimple: Transport encryption required.

$
0
0

Boa Noite,

 

Estamos tentando integrar o Openfire com o Samba4, porém, ao realizar teste de conexão está apresentando esta mensagem de erro:

 

[LDAP: error code 8 - BindSimple: Transport encryption required.]

 

Alguém poderia me ajudar.

 

Desde já agradeço,

 

Abraço a todos.

Viewing all 4778 articles
Browse latest View live