Open k4rajers opened 1 month ago
There is a related reddit thread https://www.reddit.com/r/interactivebrokers/comments/165fufn/cant_host_ib_client_portal_web_api_on_a_remote
seems like it is really hard to run the client portal api in vps server.
There is not much of a value in terms of automation if we cannot host this on vps server.
Related issue https://github.com/Voyz/ibeam/issues/155
Maybe not be directly related coz ibeam uses selenium
But no clear solution on how to properly host in cloud.
I get access denied when trying to access the cloud endpoint like https://cloudvps-ip:5055
Then i tried to add my public ip address in the conf.yaml file like below:
ips: allow:
After this change i was able to access the login endpoint https://cloudvps-ip:5055/sso/Login?forwardTo=22&RL=1&ip2loc=US and got the screen like in the below snapshot
There is one specific endpoint which fails with 403 https://cloudvps-ip:5055/portal.proxy/v1/gstat/bulletins as seen in the networks requests. I am not sure how important or significant this is.
And, then when i tried to login with my credentials i get redirected to https://cloudvps-ip:5055/sso/Dispatcher like show in the below snapshot
Ideally i should have seen page with "client login succeeds".
I think https://cloudvps-ip:5055/portal.proxy/v1/gstat/bulletins is vital to make this work.