How Does VPN Tunnel Reauthentication Affect Long-Running Apps?
VPN tunnels renew keys or re-check who you are from time to time, and a call, an upload or an SSH session can feel a short hiccup. Learn what happens and how to make long sessions more tolerant.
10 min readUpdated Nov 3, 2026By XPASS Editorial Team

You start a long video call, leave a large upload running, or keep an SSH session open all afternoon. For most of that time everything is fine. Then, once in a while, the picture freezes for a few seconds, the terminal stops echoing what you type, or a transfer pauses and picks up again. Nothing in the app tells you why. Sometimes the culprit is your Wi-Fi, but sometimes it is the VPN tunnel doing routine housekeeping: renewing its keys or checking again that both ends are still who they say they are.
This article explains that housekeeping in plain terms, why long-running apps are the ones that notice it, and what you can do about it. It does not describe how often any particular service renews anything, because that differs between connection methods and server settings and can change. If you want the opening exchange that creates a tunnel in the first place, read What Is a VPN Handshake? first. This article is about what happens many minutes or hours later.
What reauthentication and rekeying mean
Two related ideas get mixed up, so it helps to separate them.
Rekeying means replacing the secret keys that scramble your traffic. A tunnel does not use one key forever. After some amount of time or data, it negotiates a fresh set. The reason is damage limitation: if a key were ever exposed, the harm is limited to the traffic protected by that one key. Fresh keys also give a property often called forward secrecy, which the article on perfect forward secrecy in a VPN covers in more detail.
Reauthentication means proving identity again. Depending on the design, that might be a repeat of the sign-in check with a certificate, a password-based credential or another method, or it may simply be the same mutual check that happens inside a rekey. Some setups also have an upper limit on how long one session may last, after which the client must sign in again. Whether a given service does this, and how, depends on how it was configured.
The standards describe these ideas in general terms. The IKEv2 specification, for example, discusses creating new keys for an existing tunnel and how the two ends keep working while they do it. The WireGuard whitepaper describes timers that cause new keys to be negotiated as a session ages. Which of these ideas applies to the connection you use is something your app and your provider decide; this article does not claim anything about it.

Why the tunnel renews keys
A VPN promises that traffic between you and the server is protected. Protection that lasts for months on a single key would be weak. Renewing keys regularly has several benefits.
- It limits exposure. The less data one key protects, the less an attacker gains from a single compromise.
- It limits replay and counter problems. Ciphers use counters or numbers that must never repeat under the same key. Renewing before they run out keeps that promise.
- It lets the server clean up. A server tracks state for every client. Periodic renewal also tells it which clients are still alive and which left without saying goodbye.
- It lets the operator apply policy. Some operators want credentials checked again, for example so that an expired or disabled account stops working without waiting for the user to disconnect. For an XPASS pass, access ends when the pass expires, so a long-running session cannot be expected to carry on indefinitely past that date.
None of this means your VPN is unstable. A well-built tunnel does the renewal in the background while traffic keeps flowing, using the old key until the new one is ready. In that case you notice nothing. The rest of this article is about the cases where you do.
Why you sometimes feel it
Rekeying is not supposed to interrupt anything, so why would a long call freeze? A few reasons stack up.
- The exchange needs the network. Renewing keys requires messages to travel between your device and the server and back. If the network is slow or briefly lossy at that moment, the renewal takes longer, and so does anything queued behind it. The Cloudflare explainer on latency shows why every round trip adds delay.
- Some setups pause traffic during the swap. Not every implementation overlaps the old and new keys smoothly. A few drop or delay packets for a moment while switching.
- A reauthentication can mean a brief reconnect. If the client must sign in again, it may tear down and rebuild the tunnel. During that gap there is no path for your traffic.
- Your address inside the tunnel might change. Apps hold connections that are tied to an address. When a rebuilt tunnel hands out a different internal address, existing connections may no longer match and are reset.
- The device is busy or constrained. A phone in battery saver mode or a laptop under heavy load may run the renewal late.
A pause of a second or two is typically harmless to a chat message. A video call or a game may stutter for a moment. A fragile session, such as a remote desktop link or a database connection with a short timeout, may drop completely. That is why long-running apps are the ones you notice.
How different apps react to a short stall
Apps differ widely in how much silence they tolerate. The table gives a rough picture of typical behaviour, not a promise about any particular program.
| Type of app | What a short stall tends to look like | Why |
|---|---|---|
| Video call | Frozen picture or robotic audio for a few seconds, then recovery | Real-time media tolerates loss but not long gaps |
| SSH session | Typed characters appear late, or the session reports a broken pipe | The connection waits for acknowledgements and may time out |
| Large upload | Progress bar stops, then continues or restarts | Depends on whether the tool can resume |
| Chat app | Message shows as sending, then delivers | Chat apps retry in the background |
| Remote desktop | Screen freezes, may reconnect with a login prompt | Sessions often have short keep-alive limits |
| Streaming video | Buffer drains, quality drops, then recovers | A buffer hides short gaps |
| Online game | Rubber-banding or a kick for lag | Games expect steady, low delay |
The difference between "paused" and "dropped" is whether the application-level connection survives. If the tunnel returns quickly with the same internal address, many TCP connections carry on as if nothing happened, because TCP retries unacknowledged data. If the pause is long, or the address changes, the far end may give up first.
Make your apps tolerant
You cannot control how a tunnel renews keys, but you can make your own work forgiving of a short pause.
For SSH and terminal work
- Turn on keep-alive messages in your SSH client, so a silent moment does not look like a dead link. The usual options are
ServerAliveIntervalandServerAliveCountMaxin your client configuration. Choose values that wait longer than a typical pause rather than shorter. - Run long jobs inside a terminal multiplexer such as
tmuxorscreen, or undernohup. If the connection breaks, the job continues on the server and you reattach later. - Consider a tool designed for flaky links, such as one that survives IP changes, if your administrator allows it.
For uploads and downloads
- Use tools that can resume, and split very large files if the service supports it.
- Prefer a sync tool over dragging one huge file in a browser. A sync tool checks what is already there and continues.
- Avoid starting a multi-hour transfer right before you board a train or leave Wi-Fi coverage.
For video calls and remote desktop
- Keep the call app and the VPN app updated so they handle reconnects better.
- Join a few minutes early and look for the call quality indicator; if it shows trouble, reconnect the VPN before the meeting rather than during it.
- For remote desktop, enable the client's automatic reconnect option if it has one.
For anything you cannot afford to lose
- Save work locally often. If the session dies, you lose minutes, not hours.
- Schedule heavy, uninterruptible tasks for times when you can keep your device plugged in, awake and on a stable network.
What to check if drops repeat
A single freeze is not a pattern. Several freezes at suspiciously even intervals are. Use this routine to separate a tunnel timer from ordinary network trouble.
- Write down the times. Note when each freeze happens, to the nearest minute. Use a plain note on your phone.
- Look at the gaps. If the pauses come at roughly the same interval, such as every hour or every few hours, a timer inside the tunnel or in the server settings is a likely cause. If they are random and cluster around movement or busy periods, suspect Wi-Fi or signal.
- Test without the tunnel, briefly. On a network you trust, turn the VPN off and run the same activity for a while. If the freezes remain, the cause is your connection, not the VPN.
- Change one thing at a time. Move closer to the router, switch between Wi-Fi and mobile data, or try another network. The guide on improving VPN connection stability lists the usual steps.
- Check the device. Battery saver, aggressive sleep settings and background restrictions can all delay a renewal. After a sleep or lid-close, a different problem applies, covered in VPN won't reconnect after sleep.
- Keep the app and system updated. Reconnect handling improves with updates.
- Confirm your pass is still valid. A pass that expires mid-session ends access, and that looks like a sudden drop. Check My Pass for the end date.
If you also see a mid-tunnel keep-alive pattern, such as connections that die when idle rather than at fixed intervals, the idea explained in VPN persistent keepalive may be the better match. Keep-alives and rekeys are different things, although they can feel similar from the outside.

A plain example
Nok works from home and keeps an SSH session to a work server open all day, plus a long video call every afternoon. She notices that roughly once an hour the terminal freezes for about five seconds, then catches up. The call picture sometimes freezes at what feels like the same moments.
She writes down three freezes: 10:02, 11:03, 12:01. The spacing is close to an hour, which suggests a timer rather than random Wi-Fi. She turns the VPN off for an afternoon on her trusted home network and the freezes disappear, so the connection itself is fine. She does not conclude that anything is broken. She makes two changes: SSH keep-alive values that wait longer, and tmux so a long job survives a break. She also notes the times for support in case the pattern continues. The freezes still happen, but they no longer cost her any work.
Nok did not need to know what the tunnel was doing internally. She needed a pattern, a test and a tolerant setup.
Limits and what to watch for
- You cannot see the tunnel's inner timers. Most apps show only connected or disconnected. A pause can be rekeying, a reconnect, a network blip or something else, and an app may not tell you which.
- Regular intervals are a clue, not proof. Other scheduled things, such as a router that renews its own link or a backup tool, can also work on a timer.
- Behaviour varies by connection method and over time. What one setup does, another may not, and a supplier can change settings. Do not rely on a fixed schedule.
- A VPN does not guarantee uninterrupted access. No tunnel can promise a perfectly continuous connection, and an unstable underlying network will always show through.
- Do not trade security for convenience. Disabling protective features, or using unofficial tweaks to stretch a session, can weaken your protection. Prefer tolerant apps over fragile tunnels.
- Respect the rules of the services you use. Keeping a session alive is fine, but do not use workarounds that break a service's terms.
- Expiry is final. When a pass ends, the tunnel stops working. Renewing adds days on top of any that remain, so renew before an important long task.
For wider background, the NIST guide to IPsec VPNs gives a vendor-neutral view of how long-lived tunnels are managed.
Summary
A VPN tunnel refreshes its keys, and sometimes checks identity again, to keep its protection strong. Often this is invisible, but a long call, an SSH session or a big upload can feel a short stall when the renewal is slow, the tunnel is rebuilt or the internal address changes. Make your work tolerant with keep-alives, resumable transfers and sessions that survive a break, and diagnose repeated drops by recording times and testing one change at a time. How and when this happens varies by connection method and server settings, so this article makes no promise about any specific timing. If you want a pass to test these habits on your own devices, the pricing page shows what is available.
Frequently asked questions
What is VPN reauthentication or rekeying in simple terms?
It is the tunnel renewing the secret keys it uses, and sometimes checking again that both ends are who they claim to be. It keeps one set of keys from being used for too long. Many designs do this in the background so quietly that you never notice, but some setups cause a short pause.
Why did my video call freeze for a few seconds and then recover?
Several things can cause that, and a key renewal or a brief reconnect is only one of them. A Wi-Fi roam, a weak mobile signal or a busy network can look identical. If the freeze repeats at regular intervals, a timer inside the tunnel becomes a more likely suspect.
Will my SSH session or download always survive a reconnect?
Not always. If the tunnel keeps the same internal address and the pause is short, many connections simply resume. If the address changes or the pause is long, the other side may time out and close the connection. Tools that can resume, such as ones with built-in retry, cope much better.
Can I stop my VPN from renewing keys?
You usually should not try. Renewing keys is a security feature, and most apps do not expose a setting for it. A better approach is to make your own apps tolerant of a short pause and to keep the connection stable.
How often does this happen with XPASS?
The timing depends on the connection method and the supplier's server settings, and it can change. This article describes the general idea only. If repeated drops are hurting your work, note the times and contact support.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

VPN Security
What Is a VPN Handshake?
The handshake is what happens in the moment between pressing connect and seeing the connected icon. This article lays out the stages, the round-trip cost, what observers can see and how to diagnose each kind of failure.
10 min read

VPN Security
WireGuard PersistentKeepalive Explained
A plain explanation of WireGuard's PersistentKeepalive setting: why idle tunnels go quiet, how NAT timers cause it, when to use 25 seconds and when to leave it off.
9 min read

Troubleshooting
VPN Won't Reconnect After Sleep Mode
Why a VPN tunnel dies while your device sleeps, how to tell a stale connection from a real fault, and the exact steps to get it back on every wake-up.
9 min read