Re: Unable to make private static javax.swing.UIManager$LAFState
I can¡¯t possibly tell anything from that.
Please attach your IBC logfile to your reply (that¡¯s the logfile whose name is shown in the banner window when you start IBC). This file contains a
By
Richard L King
·
#2224
·
|
Unable to make private static javax.swing.UIManager$LAFState
I encounter this error when running start_tws.bat, any idea?
2024-04-03 17:02:49:625 IBC: Starting TWS
java.lang.reflect.InaccessibleObjectException: Unable to make private static
By
kng180@...
·
#2223
·
|
Re: connection timeouterror
*the issue
By
Mark Murari
·
#2222
·
|
Re: connection timeouterror
FWIW - upgrading to gateway 1028 did the trick. In which case, a little surprised no one else has reported the iss
By
Mark Murari
·
#2221
·
|
Re: connection timeouterror
If I understand you correctly, when you run your live IBC/Gateway, it starts up OK (as per the logfile you sent me), your application (which uses ib_insync) makes a series of API connections to
By
Richard L King
·
#2220
·
|
Re: connection timeouterror
Spoke too soon. After a unproblematic couple of days, connections were refused from about? 02:30 GMT this morning (but again only on my live account, paper account has worked uninterrupted).
I
By
Mark Murari
·
#2219
·
|
Re: connection timeouterror
Brilliant. Thank you.
By
Mark Murari
·
#2218
·
|
Re: connection timeouterror
Oh, sorry, I forgot that I haven¡¯t actually done a new release since pushing the script to GitrHub.
You¡¯ll find it in
https://github.com/IbcAlpha/IBC/tree/master/resources
and
By
Richard L King
·
#2217
·
|
Re: connection timeouterror
Thanks Richard, appreciate your taking a stab at this, but fingers crossed the issue has not re-appeared since the morning, so no point wasting any further time on this for now. Some points of
By
Mark Murari
·
#2216
·
|
Re: connection timeouterror
Let¡¯s start with the easy stuff: how to shutdown Gateway tidily. Obviously if the GUI is accessible you can just click on the close button, so the question is what to do when that isn¡¯t possible
By
Richard L King
·
#2215
·
|
Re: connection timeouterror
Thanks Richard. Yes that was the whole logfile. As of this morning I was having the same issues. I invoked my python live trading restart script on the headless server which first attempts to kill any
By
Mark Murari
·
#2214
·
|
Re: connection timeouterror
I don¡¯t see anything unexpected in this logfile at all. So I¡¯m not sure what the problem is.
Everything seems to have worked perfectly so far. Is this the whole of the logfile? It seems
By
Richard L King
·
#2213
·
|
connection timeouterror
Hi Richard - hope you are well.
Everything working smoothly with the help of IBC on my dual setup until yesterday, and I can still connect to the paper account using the ib_insync API. For the live
By
Mark Murari
·
#2212
·
|
Re: TWS restart error, help !!
Ok, there¡¯s a couple of things here:
1. You¡¯ve probably noticed that the log file is full of lines containing ¡°java.io.IOException: write beyond end of stream¡±. These are errors thrown by
By
Richard L King
·
#2211
·
|
Re: TWS restart error, help !!
Hi Richard, here's the log file. Thanks again for the help
By
linkblock123
·
#2210
·
|
Re: TWS restart error, help !!
I¡¯ll just say exactly what I said to you on 27 Jan:
Send me the IBC logfile¡
(see /g/ibcalpha/message/2206)
Sent: Monday, February 19, 2024 2:34 PM
To:
By
Richard L King
·
#2209
·
|
TWS restart error, help !!
every now and then, I will wake up in the morning and see this error. I think TWS has problem restarting itself.? What's the solution for this ?
By
linkblock123
·
#2208
·
|
Re: how to start LIVE trading ??
Hi Richard, thanks for responding.? I looked at the log file and saw the problem.? I was editing the wrong config file, so that's why it keep starting 'paper'.? I updated the correct file, and now
By
linkblock123
·
#2207
·
|
Re: how to start LIVE trading ??
Reply to this with your IBC logfile attached. And I mean attached, don¡¯t quote the logfile in your reply text. Also include the whole file, not just extracts from it.
By the way, you can also
By
Richard L King
·
#2206
·
|
how to start LIVE trading ??
Hi I am able to login with paper trading. Now I went to config.ini file and changed?TradingMode=live instead of 'paper'.? Didn't change anything else. Login is the same for paper and live. But when
By
linkblock123
·
#2205
·
|