Automation Rule error message

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
tractorboy
Posts: 20
Joined: Mon Jun 26, 2023 10:18 pm

I have today had a error message re an automation rule (see below) The rule has run ok previously & has just run on another match. Amy ideas what the message means.
28-Aug-23 17:29:00: [G_Auto 1] : APING Exception: HTTP,The remote server returned an error: (502) Bad Gateway. ,
28-Aug-23 17:31:33: Guardian has detected that the market is in-play
28-Aug-23 17:31:33: Guardian has detected that the market is suspended
28-Aug-23 17:31:34: Guardian has detected that the market is now unsuspended
28-Aug-23 18:48:16: Guardian has detected that the market is suspended
28-Aug-23 18:48:19: Guardian has detected that the market is now unsuspended
28-Aug-23 18:49:20: [G_Auto 2] : Automation Signal for Udinese: awaygoal = 1
28-Aug-23 19:03:44: Guardian has detected that the market is suspended
28-Aug-23 19:03:47: Guardian has detected that the market is now unsuspended
28-Aug-23 19:04:51: [G_Auto 2] : Automation Signal for Salernitana: homegoal = 1
User avatar
ShaunWhite
Posts: 10562
Joined: Sat Sep 03, 2016 3:42 am

Temporary api glitch. Line 1 is referring to your request not being received. They're often very brief situations but can obviously persist in the worst cases.

I asked ChatGPT (v4) to be sure...👍

The error "The remote server returned an error: (502) Bad Gateway" indicates a network error between two servers on the internet. Here's a breakdown:

1. **What is a 502 Bad Gateway Error?**:
- It's an HTTP status code that one server on the internet receives when it communicates with another server and gets an invalid response.

2. **What Causes this Error?**:
- There are various reasons for a 502 Bad Gateway error, including:
- The main server is down or not working.
- Network issues between the two servers.
- Traffic overload on the main server.
- Configuration issues.
- Issues with content delivery networks (CDNs).
- Faulty programming or scripts.

3. **Where does it happen?**:
- This error typically arises in the context of web servers and proxies. When you try to access a website, your request might go through multiple servers before reaching the destination server (where the website is hosted). If any server along this path fails to receive a valid response from the next server, it might return a 502 Bad Gateway error to the client (you).

4. **How to Fix?**:
- **For Users**:
- Refresh the webpage.
- Clear browser cache and cookies.
- Try accessing the site with a different browser or device.
- Wait for a while and try again later.
- **For Webmasters/Developers**:
- Check server logs for any errors.
- Ensure the proxy settings are correctly configured.
- Verify that all servers in the network chain are operational.
- Look into server resource issues or overload.
- Check for faulty scripts or configuration files.

Remember, resolving a 502 Bad Gateway error depends on where the problem lies. If it's on the end-user side, following the user-based solutions might help. If it's on the server-side, the website owner or admin will need to address the issue.
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

I think I got that error message in my browser when I visited a Betfair page so I guess it was an issue with Betfair.

"Bad gateway" is probably an error message written by an eight-year-old!
tractorboy
Posts: 20
Joined: Mon Jun 26, 2023 10:18 pm

Thank you both for your responses
User avatar
ShaunWhite
Posts: 10562
Joined: Sat Sep 03, 2016 3:42 am

Derek27 wrote:
Mon Aug 28, 2023 8:32 pm
"Bad gateway" is probably an error message written by an eight-year-old!
It's a refreshingly clear description of the actual problem, much better than the vague and slightly depressive Error 417 - Expectation Failed :?
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

ShaunWhite wrote:
Tue Aug 29, 2023 12:01 am
Derek27 wrote:
Mon Aug 28, 2023 8:32 pm
"Bad gateway" is probably an error message written by an eight-year-old!
It's a refreshingly clear description of the actual problem, much better than the vague and slightly depressive Error 417 - Expectation Failed :?
Invalid gateway. :)
Post Reply

Return to “Bet Angel - Automation”