Comments (6)
The thing to note is that the "Attempted to append to non-started appender e" messages are actually output to StdOut by the Gateway itself when it shuts down: they're not anything to do with IBC (but IBC logs any output to StdOut).
So the Gateway has simply decided to shut down here. What's odd is the 'Detected frame entitled: DUXXXXXX Exit Session Setting' message. I've never seen the Gateway display this dialog before, only TWS, which displays it a few minutes before the configured autologoff time.
Perhaps this is some new behaviour in Gateway 975? I havent actually got round to testing 975 yet, so it looks like I'd better get started with it, and see if i can understand what's happening here.
In the meantime I suggest you revert to 974, unless there is something new in 975 that you need.
from ibc.
Thanks for looking into this.
I couldn't find 974 among the downloads but I've reverted to 972.1s.
from ibc.
Ok, I've checked this out, and unfortunately IBKR have introduced the autologoff mechanism into the Gateway, the same as TWS.
And, like TWS, if you start Gateway from the ibgateway.exe program or the desktop icon (or the Linux script), you can use the 'Auto restart' option to keep it running all week.
However, IBC can't work with the .exe/script: it is limited to invoking Gateway via the relevant Java entrypoint, and doing so doesn't offer the 'Auto restart' option.
So, as with TWS 974 onwards, if you want to use Gateway 975 with IBC and keep it running, you'll have to set the autologoff time to an appropriate value and arrange to restart IBC automatically every day shortly after that time.
Note that this will of course mean that your API applications have to be able to cope with disconnections from Gateway.
The only alternative is to give up using IBC with Gateway and run it from the .exe (or Linux script). This of course means you'll have to login manually once a week.
from ibc.
I saw this error again today, while using Gateway 972.1t on Ubuntu. I understand the error is generated by Gateway, so there might be nothing IBC could do, but in case there is, I've attached the log of this new occurrence.
from ibc.
No there is nothing you can do about this error message. Just ignore it.
You already gave me the log, so why post it again?
And in future, please attach log files rather than quoting them.
from ibc.
Sorry about that. Cleaner indeed to attach the log; I've edited my comment above.
The reason I posted the new log was in hope it would help identify anything IBC could do to improve the situation. The first log I posted seemed useful,
What's odd is the 'Detected frame entitled: DUXXXXXX Exit Session Setting' message. I've never seen the Gateway display this dialog before
from ibc.
Related Issues (20)
- Why IBC ended? HOT 6
- Issue with restart TWS HOT 22
- Failed to Re-Login HOT 4
- Using environment in config.ini HOT 4
- Invalid ClosedownAt setting HOT 3
- Launching gatewaystart.sh from user crontab is impossible HOT 3
- stable version HOT 12
- Unknown Username.Password/Duplicate Session? HOT 30
- how to prevent auto-login? HOT 1
- IBC unable to restart after 2.5 days of running. Happened multiple times. HOT 8
- Unable to find Java installation on Docker container HOT 2
- IBC Not selecting Second factor device 'IB Key' HOT 12
- Wrong Username/Password Bug TWS Paper Trading Automated Login Failure HOT 3
- Lock and Exit > Never lock Trader Workstation HOT 13
- Strange behaviour when using ConfigureAutoLogoffOrRestartTimeTask HOT 5
- IBRK don't open anymore with IBC HOT 2
- How to force IB Gateway to start with usfuture market data farm on? HOT 4
- java.lang.ArrayIndexOutOfBoundsException when running ibc HOT 5
- Support Two Factor login with TOTP HOT 2
- Issue during maintenance window HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ibc.