Session IP recovery modes
ProxiesUse these username flags to control what happens when a sticky session cannot keep its current IP.
Modes
| Mode | What happens when the sticky IP is unavailable |
|---|---|
-unstick-fast | Skip waiting for the old IP and immediately try to pick a new matching IP |
-unstick-wait (default) | Try to recover the same IP for a short window, then try a replacement IP |
-unstick-err | Keep trying to recover the same IP and return sticky-IP errors while it is unavailable |
Legacy iplock mapping
iplock is still accepted, but unstick-* is more explicit.
| Legacy flag | Equivalent behavior |
|---|---|
-iplock-true | Similar to -unstick-err |
-iplock-false | Similar to -unstick-wait |
iplock has no equivalent for -unstick-fast.
Error codes to watch
| HTTP / internal | Meaning |
|---|---|
465 | Cannot fulfill targeting |
568 | Target-connect timeout |
569 | Peer unavailable |
570 | No peers available |
572 | Sticky IP unavailable |
When a session is healthy, requests still return normal target responses (for example 200 from ip-api.com/json).
Username examples
<username>-lifetime-300-session-docs01-country-us-unstick-fast
<username>-lifetime-300-session-docs01-country-us-unstick-wait
<username>-lifetime-300-session-docs01-country-us-unstick-err
<username>-lifetime-300-session-docs01-country-us-iplock-true
<username>-lifetime-300-session-docs01-country-us-iplock-falseCurl examples
Replace placeholders with your own credentials.
-unstick-fast
curl -x "http://proxy.geonode.io:10000" \
--proxy-user "<username>-lifetime-300-session-docs01-country-us-unstick-fast:<password>" \
"http://ip-api.com/json"-unstick-wait (default)
curl -x "http://proxy.geonode.io:10000" \
--proxy-user "<username>-lifetime-300-session-docs01-country-us-unstick-wait:<password>" \
"http://ip-api.com/json"-unstick-err
curl -x "http://proxy.geonode.io:10000" \
--proxy-user "<username>-lifetime-300-session-docs01-country-us-unstick-err:<password>" \
"http://ip-api.com/json"Validation snapshot
In our validation run, all listed flags were accepted and returned successful responses on a healthy session. The same session id and exit IP were preserved during normal operation.
Related
Was this page helpful?