Keyboard Shortcuts
Likes
Search
Problem witrh Gateway 10.22
开云体育[NB: if you are not trying to use Gateway 10.22 there is no need for you to take any action, so just ignore this.] ? It’s come to my attention that IBC 3.16.2 and earlier doesn’t work properly with Gateway 10.22: it fails to fill in the username and password when logging in (but TWS 10.22 is fine). ? This is because of a change to the window title of the login dialog that IB have made: it used to be ‘IB Gateway’ and now it’s ‘IBKR Gateway’. Consequently IBC doesn’t recognise it as the login dialog, and ignores it. ? I have fixed the problem and a new version is accessible on GitHub, but I haven’t actually yet created a new release in the usual way. There are other things that need to go into the next release, and I’m not quite ready for it. ? So in the meantime you can download the new version of the following files from : ? IBC.jar version ? Just download these two files directly and copy them over the current versions in your IBC installation folder. No other changes are necessary. ? After deploying these files, IBC will identify as version 3.16.3 in the logfiles. ? Richard ? |
开云体育Hi Richard and all, ? I upgraded to version 1022 and have updated to the file mentioned in the below message. However, ibc is unable to find the gateway. ? I have installed in the standard path. ? ? I have attached the complete ibc log to this message. Pranav ? From: [email protected] <[email protected]> On Behalf Of Richard L King
Sent: Tuesday, April 11, 2023 2:31 AM To: [email protected] Subject: [ibc] Problem witrh Gateway 10.22 ? [NB: if you are not trying to use Gateway 10.22 there is no need for you to take any action, so just ignore this.] ? It’s come to my attention that IBC 3.16.2 and earlier doesn’t work properly with Gateway 10.22: it fails to fill in the username and password when logging in (but TWS 10.22 is fine). ? This is because of a change to the window title of the login dialog that IB have made: it used to be ‘IB Gateway’ and now it’s ‘IBKR Gateway’. Consequently IBC doesn’t recognise it as the login dialog, and ignores it. ? I have fixed the problem and a new version is accessible on GitHub, but I haven’t actually yet created a new release in the usual way. There are other things that need to go into the next release, and I’m not quite ready for it. ? So in the meantime you can download the new version of the following files from : ? IBC.jar version ? Just download these two files directly and copy them over the current versions in your IBC installation folder. No other changes are necessary. ? After deploying these files, IBC will identify as version 3.16.3 in the logfiles. ? Richard ? |
开云体育You should have let the installer install to its default location, which is /home/pranav/Jts/ibgateway/1022 ? This being the case, IBC should find the jars folder at /home/pranav/Jts/ibgateway/1022/jars. If it’s not there, it must be because you didn’t use the installer’s default location. ? If you actually used the TWS installer, the default location would be /home/pranav/Jts/1022, and the jars folder would be at /home/pranav/Jts/1022/jars ? Since IBC isn’t finding the jars folder, either you didn’t install the standalone (offline) version, or you changed the installer’s location from the default. ? By the way, you don’t seem to have successfully deployed the updated IBC.jar and version files, as your logfile still says it’s IBC 3.16.2, not 3.16.3. ? Richard ? |
开云体育Hi Richard, ? I did use the offline gateway installer or so I think. Here is what I did.
I do have the jars folder at /home/pranav/Jts/ibgateway/1022/jars ? That folder contains the following items. [pranav@archlinux jars]$ ls -1????????????????????????????????????????????????????????????????????????????????????????? jackson-core-2.12.3.jar????? ??????????????????????????????????????????????????????????????????????????????????????????? jts4launch-1022.jar???????????????????????????????????????????????????????????????????????????????????????????????????? jxbrowser-7.29.jar???????????????????????? ????????????????????????????????????????????????????????????????????????????? jxbrowser-linux64-7.29.jar????????????????????????????????????????????????????????????????????????????????????????????? jxbrowser-swing-7.29.jar???????????????????????????????? ??????????????????????????????????????????????????????????????? locales.jar???????????????????????????????????????????????????????????????????????????????????????????????????????????? log4j-api-2.17.1.jar?????????????????????????????????????????????????? ????????????????????????????????????????????????? log4j-core-2.17.1.jar?????????????????????????????????????????????????????????????????????????????????????????????????? total-2020.jar?????????????????????????????????????????????????????????????????????? ??????????????????????????????????? twslaunch-1022.jar????????????????????????????????????????????????????????????????????????????????????????????????????? twslaunch-install4j-1.12.jar?????????????????????????????????????????????????????????????????????? ????????????????????? ? ? Pranav From: [email protected] <[email protected]> On Behalf Of Richard L King
Sent: Saturday, April 15, 2023 4:15 PM To: [email protected] Subject: Re: [ibc] Problem witrh Gateway 10.22 ? You should have let the installer install to its default location, which is /home/pranav/Jts/ibgateway/1022 ? This being the case, IBC should find the jars folder at /home/pranav/Jts/ibgateway/1022/jars. If it’s not there, it must be because you didn’t use the installer’s default location. ? If you actually used the TWS installer, the default location would be /home/pranav/Jts/1022, and the jars folder would be at /home/pranav/Jts/1022/jars ? Since IBC isn’t finding the jars folder, either you didn’t install the standalone (offline) version, or you changed the installer’s location from the default. ? By the way, you don’t seem to have successfully deployed the updated IBC.jar and version files, as your logfile still says it’s IBC 3.16.2, not 3.16.3. ? Richard ? |
开云体育Hi again Richard, ? Please see the updated log which I have attached. The version seems to be now correct but the problem remains the same. ? Pranav ? From: [email protected] <[email protected]> On Behalf Of Richard L King
Sent: Saturday, April 15, 2023 4:15 PM To: [email protected] Subject: Re: [ibc] Problem witrh Gateway 10.22 ? You should have let the installer install to its default location, which is /home/pranav/Jts/ibgateway/1022 ? This being the case, IBC should find the jars folder at /home/pranav/Jts/ibgateway/1022/jars. If it’s not there, it must be because you didn’t use the installer’s default location. ? If you actually used the TWS installer, the default location would be /home/pranav/Jts/1022, and the jars folder would be at /home/pranav/Jts/1022/jars ? Since IBC isn’t finding the jars folder, either you didn’t install the standalone (offline) version, or you changed the installer’s location from the default. ? By the way, you don’t seem to have successfully deployed the updated IBC.jar and version files, as your logfile still says it’s IBC 3.16.2, not 3.16.3. ? Richard ? |
开云体育[Actually the version is still incorrect – it’s not showing any version at all now! The version file should contain just “3.16.3” and nothing else. However, that’s irrelevant as far as your actual problem is concerned.] ? Well, here’s a strange thing, I’ve compared your logfile with mine on Ubuntu 22.04 and they are identical up to the point where yours fails (except for the OS details and the username). Mine carries on fine and loads IBC with no problem. ? I can only conclude that one of your jar files is corrupt – presumably the one that contains the main entrypoint, can’t remember which one that is. Maybe it has somehow lost its manifest? ? As a basic sanity check, if you haven’t already done so, can you try running Gateway directly from the IB-supplied link – ie without using IBC. If that doesn’t work, then you’ll have to uninstall Gateway and reinstall. If it does work, then I’m completely at a loss – so I think I’d still recommend you uninstall and reinstall Gateway. ? ? ? ? From: [email protected] <[email protected]> On Behalf Of Pranav Lal
Sent: Saturday, April 15, 2023 12:31 PM To: [email protected] Subject: Re: [ibc] Problem witrh Gateway 10.22 ? Hi again Richard, ? Please see the updated log which I have attached. The version seems to be now correct but the problem remains the same. ? Pranav ? From: [email protected] <[email protected]> On Behalf Of Richard L King ? You should have let the installer install to its default location, which is /home/pranav/Jts/ibgateway/1022 ? This being the case, IBC should find the jars folder at /home/pranav/Jts/ibgateway/1022/jars. If it’s not there, it must be because you didn’t use the installer’s default location. ? If you actually used the TWS installer, the default location would be /home/pranav/Jts/1022, and the jars folder would be at /home/pranav/Jts/1022/jars ? Since IBC isn’t finding the jars folder, either you didn’t install the standalone (offline) version, or you changed the installer’s location from the default. ? By the way, you don’t seem to have successfully deployed the updated IBC.jar and version files, as your logfile still says it’s IBC 3.16.2, not 3.16.3. ? Richard ? |
开云体育Hi Richard, ? I have gone back to gateway version 1019.1. I searched for interactive brokers standalone gateway linux 64 installer And finally to At least as far as I can recall. ? I also reinstalled ibc’s current release without the updated IBC.jar. ? Things are working once again. ? I cannot determine what happened. ? Did the startup scripts mess up the classpath or were things really mixed at my end? ? Pranav From: [email protected] <[email protected]> On Behalf Of Richard L King ? [Actually the version is still incorrect – it’s not showing any version at all now! The version file should contain just “3.16.3” and nothing else. However, that’s irrelevant as far as your actual problem is concerned.] ? Well, here’s a strange thing, I’ve compared your logfile with mine on Ubuntu 22.04 and they are identical up to the point where yours fails (except for the OS details and the username). Mine carries on fine and loads IBC with no problem. ? I can only conclude that one of your jar files is corrupt – presumably the one that contains the main entrypoint, can’t remember which one that is. Maybe it has somehow lost its manifest? ? As a basic sanity check, if you haven’t already done so, can you try running Gateway directly from the IB-supplied link – ie without using IBC. If that doesn’t work, then you’ll have to uninstall Gateway and reinstall. If it does work, then I’m completely at a loss – so I think I’d still recommend you uninstall and reinstall Gateway. ? ? ? ? From: [email protected] <[email protected]> On Behalf Of Pranav Lal ? Hi again Richard, ? Please see the updated log which I have attached. The version seems to be now correct but the problem remains the same. ? Pranav ? From: [email protected] <[email protected]> On Behalf Of Richard L King ? You should have let the installer install to its default location, which is /home/pranav/Jts/ibgateway/1022 ? This being the case, IBC should find the jars folder at /home/pranav/Jts/ibgateway/1022/jars. If it’s not there, it must be because you didn’t use the installer’s default location. ? If you actually used the TWS installer, the default location would be /home/pranav/Jts/1022, and the jars folder would be at /home/pranav/Jts/1022/jars ? Since IBC isn’t finding the jars folder, either you didn’t install the standalone (offline) version, or you changed the installer’s location from the default. ? By the way, you don’t seem to have successfully deployed the updated IBC.jar and version files, as your logfile still says it’s IBC 3.16.2, not 3.16.3. ? Richard ? |
开云体育Pranav ? I’ve no idea what went wrong apart from the fact that the relevant jar file didn’t seem to contain the code it should.? Why that should be the case is a mystery to me, unless there was actually something wrong with the installer. ?It’s possible the installer you downloaded was faulty and IB fixed it before I downloaded it. ? So if you actually need 10.22, it would be worth doing it again. Note that you can have any number of Gateway/TWS versions installed – they don’t interfere with each other, so you don’t need to uninstall 10.19 to try 10.22. You only need to change the major version number in the start script (and use the 3.16.3 IBC for 10.22). You could also install 3.16.3 in a different folder from 3.16.2 so if it still doesn’t work it would be easy to revert to 10.19. ? ? From: [email protected] <[email protected]> On Behalf Of Pranav Lal
Sent: Sunday, April 16, 2023 4:37 AM To: [email protected] Subject: Re: [ibc] Problem witrh Gateway 10.22 ? Hi Richard, ? I have gone back to gateway version 1019.1. I searched for interactive brokers standalone gateway linux 64 installer And finally to At least as far as I can recall. ? I also reinstalled ibc’s current release without the updated IBC.jar. ? Things are working once again. ? I cannot determine what happened. ? Did the startup scripts mess up the classpath or were things really mixed at my end? ? Pranav |
Richard,
I recently upgraded Gateway from 9.81 to 10.22. I am currently not using IBC. However, I notice that 10.22 is more unreliable than its predecessor. I am running Gateway the entire week: starting it on Sunday evening and letting it run to the following Saturday morning. Unfortunately, about three times per week it loses connection, can't reconnect itself and then shows a pop-up window asking me whether I want to re-login. I have attached a screenshot of this pop-up window. Would IBC be able to recognize this pop-up window and push the "Re-login" button? |
开云体育Yes, IBC will do this. But it may require 2FA again, So you may need to keep your phone (or other device running IBKR Mobile app) handy. ? Richard ? ? From: [email protected] <[email protected]> On Behalf Of windmill_1965 via groups.io
Sent: Saturday, April 22, 2023 2:47 AM To: [email protected] Subject: Re: [ibc] Problem witrh Gateway 10.22 ? Richard, |
Thank you. I will do a fresh install of the latest version of IBC and hope that it will cure the Gateway issues I'm seeing recently. Thus far, when I did see that pop-up window asking about re-login, I was not required to provide any credentials. But thanks for warning that this might be necessary on occasion.
|
I have installed IBC on my Ubuntu computer, downloaded the newer IBC.jar and version files, and followed the instructions on setting the basic (default) parameters in the config.ini and 1022 version number in gatewaystart.sh and twsstart.sh. Unfortunately does it not start: when executing from a command prompt I get an error message: "line 233: xterm: command not found" I get this for both gatewaystart and twsstart. What am I doing wrong?
|