Page 1 of 1

Bot not logging in on VPS

Posted: Tue Aug 02, 2022 12:29 pm
by thetonyshort
Hi, I've got a VPS running Windows Server 2016. Have installed BF Bot and attempted to login but it seems to hang without doing anything further.

I understand from looking at historical topics in this forum that the server should have Microsoft .Net Framework 4.7 installed on your computer which it does.

I've attached the log file if anybody is able to support on understanding what else is needed to be able to go log in.

02/08/2022 03:15:39: Start V3. 3.1.20.702
02/08/2022 03:17:15: RescriptClient:login Exception: System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at BFNGAPI.RescriptClient.IFH5fFp8BhNo8dHuyuy(Object )
   at BFNGAPI.RescriptClient.login(String username, String password, BfJurisdictionEnum region)
02/08/2022 03:17:15: LoginBotXtraForm:EventsController_OnLogin report is null, failed to login?
02/08/2022 03:19:04: Start V3. 3.1.20.702
02/08/2022 03:19:41: RescriptClient:login Exception: System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at BFNGAPI.RescriptClient.IFH5fFp8BhNo8dHuyuy(Object )
   at BFNGAPI.RescriptClient.login(String username, String password, BfJurisdictionEnum region)
02/08/2022 03:19:41: LoginBotXtraForm:EventsController_OnLogin report is null, failed to login?
02/08/2022 03:30:06: Start V3. 3.1.20.702
02/08/2022 03:30:37: RescriptClient:login Exception: System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at BFNGAPI.RescriptClient.IFH5fFp8BhNo8dHuyuy(Object )
   at BFNGAPI.RescriptClient.login(String username, String password, BfJurisdictionEnum region)
02/08/2022 03:30:37: LoginBotXtraForm:EventsController_OnLogin report is null, failed to login?
02/08/2022 03:41:34: Start V3. 3.1.20.702
02/08/2022 03:42:11: RescriptClient:login Exception: System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at BFNGAPI.RescriptClient.IFH5fFp8BhNo8dHuyuy(Object )
   at BFNGAPI.RescriptClient.login(String username, String password, BfJurisdictionEnum region)
02/08/2022 03:42:11: LoginBotXtraForm:EventsController_OnLogin report is null, failed to login?
02/08/2022 04:10:36: Start V3. 3.1.20.702
02/08/2022 04:11:03: RescriptClient:login Exception: System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at BFNGAPI.RescriptClient.IFH5fFp8BhNo8dHuyuy(Object )
   at BFNGAPI.RescriptClient.login(String username, String password, BfJurisdictionEnum region)
02/08/2022 04:11:03: LoginBotXtraForm:EventsController_OnLogin report is null, failed to login?




Thank You

Re: Bot not logging in on VPS

Posted: Tue Aug 02, 2022 4:34 pm
by BfBotManager
Hi Tony,

Returned error by exchange is "Forbidden", so your VPS is probably located in country from which access is not allowed e.g. USA, Germany, Canada, France etc.

Following is help article about VPS that we recommend and that are located in the UK:
https://www.bfbotmanager.com/en/help/vps

Re: Bot not logging in on VPS

Posted: Tue Aug 02, 2022 5:09 pm
by thetonyshort
Hi, thanks for getting back.

Looking at the VPS set-up it seems to suggest it's based in the UK?

Thanks, Tony

Re: Bot not logging in on VPS

Posted: Tue Aug 02, 2022 7:15 pm
by BfBotManager
Bot or your server is not allowed to access Betfair API as web exception is returned with 403 Forbidden code. This has nothing to do with the bot, it is something related to your VPS, firewall or network connection settings.