Voyz / ibeam

IBeam is an authentication and maintenance tool used for the Interactive Brokers Client Portal Web API Gateway.
Apache License 2.0
582 stars 115 forks source link

Login Succeeds but fails to maintain authenticated gateway session #16

Closed gmara13 closed 3 years ago

gmara13 commented 3 years ago

Describe the bug gateway has been working fine until last night when it gest stuck in a loop of authenticating session.

To Reproduce unknown

Expected behavior the gateway session should remain open and authenticated once login succeeds

Environment IBeam version: Python version: OS:

Additional context https://gyazo.com/d5eb1344a1175ad76baae63c40d3e68a

Voyz commented 3 years ago

Hey @gmara13 thanks for reporting this issue 👍

Quite frankly there's little we can tell from these logs alone. I've seen this behaviour several times in the past but usually it sorts itself out after a while. Other users have reported this kind of behaviour too, saying this was some issues on IBKR side.

Can I ask you to let IBeam run for some 15 minutes and see if this issue persists? Maybe try at various points during the day?

gmara13 commented 3 years ago

so this cycle continued for about 1.5 hours then just started working.

Voyz commented 3 years ago

Yeah, that also seems similar to what other user's were reporting. It sometimes just goes bonkers unfortunately and we still don't know why. Happy to hear it got back on again for you though

gmara13 commented 3 years ago

This has been happening more and more frequently. currently been 6 hours of the login cycle. is there somewhere i can see more detailed logs of whats happening?

Voyz commented 3 years ago

Hey @gmara13 sorry to hear it is back on again. You can find logs of the gateway in the gateway_folder/logs - these can sometimes provide more information on why things may be breaking. If you notice it happening, I'd try to log in manually using a browser to see if it persists.

gmara13 commented 3 years ago

had almost a full trading day of this problem come back. im at a loss for what to do

Voyz commented 3 years ago

Hey @gmara13 sorry to hear 😟 Once again I'd suggest having a look at gateway_folder/logs and see whether something there could be indicating the problem