mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-30 21:15:18 +00:00
feat(service): warn when a proxy exit is outside GEOFENCE
This commit is contained in:
@@ -231,9 +231,10 @@ proxy. The service stops with `Proxy check failed` in two cases:
|
||||
unshackle tries each geolocation API in turn, and a 429 moves on to the next one. If at
|
||||
least one API answers through the proxy but none of them gives an IP, the proxy passes
|
||||
the check without the IP comparison. unshackle does not compare the exit country with the region you asked for,
|
||||
because geolocation data can be out of date.
|
||||
because geolocation data can be out of date. When the service lists the regions it supports and
|
||||
the proxy exit is in none of them, unshackle logs a warning and continues.
|
||||
|
||||
Over the REST API, the server returns this failure to the client as `INVALID_PROXY`.
|
||||
Over the REST API, the server returns a `Proxy check failed` error to the client as `INVALID_PROXY`.
|
||||
|
||||
### System proxy and environment variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user