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

Trying update openfire from 3.8.2 to 4.1.4

$
0
0

I'm trying to update openfire from 3.8.2 to 4.1.4 on Windows by exe-installer.


Db was updated from version 21 to version 25. Server running, but admin console retured error shown here:

HTTP ERROR 500

 

Problem accessing /index.jsp. Reason:

 

    Server Error

 

Caused by:

 

java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletCon text;)Ljavax/servlet/jsp/JspApplicationContext;

    at org.jivesoftware.openfire.admin.index_jsp._jspInit(index_jsp.java:81)

    at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:79)

    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)

    at org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:472)

    at org.eclipse.jetty.servlet.ServletHolder.ensureInstance(ServletHolder.java:767)

    at org.eclipse.jetty.servlet.ServletHolder.prepare(ServletHolder.java:752)

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

    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(Unknown Source)

What I'm doing wrong?


Openfire crashing frequently

$
0
0

I am using openfire 4.1.1 (with bosh - http-bind) on a 4 core, 16 GB ubuntu server.

Total users on openfire are about 3k, while active users at a time being around 1k.

Recently, we have been facing issues where the openfire crashing frequently (2-3 times a day) and a simple restart fixes it and makes it working.

At the time of the issue, we have the following entries in the log files:

warn.log :

org.eclipse.jetty.server.ServerConnector -

java.io.IOException: Too many open files

at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)

at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)

at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)

at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:377)

at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java: 500)

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:748)

 

error.log

org.jivesoftware.openfire.audit.spi.AuditorImpl - Internal server error

java.lang.NullPointerException

at org.jivesoftware.openfire.audit.spi.AuditorImpl.ensureMaxDays(AuditorImpl.java: 299)

at org.jivesoftware.openfire.audit.spi.AuditorImpl.access$100(AuditorImpl.java:60)

at org.jivesoftware.openfire.audit.spi.AuditorImpl$SaveQueuedPacketsTask.run(Audit orImpl.java:382)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

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:748)

 

The file descriptors limit on this machine is 1 million.

Also, I have set "xmpp.audit.active" to false, then why it is going to org.jivesoftware.openfire.audit.spi.AuditorImpl piece of code.

Server details :

Java Version: 1.8.0_131 Oracle Corporation -- OpenJDK 64-Bit Server VM

Appserver: jetty/9.2.z-SNAPSHOT

 

If anyone is aware of this or has any ideas, please help!

I Cant login to Openfire Administrator console, neither I Cant login to Spark´s users

$
0
0

Hello.

 

I worked yesterday normally with Spark, we use it since three month perfectly.

I am running Openfire version 4.1.2 on a server integrated with LDAP server in Active Directory

 

Server.

Windows Server 2016 Standard

11 GB of RAM

2T GB Disk Space

Xeon E5320 1.86 GHz CPU

 

DataBase in Postgres 9.5

 

I Installed some plugins to since one month, and they worked ok, but when I try to login to spark or Openfire console administrator, it show this in  launch Openfire.

 

Openfire 4.1.2 [28-jun-2017  9:49:22]

Consola de Administración escuchando en

http://mydomain:9090

https://mydomain:9091

Successfully loaded plugin 'admin'

An exception ocurred while loading plugin 'ldapvcardavatar':

Successfully loaded plugin 'broadcats'

Successfully loaded plugin 'justmarried'

Successfully loaded plugin 'packetfilter'

Successfully loaded plugin 'search'

Successfully loaded plugin 'clientcontrol'

Finished processing all plugins

An exception ocurred while loading plugin 'ldapvcardavatar':

An exception ocurred while loading plugin 'ldapvcardavatar':

An exception ocurred while loading plugin 'ldapvcardavatar':

An exception ocurred while loading plugin 'ldapvcardavatar':

An exception ocurred while loading plugin 'ldapvcardavatar':

 

every time that i try to login, it show this message: An exception ocurred while loading plugin 'ldapvcardavatar':

i restarted the openfire service and the server, the problem continue...

Change xmpp.domain without admin console

$
0
0

Plain and simple.

 

I was following this thread

Using cert in Openfire (XMPP-Server) - Let's Encrypt Community Support

 

And the reply from Hostmaster said the following:

    Recreated a cert that covers alpha.chat.company.org (the openfire server's FQDN) as well as company.org (the XMPP domain) and the certificate installed.

 

    The workaround for me was to temporarily edit my Openfire server properties to set the value of xmpp.domain to the FQDN of the server AND THEN RESTART OPENFIRE (!).

    Then import the cert. It will now pass validation and go live. Now change the value of xmpp.domain back and restart openfire again. All working now and my clients seem to  connect securely. I do notice that s2s connections to some services i.e. gmail.com are not secured. And xabber.de seem to not talk to our server anymore. Maybe they don't recognize letsencrypt yet.

 

Well I changed the value of the xmpp domain and restarted the server. Then I couldn't log back in due to the server using LDAP for the admin users. I don't know of any built in users. Is there a way to change this back via shell to get this back up and running without running through setup again?

 

installed on CentOS6.8

 

EDIT: I gave up and went through the setup again with LDAP. seems to be back up. Still having the issue where when trying to import certificates, it says it is not valid for this domain.

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

lastLogin

$
0
0

is there any way to check "when" a user was last logged in? i heared something of a plugin "user-status-plugin", but i dont find it in the list...

iOS Client

$
0
0

Hi All,

 

I've set up an Openfire server and Spark on our desktops. Everything is working perfectly from this side.

But I'm really struggling with clients for our iPads. I've tried most of the iOS XMPP clients:

 

  • Boogie Chat
  • ChatSecure
  • IM +
  • Talkonaut
  • JabberIM
  • Monal

 

Out of that list... the only one which will connect to our server is "Talkonaut". The other either 'error' or timeout.

Weirdly, when I try to connect using JabberIM, the client session appears in the Openfire server sessions page... but the iPad never actually connects.

 

The problem I have with Talkonaut is, whilst everything seems fine, no contacts appear! Messages can be sent from it once a conversation has been established however. You can also see the iPad contact fine from inside Spark on a desktop (just not the other way round).

 

Any tips would be greatly appreciated. I feel so close - but the iOS clietns are a key point of our deployment.

 

Cheers

Nick

Installing Openfire (4.2.0-alpha) and OFMeet (0.9.1)


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 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

Importing My Letsencrypt SSL Certificates

$
0
0

I have been trying to import my letsencrypt SSL certificates into Openfire, I have used this script keytool -import -keystore keystore -alias perthdronephotos.com -file cert.pem

it created the file then I copied it into the /etc/openfire/security directory and sudo chown -R openfire:openfire keystore so openfire could access it. It all seemed to change over without any errors until I tried to login to the https admin console of my site and it would open, I had to access it via the IP address or the http site, I changed everything back to the original and it is working fine again just saying site is unsecure with a red line through https. I hope someone can help me get this sorted

 

There are 4 .pem files within my letsencrypt directory they are

cert.pem

chain.pem

fullchain.pem

privkey.pem

What version of 3.10.3 does Openfire support? WebSocket? WebSocket's history version, where can I download it?

$
0
0

Now use the Openfire 3.10.3, but now need to add the WebSocket plug-in, but the official website of the latest version is 1.1.4, is not compatible with the low version, please download the WebSocket version of history there, how to use WebSocket or Openfire3.10.3? Thank you。 More urgent!

Moving openfire 3.7.1 from a server to a new one (with of 4.1.4) WITH pidgin (2.10.3)

$
0
0

I'm facing a great issue doing what I wrote in the title.

So first you need to know that I have clients databases on a remote server. I have openfire (old version) on another server. And openfire (new version) installed on another version.

Now Im trying to link my new openfire to the database (where mt clients are registered) and then I'll try to configure pidgin.

You may ask: what is the problem?

You link your openfire to the database directly, and work done.

But it wasnt thaat easy. When I did install new openfire on the server and attached it to the database, I couldn't log with my old admin account.

So I created a new database. With a new admin and it worked.

I tried to change then the database location in conf/openfire.xml but it didnt work.

Worst, it changed the configuration of my old openfire and I had to remove what I did to give access again to pidgin to my clients. (Happened because of the admin of my old database... not sure).

Anyway, Im stuck, completly...

Has anyone faced this issue? How can I fix this? Is there a problem because of compatibility between an old version database and a new? I really dont know what to do...

Curveball or abyss share screen openfire

$
0
0

Hello,

 

I have a probleme of (Curveball or Abyss) when i share my screen with openfire (visioconference).

 

Do you have a solution ?

 

Thanx,

Seems you can chat without subscription

$
0
0

We have installed Openfire 4.1.5 with Subscription 1.4.0 plugin and connects using Pidgin 2.10.12.

From Subscription properties we set to "Reject - ALL Subscription requests", we need to admin from admin console.

 

Steps made to test functionality:

  1. A user add a friend to his buddies list.
  2. Because of "Reject - All subscription request" is enabled, the request never arrives.
  3. The invited buddy appears as "Not authorized".
  4. Then double click on this buddy and write a message.
  5. This message is delivered correctly!

I was waiting not to deliver any message in such case.

 

May be there is something wrong with it?

Thank you for any idea.

 

 

 

Openfire 4.1.5


can't connect to openfire server

$
0
0

Hi hi every one !

 

i actually installed an openfire server, that's why i'm here (nooo really ? )

 

is the first time i use one xmpp server.

so i checked how it works basically !

 

now i have some difficulties to connect my client to my server.

 

i have an external server with dns who target to this server.

 

my dns configuration :

Name                        TTL          Type     Value

@                              5 min        A           my server's ip address

xmpp                        1 day         A          my server's ip address

_xmpp-client._tcp     5 min         SRV     0 5 5222 xmpp.mydomain.ext.

 

my openfire configuration :

XMPP Domain Name:mydomain.ext
Java Version:9-internal Oracle Corporation -- OpenJDK 64-Bit Server VM
Server Host Name (FQDN):xmpp.mydomain.ext

and basic configuration i still didn't customize anything.

 

i tried to connect like that ... username@mydomain.ext on the port 5222 or 5223.

but i think it can't work on the port 5223 because not in my SRV right ?

 

Thank you for your help

 

Jisig.

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

$
0
0

Hello guys,

I have a problem when logging with admin. I hope someone can help me!!!

I have a database with 300 users (not embbeded) plus my old admin account!

I was using an older version of openfire.

We are migrating servers, and now I have to install a new version of openfire.

The install goes fine. I launch admin and it brings me to the configration page...

Everything's fine until I reach the admin config. Openfire recognize my database, and recognize the admin account (the email adress already filled is a hint).

Here'e the problem, I try with my old password to reset a new password. But... it does not allow me saying it's a wrong password.

I skip this step and it still doesnt work. I've read and tried every possible solutions on the internet, none of them work!

I've tried restart etc.

I've tried the plain password thing etc.

I've tried also to create a new admin, and then in the config file (openfire.xml) change the database to point to the one I wanna use. Here only can I log in!!! But then I have issues with pidgin, the users cannot connect, seems like it's not the same password encryption now and back then when they started it...

Oh, forgot to mention that I have also tried to add <admin><authorizedUser>admin<\...> etc.

All of that have not worked for me...

Please, I need your help... someone?

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

OpenFire Audit logging and other observations

$
0
0

Just reviewing 4.1.4 (I know it was installed and ready on my test box) from an audit/logging perspective, to understand what it currently does/doesn't do.

 

We may or may not be able to contribute to some of these ideas depending on project work here but I thought I'd put some of the observations here, in case I've missed something, or there are other ways to achieve things not immediately apparent to me.

 

Security Audit log doesn't include client IP address, it can usually be found from other logs, but usually IP address is one of the key pieces of information. Is there a particular philosophy on what is being logged here?

 

Security Audit log doesn't log adding a plugin (disabling plugins is recorded), seems inconsistent.

 

Failed attempts to login to the web console generate log file entries that suggest is has triggered LoginLimitManager, but I couldn't see org.jivesoftware.admin.LoginLimitManager configuration exposed anywhere?!  Noted also the action is not logged in Security Audit log, nor do the IPAddress or UserAccount lock events stop people logging in from that IP or username (which is probably fine as a default).

 

 

Also noted these areas where there didn't seem to be a plugin or tool currently suited to:

 

Automatically Disabling inactive accounts.

 

Alerting on, or restricting, activity outside of specified business hours.

 

XMPP authentication failures are logged by default as "debug" events, meaning they aren't even recorded in the default configuration. I assume for big XMPP deployments these would be horribly noisy to record. I didn't find anything discussing monitoring or acting on same. Was considering something like AppSensor to bring a little bit more self awareness to the server, but I'm sure someone will already have done some work here.

Problemas Con Openfire 4.1.5

$
0
0

Version del servidor openfire 4.1.5

versión de Java:1.8.0_131 Oracle Corporation -- Java HotSpot(TM) Client VM
Servidor de Aplicaciones:jetty/9.2.z-SNAPSHOT
Nombre del Host:
SO / Hardware:Windows 8.1 / x86
Idioma / Huso Horario:
OS Process Owner:
Memoria de Java

 

63,37 MB of 247,50 MB (25,6%) used

 

Buenos dias, les comento el escenario.
>Actualmente habia una versión de openfire  4.0.3 la cual no tenia mantenimiento de ningun tipo, con un promedio de 80 o 90 usuarios funcionaba bien, pero al aumentar a 100, 130 usuarios, surgieron problemas como dejar sin acceso a varios clientes.
> No existia un backup de la base

>Se hizo un backup de la base de datos actual y se actualizo la version de openfire a la version 4.1.5

al iniciar el servicio tengo los siguientes errores, me podrian ayudar a resolver estos inconvenientes?. Soy un poco inexperto en el tema.

 

2017.07.06 10:53:54 org.jivesoftware.openfire.reporting.stats.StatsEngine - Error sampling for statistic muc_outgoing

org.jrobin.core.RrdException: Bad sample timestamp 1499349180. Last update time was 1499349180, at least one second step is required

at org.jrobin.core.RrdDb.store(Unknown Source)

at org.jrobin.core.Sample.update(Unknown Source)

at org.jivesoftware.openfire.reporting.stats.StatsEngine$SampleTask.run(StatsEngin e.java:395)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2017.07.06 10:53:54 org.jivesoftware.openfire.reporting.stats.StatsEngine - Error sampling for statistic packet_count

org.jrobin.core.RrdException: Bad sample timestamp 1499349180. Last update time was 1499349180, at least one second step is required

at org.jrobin.core.RrdDb.store(Unknown Source)

at org.jrobin.core.Sample.update(Unknown Source)

at org.jivesoftware.openfire.reporting.stats.StatsEngine$SampleTask.run(StatsEngin e.java:395)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2017.07.06 10:53:54 org.jivesoftware.openfire.reporting.stats.StatsEngine - Error sampling for statistic muc_rooms

org.jrobin.core.RrdException: Bad sample timestamp 1499349180. Last update time was 1499349180, at least one second step is required

at org.jrobin.core.RrdDb.store(Unknown Source)

at org.jrobin.core.Sample.update(Unknown Source)

at org.jivesoftware.openfire.reporting.stats.StatsEngine$SampleTask.run(StatsEngin e.java:395)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2017.07.06 10:53:54 org.jivesoftware.openfire.reporting.stats.StatsEngine - Error sampling for statistic server_sessions

org.jrobin.core.RrdException: Bad sample timestamp 1499349180. Last update time was 1499349180, at least one second step is required

at org.jrobin.core.RrdDb.store(Unknown Source)

at org.jrobin.core.Sample.update(Unknown Source)

at org.jivesoftware.openfire.reporting.stats.StatsEngine$SampleTask.run(StatsEngin e.java:395)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2017.07.06 10:53:54 org.jivesoftware.openfire.reporting.stats.StatsEngine - Error sampling for statistic muc_users

org.jrobin.core.RrdException: Bad sample timestamp 1499349180. Last update time was 1499349180, at least one second step is required

at org.jrobin.core.RrdDb.store(Unknown Source)

at org.jrobin.core.Sample.update(Unknown Source)

at org.jivesoftware.openfire.reporting.stats.StatsEngine$SampleTask.run(StatsEngin e.java:395)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Viewing all 4778 articles
Browse latest View live