¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

New error message


 

Just got a new error message pop up:

java.util.concurrent.CompletionException: com.teamdev.jxbrowser.engine.MissingDependencyException: Missing dependencies have been detected: chromium => libnssutil3.so libnss3.so libgbm.so.1 libsmime3.so libnspr4.so

Is that someting from IBC, or elsewhere?

Thanks


 

¿ªÔÆÌåÓý

No, that message is from TWS/Gateway.

?

Nearly all messages from the IBC program start with a timestamp and ¡°IBC: ¡° like this:

?

2024-10-22 22:12:26:085 IBC: Login has completed

?

The exceptions are the ¡°IBC Settings¡± list and the ¡°System Properties¡± list.

?

All other messages are either from the IBC scripts, or from TWS/Gateway.

?

It seems that IBKR are somewhat undisciplined about their logging: the vast majority of it is sensibly logged to the TWS/Gateway logfile (via the open source Log4J package), which is fine. But some things are just written out to stderr or stdout, and anything sent there ends up in the IBC logfile. Sometimes this information is useful, but most of the time it¡¯s of no relevance to the end user and can be rather intrusive when trying to look through the IBC logfile.

?

My advice is to not worry about log messages from TWS/Gateway, unless they are clearly related to some issue with them (in which case you might consider reporting them to IBKR). However if you¡¯re reporting a problem with IBC to me, always include the full IBC logfile: don¡¯t try to weed out the stuff from TWS/Gateway.

?

As far as this particular message is concerned. If it¡¯s preventing TWS/Gateway running properly you probably need to address it. I hit this when I was setting up a minimal Ubuntu Server a year or so ago, and had to ferret around to find out what (and how) to install. The libnss libraries is a Network Security Services component. I¡¯m afraid I can¡¯t offer any advice on what you should do.

?

?

?

From: [email protected] <[email protected]> On Behalf Of Bennie
Sent: 23 October 2024 17:16
To: [email protected]
Subject: [ibc] New error message

?

Just got a new error message pop up:

java.util.concurrent.CompletionException: com.teamdev.jxbrowser.engine.MissingDependencyException: Missing dependencies have been detected: chromium => libnssutil3.so libnss3.so libgbm.so.1 libsmime3.so libnspr4.so

Is that someting from IBC, or elsewhere?

Thanks


 

Thank you, Richard!


 

There is not too much to add to Richard's post and I agree that you can ignore the message if you do not experience issues with TWS/IBGW. Having said that, I expect that you may eventually (or already have) run into issues, especially with TWS. In that case, here some context.

TWS/IBGW use JavaFX and JxBrowser to render all their screens (both) and the more? complex multimedia content and video (TWS). There are various implementations of JxBrowser developers can chose from, but the Google Chromium browser based version is the most feature rich. That is the version TWS/IBGW ship with.

TWS/IBGW maintain a private JxBrowser/Chromium installation. In case they don't find their installation, they will make one during startup. On Linux that is ~420M in /tmp/JxBrowser and ~50M in /tmp/UserData. Multiple instances of TWS/IBGW that are based on the same JxBrowser version share the same installation. On Linux that is for the current "stable TWS/IBGW 10.30" /tmp/JxBrowser/7.29. I have seen situations where more than one Chromium was installed when "very old" and "very recent" TWS were started on the same system, or if the system runs for a very long time without reboot.

I don't use any of the multi-media content in TWS, Chromium installations and running browsers use valuable server resources, and I don't see any benefit from having a Google Chromium browser (that does talk with Google all the time) living so close to the brokerage account. So I removed Google Chromium from a TWS installation a few months ago just to see whether that would work. TWS came up, login worked just fine, most of the forms, screens, and windows worked as expected, but eventually some of the regular features just did not work well or failed and error messages complaining about the missing JxBrowser popped up.

For now, I am running stock TWS/IBGW with JxBrowser/Chromium but I want to try some firewall settings that severely restrict, whom Chromium can communicate with. One of those days.

You might want to install the missing libraries in case you do run into TWS/IBGW issues. Hope this helps,

´³¨¹°ù²µ±ð²Ô

?
On Wed, Oct 23, 2024 at 11:15 AM, Bennie wrote:

Just got a new error message pop up:

java.util.concurrent.CompletionException: com.teamdev.jxbrowser.engine.MissingDependencyException: Missing dependencies have been detected: chromium => libnssutil3.so libnss3.so libgbm.so.1 libsmime3.so libnspr4.so

Is that someting from IBC, or elsewhere?

Thanks


 

Thanks, ´³¨¹°ù²µ±ð²Ô. For the record, I have not noticed any issues. It still connects and logs in just fine. I will start paying closer attention, though.

Bennie


 

Thank you for the update, Bennie.
?
Are you using an instance of TWS or IB Gateway? IBGW may be more tolerant to a missing on non-fuctional Chromium browser.
?
On Wed, Oct 23, 2024 at 05:18 PM, Bennie wrote:

Thanks, ´³¨¹°ù²µ±ð²Ô. For the record, I have not noticed any issues. It still connects and logs in just fine. I will start paying closer attention, though.

Bennie


 

Hi ´³¨¹°ù²µ±ð²Ô,

I am using IBGW, version 10.31.1j

Bennie


 

¿ªÔÆÌåÓý

Hi,

I¡¯m using TWS with IBC in docker (https://github.com/gnzsnz/ib-gateway-docker)

You need to install?libnspr4 and libnss3 (on Debian/ubuntu) for TWS to stop complaining

I will test ibgateway, in the past this was not needed but maybe it¡¯s the case now.


Cheers


On 24 Oct 2024, at 01:34, Bennie <ken360@...> wrote:

Hi ´³¨¹°ù²µ±ð²Ô,

I am using IBGW, version 10.31.1j

Bennie