Betfair Non-Interactive (Bot) login doesn't work in Google App Engine region eu-west2 (London)

主宰稳场 提交于 2019-12-11 15:45:45

问题


The error I'm getting is BETTING_RESTRICTED_LOCATION. But when I run my app locally using London location from VPN I am able to login in perfectly.

Is there a way I can ensure that the app is running from places where betting is legal?

There is another question like this but its very old and doesn't help me.


回答1:


The IPs of Google Cloud Platform share the same geolocation (US). And it could be possible that your bot doesn't allow connections from this part of the world. If this is the issue, there isn't any available solution within GCP just yet. You can follow this feature request or in the meantime, just point the requests to an on-prem service hosted in London that acts as a proxy.



来源:https://stackoverflow.com/questions/58041348/betfair-non-interactive-bot-login-doesnt-work-in-google-app-engine-region-eu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!