Connection Retry and Reconnect¶
StormTunnel has two features for handling connection failures:
- Auto-Retry (Premium) - Retries when initial connection fails
- Auto-Reconnect (Free) - Reconnects when an established tunnel drops
Quick Comparison¶
| Feature | Auto-Retry | Auto-Reconnect |
|---|---|---|
| License | Premium | Free |
| When it applies | Initial connection fails | Established connection drops |
| Max attempts | 1-5 (configurable) | Unlimited |
| Default | Disabled | Enabled |
| Delay | 5 seconds | 5 seconds |
Auto-Retry (Premium)¶
Automatically retries failed initial connection attempts.
When It Helps¶
- Unreliable networks (public WiFi, cellular)
- Servers with intermittent availability
- Network handoffs (WiFi → Cellular)
Configuration¶
- Edit tunnel → Advanced Options
- Enable Intelligent Auto-Retry
- Set Max Retry Attempts (1-10, default: 3)
Behavior¶
- Initial connection fails
- Waits with exponential backoff (1s → 2s → 4s → 8s...)
- Retries (up to max attempts, default: 3)
- Stops after max attempts reached or connection succeeds
Note
Requires Premium license. Free users see the option but can't enable it.
Auto-Reconnect (Free)¶
Automatically reconnects when an established tunnel drops unexpectedly.
When It Helps¶
- Long-running tunnels (databases, APIs)
- Network instability (WiFi drops, VPN reconnects)
- Laptop sleep/wake scenarios
- Server reboots
Configuration¶
- Edit tunnel → Advanced Options
- Enable Auto-Reconnect (enabled by default)
Behavior¶
- Established connection drops
- Waits 5 seconds
- Attempts to reconnect
- Repeats until successful (no limit)
Recommended Settings¶
Production Database¶
Unreliable Server (Premium)¶
Quick Development Tasks¶
Troubleshooting¶
Retry Not Working¶
- Is Auto-Retry enabled in tunnel settings?
- Do you have Premium license?
- Is this an initial connection? (Retry only works on first connect)
Reconnect Not Working¶
- Is Auto-Reconnect enabled in tunnel settings?
- Was the tunnel previously connected? (Only works after successful connection)
Too Many Retry Attempts¶
If credentials are invalid, retrying won't help. Fix credentials first, then retry.
Related¶
- Creating Tunnels - Tunnel configuration
- License Settings - Premium features
- Troubleshooting - Connection issues