Session IP recovery modes

Proxies

Use these username flags to control what happens when a sticky session cannot keep its current IP.

Modes

ModeWhat happens when the sticky IP is unavailable
-unstick-fastSkip 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-errKeep 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 flagEquivalent behavior
-iplock-trueSimilar to -unstick-err
-iplock-falseSimilar to -unstick-wait

iplock has no equivalent for -unstick-fast.

Error codes to watch

HTTP / internalMeaning
465Cannot fulfill targeting
568Target-connect timeout
569Peer unavailable
570No peers available
572Sticky 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-false

Curl 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.

Was this page helpful?

On this page