Quantcast
Channel: Ignite Realtime : Discussion List - Openfire Support
Viewing all 4596 articles
Browse latest View live

Server 2012 R2 Certificate Import

$
0
0

Afternoon,

 

I am relatively new to OpenFire but am loving it so far. I am working with Windows Server 2012 R2 and SSL  and having a bit of a rough time with the set up. Does anyone have a good Windows guide to go with Openfire 4.1.5 for SSL set up for client connections?

 

I've read through some of the items I could find, but nothing really hit home with the older versions / different windows versions.

 

Help?

 

Thanks,

 

SB


Login

$
0
0

Hello When the user opens the xmpp link and logs in, which method will drop the first instance?

User unable to connect to conference rooms, but shows multiple instances of nickname

$
0
0

I have a user who is unable to connect any conference room, receiving an error message of "Unable to join room at this time: No response from server."

 

In one of the conference rooms, other users see multiple copies of the errored user as 'nickname', 'nickname 2', 'nickname 3', 'nickname 4', and 'nickname 5'. In another conference room, the errored user is seen as 'nickname 3' and there are no duplicates.

 

When I look at the admin console, the first room shows just one instance of the errored user as 'nickname 5' and the second room shows one instance as 'nickname 3'.

 

Where can I look to find out what's causing this issue?

Upgrade issues related to database

$
0
0

I am running 3.9.1.  I previously had tried to upgrade past this a couple years ago, but couldn't get it to work.  See here:  OpenFire 3.9.2 upgrade issues

 

I'm now trying this again with a newer version of 4.1.5.  I have a test VM so I can play around with the settings, but I stop the service, run the install as administrator.  I answer Yes to overwriting any files during the install.  After, I can't start the OpenFire service.  I get the following error.

 

2017.08.16 15:24:02 org.jivesoftware.openfire.XMPPServer - java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property.

java.lang.IllegalArgumentException: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property.

 

I've tried copying the ntlmauth.dll (x86) from jtds 1.3.1 so C:\Windows\system32 and restart the server, but that doesn't fix it.  How can I get this library to load or connect to the database?  I'd really like to get upgraded to a newer version of OpenFire.

 

My openfire.xml has this:

jdbc:jtds:sqlserver://[servername]/openfire;appName=jive;instance=SQLEXPRESS

 

I've tried putting the port number behind servername, but I don't think it's getting that far and that hasn't fixed the problem.  Everything works great in 3.9.1, so I can't figure out what the issue could be at this point.

Openfire 4.1.5, workgroup Form : NullPointerException

$
0
0

Hi all,

I' try to use the fastpath plugin, this is pretty good.

 

But everytime I restart the OpenFIRE server, I have one NPE when i edit the workgroup by its name (page workgroup-queues.jsp?wgID=demo@server) from Fastpath tab.

 

Exception:

java.lang.NullPointerException 
     at org.jivesoftware.openfire.plugin.fastpath.workgroup_002dqueues_jsp._jspService(workgroup_002dqueues_jsp.java:486)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
     at org.jivesoftware.openfire.container.PluginServlet.handleJSP(PluginServlet.java:388)
     at org.jivesoftware.openfire.container.PluginServlet.service(PluginServlet.java:103)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
     at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:226)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:165)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
     at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:76)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:53)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:226)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:165)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
     at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
     at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
     at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
     at org.eclipse.jetty.server.Server.handle(Server.java:499)
     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
     at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
     at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
     at java.lang.Thread.run(Unknown Source)

 

Anyway I can edit the workgroup by using Members link, then follow the link to the group name (page workgroup-properties.jsp?wgID=demo@server).

Then I follow Form UI, save not change, and now workgroup edition/view is fine.

 

No other logs from OpenFire server.

Any idea ?

 

Regards,

Fred

Openfire error-cannot connect

$
0
0

This is the error message I get when I try to connect to the Openfire server.  Because of this none of the Spark users are able to log in.  I have uninstalled Openfire and then reinstalled it on the same PC but that also didn't fix it and I am wondering now if I have to reconfigure things since I did that.

Setting up FQDN to something besides the host server

$
0
0

I have an openfire server up and running for Spark. Initially I had it set for users to connect to the host server FQDN of servername.xxx.local. But I want to change it so it's more user friendly for them, I decided to make it chat.xxx.local.

 

I made a A name record so DNS will resolve chat.xxx.local to 192.168.0.11 which is the server. I changed the FQDN to the new record and it told me success... but I'm seeing an error on the status page and it won't connect with chat and only the server name.

 

What steps am I missing? See screenshots. Thanks!

HTTP ERROR 500

$
0
0

I have recently ran into this issue when trying to login to the Openfire admin portal. I have seen similar problems on other websites and forums 's, but could not find a fix. I am using linux Ubuntu 14.06 to host Openfire, It has been working for almost a yer now until today. I'm very new to the administration and maintenance side of Spark and Openfire.  I would like any answer or possible solution to this problem. thanks 

HTTP ERROR 500

Problem accessing /index.jsp. Reason:

    Server Error

 

Caused by:

java.lang.NullPointerException

at org.jivesoftware.openfire.admin.index_jsp._jspService(index_jsp.java:173)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1669)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:76)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:53)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:80)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:162)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:22 3)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:11 27)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185 )

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:106 1)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:215)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:110)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.Server.handle(Server.java:499)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

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


OpenFire Single Server Load Testing 120,000 Concurrent Connections

$
0
0

Update 12/18/2015 (This original test was for 80,000 users online concurrently. Update is now 120,000 but with no rosters.)

 

Openfire 3.10.3

(These servers are 6 years old)

OpenFire Server specs: Windows 2012 R2 Server. 64 bit java.
Running OpenFire as a background service. Dual CPUs (Intel Xeon L5420 2.50GHZ. 24GB RAM)

SQL Database Server: Windows 2008 R2 with SQLExpress 2012 (free version of SQL). 8GB RAM Single Xeon E5420 CPU 2.50GHZ

Both servers are using Samsung 850 120GB SSD hard drives. The SQL server has an additional 120GB SSD (D Drive) for the openfire SQL database.

Both servers are not using RAID currently just single drives.

 

OpenFire Server:

NIC#1 WAN IP Address (3 Linux CentOS Tsung test servers connecting to this IP for the load testing)

NIC#2 LAN  IP Address (Used to connect to a Windows 2008 R2 SQLExpress database for OpenFire via LAN in the same room)

SQL server showed almost no cpu usage the entire time. It appeared to be idle for the most part. It handled all requests easily.

 

Test #1

5-15 roster "friends" for 40k random users. No rosters for other 40k random users.

15 logging in per second with initial presence and roster updates.

72,000 online = 32% cpu

I logged in with spark on my own PC quickly, no delay and roster was updated right away.

 

1.png

 

Test #2

5-15 roster "friends" for 40k random users. No rosters for other 40k random users.

22.5 users logging in per second with initial presence and roster updates.

10k online 5% cpu

20k online 10% cpu (2gb ram used for java in openfire)

30k online 15% cpu (2gb ram used for java in openfire)

40k online 18% cpu  (2gb ram used for java in openfire)

79k online 50% cpu (2gb ram used for java in openfire)

80k online 4% cpu after no more users logging in and no more roster/presence updates

I logged in with spark on my own PC quickly, no delay and roster was updated right away.

 

2.png

 

Same as above, just higher cpu usage

5-15 rosters for 40k users. No rosters for other 40k

30 logging in per second with initial presence and roster
updates

Tested once and was using just over 2GB RAM used for java in
openfire. 2nd test used 4GB RAM used for java in openfire

79k online 70% cpu (2gb ram used for java in openfire.

80k online 4% cpu after no more users logging in and no more roster/presence updates

 

4GB on a second time running this test. OpenFire cache was using this extra RAM so I believe the previous tests caused this memory to be used and not released.

After I stopped the OpenFire service and restarted it, the cache cleared and it ran again with 2GB being used

I logged in with spark on my own PC quickly, no delay and roster was updated right away.

 

2222.png

 

11.png

 

Settings:

 

22.png

222.png

CONCLUSION:

If you can manage how many client connections per second are connecting to your server, even some old hardware like I have will do just fine. I should easily be able to do over 150k or 200k assuming I can manage the speed in which users are trying to reconnect which in my case I can because I have a custom jabber client program that all of my users will be using. I wrote a program similar to TeamViewer and Logmein and I use OpenFire to handle the accounts and use the awesome REST API via my webserver where users can sign up and pay for my remote control pc software and choose a plan such as 5 PC license, 10 PC license etc. When they create their account the php script uses REST to send the proper command to the OpenFire server which creates and manages the users and their rosters. I also allow people to share their PCs with other users via the website which again uses REST to modify the rosters of those accounts.

 

I wanted to see if OpenFire had what it takes to do what I needed without having to purchase a bunch of servers frequently as the user base grew.

 

I have 4 of these servers and setup the cluster which was also working but I only had 3 additional servers which had Linux CentOS and Tsung installed for the load testing. Each of those servers seemed to cap out at around 27,000 test users concurrently which is why I could only get around 80k in this test. The testing above was not on the cluster, it was only on a single server.

 

So if you had 4 of these servers ($150 on ebay) and an additional server for load balancing such as one with Linux and HA Proxy, you could send a lot more requests per second.

 

The other thing to note is that I did a test with 150 users per second logging on and I think by 25k or so online the cpu usage was getting very high and hit 100% soon after if I recall. This was on the same exact server mentioned above.

 

It is these connections per second that really put pressure on the server and I'm sure if they had even larger rosters, that would compound the issue and add more stress. If you could find a cheap 16 core or 24 core server that is also several years old, I think it would be able to handle 150-200 connections per second with the test I did above. If I had one of these servers I would test it but I do not.

Workgroup with External Component

$
0
0

Hi all,

 

Do you know how to register an External Component as a user of a Workgroup queue or create a Workgroup using the EC subdomain ?

 

Thanks for any feedback

Regards,

Fred

How can I record audio and video @ openfire meeting 0.9.x?

Openfire server archive issue.

$
0
0

Hi guys.

 

I'm using openfire server and I've got a issue.

 

As you see, the server archive show clear character when I choose a dialog.

 

 

2.PNG

 

 

 

 

but The problem occurs when I click 'view PDF'.

 

3.PNG

 

In the pdf, the character disappeared.

 

Does anyone know the solution about this?

Login problem (LDAP/SSO)

$
0
0

Hello

according to the description of the configuration sso from this page Openfire XMPP Server on Windows Server 2012 R2 with Spark SSO.pdf - Google Drive I did everything the way it is written. Unfortunately I have a problem with logging on in the program spark. No matter whether SSO is enabled or not. All the time I am getting information that I gave the incorrect login or password. I can log into the control panel without any problem. Openfire 4.1.5 and Spark 2.8.3. Do you have any idea?

Error log in spark is empty ;(

 

regards

Kuba

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

[DÚVIDA] Configuração Openfire+Spark

$
0
0

Boa tarde,

tenho como objetivo implementar o Openfire+Spark na rede de minha empresa, visão um chat local,

segui os seguintes passos: Configurando servidor OpenFire no Windows ~ Administração de Ti

Porém, não consigo criar usuário através do Spark, e se crio um usuário através do console do localhost, o mesmo não conecta no spark.

Na hora de tentar logar no spark, coloco o servidor exatamente como configurei no localhost, porém, não tenho sucesso, informa que o servidor está incorreto.

Alguém pode me ajudar?

 

Obs: Já estou com o FIREWALL desativado.


Openfire + Spark + Xabber configuration

$
0
0

Hi everybody. At first I want to say "Thank you so much!" to developers of Openfire and Spark.

The second I want to ask community about help with my task.

I need to install and configure XMPP server as corporative chat for my company so I decided to pick Openfire and Spark combination. In addition there are is a couple workers with Android smartphones which should be connected to XMPP server to via 3G\4G.

 

I've done such steeps:

-installed Linux server

-installed Openfire

-went to admin console and configured mysql and local hostname and fqdn names. They were the same as server's hostname. Name was something like "lin-test".

All works fine (server, logs, plug-ins, encryption) inside local network but when I tried to connect clients with Android devices (Xabber) problems started. I forwarded 5222 port through my router and tried to configure mobile xmpp client for using my DDNS address. But it's was impossible to connect from outside using mobile client. There was a record in log file:

Will not route: Remote domain myddns.afraid.org is not accessible according to our configuration

 

When I tried co connect from outside using Spark it was successfully connection except I have to remove checkbox "Disable certificate hostname verification" in Spark configuration.

After that I reconfigured my Openfire server from the beginning and used my DDNS record instead of Linux server hostname. After such manipulations I've got reverse problem: it's becomes possible to connect via Xabber (but encryption should be disabled) from Internet. But clients from local network can't connect without removing checkbox "Disable certificate hostname verification".

 

So I have 2 questions:

How to force Xabber work with encryption?

And how should I configure my router and_or Openfire properly?

Unable to Log Into Admin Portal

$
0
0

Hello,

 

I am unable to log into the admin portal for the openfire install after restarting the service. I was able to prior to that and it was reading my AD admin credentials fine. I restarted the service but am unable to log back in as an admin.

 

CentOS7, fresh install.

 

Help?!

 

Thanks,

 

Shane

Openfire error-cannot connect

$
0
0

This is the error message I get when I try to connect to the Openfire server.  Because of this none of the Spark users are able to log in.  I have uninstalled Openfire and then reinstalled it on the same PC but that also didn't fix it and I am wondering now if I have to reconfigure things since I did that.

Issue with Push notification?

$
0
0

Hi,

I was wondering if someone else has had this issue before? Currently I have Openfire Version 3.10.2 and so far everything was working well, until today I was not getting push notification using the APP IM+, i was trying to see why and saw that on the sessions my login show as priority number 5 while other users which are using spark are getting a 1. Then i downloaded another Called AstraChat did the test and was getting the push notification and shows as priority 1. Any ideas to get that priority again on IM+? or what could be this issue?

 

Thank you

 

Clipboarder 2017 08 23 — imgbb.com

Unable to upgrade to 4.1.5

$
0
0

Good Morning,

 

I was just trying to update to 4.1.5 and half way through I the install I got the following message

 

could not delete C:\Program Files (x86)\Openfire\jre\lib\ext\dnsns.jar

Could not create this file. Shall I try again:?

 

I am running the installation as Administrator

Viewing all 4596 articles
Browse latest View live