Comments (2)
[First, on a practical note, please don't quote the logfile in the post: just attach the complete file using the 'Attach files by dragging & dropping or selecting them'. Everything in the logfile is there because it's potentially useful, and when users prune some of it out it's often counterproductive. Also a file is much easier to work with, not least because quoting log files often does nasty things with fonts (don't know why: it's a Github thing), and long quoted extracts are just annoying to have to scroll over all the time. On the other hand, if the logfile contains output from more than one IBC run, you can certainly prune out all but the relevant run to reduce size.]
Actually neither IBC nor TWS have crashed here. TWS has simply done a tidy closedown. Because you haven't included the whole log, I can't tell how long TWS has been running. But even if you use IbAutoClosedown=no, there are occasions where TWS will simply shut down and there's nothing IBC can do about it. In my experience this usually happens after IBC has kept TWS running for several days, but there's no way of predicting it. I used to try and keep TWS running all week, and most weeks it would be ok, but just occasionally it would shut down like this.
The solution is simply not to use IbAutoClosedown=no, and to restart TWS every day (which of course is what IB have always wanted us to do).
When you move to TWS 974, you will no longer be able to use IbAutoClosedown=no anyway, because IB have inhibited the mechanism by which it worked. So it's probably a god idea to start thinking about this and what impact it will have on you sooner rather than later.
from ibc.
Understood about quoting. I've removed most of the log lines since they are not relevant.
The first log in that file was written at 2019-01-25 10:30:48:409. So it's been running for 4 days and almost 8 hours.
I've read about TWS 974 changing the login window, but I'd like to stay at the version marked as stable. In any case, I guess the best thing is to restart daily.
Thank you for your answer!
from ibc.
Related Issues (20)
- Enhancement: suport for setting "Timeout to send bulk data to API" HOT 4
- TWS restart issue in TWS Paper trading HOT 7
- Windows task scheduler - Stop task if it runs longer than 1435 minutes HOT 2
- UI Freezed after Login HOT 2
- IBC Can't Handle Program Files Space... HOT 2
- Possible Ubuntu change preventing automatic log on to IB Gateway with IBC? HOT 14
- TWS Login Error HOT 2
- What are valid `CommandServerPort` commands? HOT 6
- IBC 3.15.2 failed to restart TWS 10.25.1n (paper) HOT 2
- Question: Is there any difference on launching TWS with IBC while using an ibgateway installation HOT 6
- ErrorLevel=1004 HOT 5
- IBC 3.18.0 failed to click "I understand and accept" on warning dialog "This is a paper account" on TWS 10.26.1h HOT 2
- Fix suggestion for RECONNECTDATA and RECONNECTACCOUNT which never worked on macOS (probably) HOT 2
- Strange condition TWS 1025 (paper) IBC 3.15.2 HOT 4
- 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
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.