> For the complete documentation index, see [llms.txt](https://docs.shieldproxies.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shieldproxies.com/troubleshooting/sticky-and-rotating-session-troubleshooting.md).

# Sticky & Rotating Session Troubleshooting

Troubleshoot Residential proxies that rotate unexpectedly or remain sticky when rotation is expected.

Residential proxy behavior depends on the selected session type and the product's supported rotation behavior.

## If a sticky proxy changes IP

A sticky session should use the same session identifier across repeated requests for the supported session duration.

Check the following:

* the same session ID is being reused on every request
* your application is not generating a new session ID automatically
* the session syntax has not been changed or truncated
* the sticky-session duration has not expired
* the requested location or other parameters remain the same

A sticky IP can still change if the underlying residential device becomes unavailable or the supported session expires.

## If a rotating proxy keeps returning the same IP

Rotation does not always guarantee a different IP on every single request. Test across multiple requests and sessions before deciding that rotation is not working.

Check that:

* you selected **Rotating** rather than **Sticky** when generating the proxies
* you are not reusing a sticky session parameter
* your application is not keeping the same connection open indefinitely
* the product's intended rotation mode matches your expectation

## A simple test

{% stepper %}
{% step %}

### Confirm the generated proxy type

Review [Proxy Formats: Rotating, Sticky & ISP](https://docs.shieldproxies.com/using-your-proxies/proxy-formats-rotating-sticky-isp.md) and make sure the proxy was generated with the intended session type.
{% endstep %}

{% step %}

### Make repeated requests

For a sticky test, reuse one session ID. For a rotating test, avoid forcing a sticky session.
{% endstep %}

{% step %}

### Record the returned IPs

Compare the IP returned over several requests rather than relying on one request.
{% endstep %}

{% step %}

### Contact support if behavior is consistently wrong

Provide the product, generated proxy type, session ID where relevant, returned IPs, timestamps, and the application you are using.
{% endstep %}
{% endstepper %}

## Related guides

* [Proxy Formats: Rotating, Sticky & ISP](https://docs.shieldproxies.com/using-your-proxies/proxy-formats-rotating-sticky-isp.md)
* [Generate Residential Proxies](https://docs.shieldproxies.com/using-your-proxies/generate-residential-proxies.md)
* [Proxy Works in Tester but Not in App or Site](https://docs.shieldproxies.com/troubleshooting/proxy-works-in-tester-but-not-in-app-or-site.md)
* [Open a Support Ticket](https://docs.shieldproxies.com/support-and-community/open-support-ticket.md)
