Problem Codes
Previous Topic  Top  next topic

Any problem detected by Simple Failover is categorized with a 3 digit code as follows:

The first digit indicates server polling or DNS problem:
1
xx = Server polling problem
2xx = DNS checking / update problems

The second digit indicates the general type of problem encountered:
x
1x = Error encountered - usually an TCP/IP communication error (Winsock error)
x
2x = Timeout waiting for connection or response
x
3x = The connection was untimely closed by other side
x
4x = Invalid / unexpected response received

The third digit indicates at what stage in the process the problem was encountered (different for polling / DNS):
1x1 = Initializing connection
1x2 = Waiting other side to complete connection
1x3 = Sending request
1x4 = Waiting for the sent request to get through
1x5 = Waiting for a response
1x6 = While receiving the response
1x7 = When processing the full response
2x1 = Requesting A-records from DNS server
2x2 = Requesting SOA-record from DNS server (to obtain zone name)
2x3 = Sending DNS update request

As an example, problem code 125
means that the polled server did not respond to a request within a reasonable time period.

These codes are used when calling script procedures.