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

327 views Asked by At

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

There are 1 answers

0
Alex Riquelme On

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.