-
-
Notifications
You must be signed in to change notification settings - Fork 8
Proxy and Rate Limits
This page is the canonical place for proxy and rate-limit behavior in RenLocalizer.
For performance tuning details, also see: Performance-Optimization.
HTTP 429: Too Many Requests means the source IP is being throttled by Google.
In practice, Google rate-limits by IP, not by a single mirror domain. So if one mirror returns 429, other mirrors from the same IP may also be affected.
This is why endpoint switching alone may not fully solve heavy throttling windows if the same source IP keeps being reused.
RenLocalizer now applies a global cooldown and safer pacing to reduce ban cascades:
- Global cooldown on 429: escalating backoff (short to longer waits)
- Health-aware endpoint selection: unhealthy mirrors are deprioritized/temporarily banned
- Request jitter + pacing: avoids synchronized bursts
- Lower risky parallelism: helps stability under heavy load
-
Smart Proxy Isolation: Proxy rotation is now intelligently disabled for local instances (
localhost,127.0.0.1). Only public endpoint traffic routes through configured proxies. - User-Agent Rotation (LibreTranslate): Randomized browser User-Agent spoofing for public LibreTranslate endpoints minimizes rate-limit blocks and IP bans.
-
Exponential Backoff (LibreTranslate): 3-tier retry logic (2s, 4s, 8s) automatically handles
429 Too Many Requestsfor LibreTranslate.
Result: fewer cascade bans and more stable long runs.
- Speed becomes more stable over long sessions.
- Hard fail storms are reduced, but not fully eliminated if IP pressure is high.
- Some batches may still slow down intentionally due to cooldown logic.
- If
proxy_urlormanual_proxiesis configured, RenLocalizer uses only personal/manual proxies. - Free proxy sources are used only as fallback when no personal/manual proxy is configured.
This prevents reliable private proxies from being mixed with unstable public pools.
- Mixing private and public proxies in the same rotation often destroys consistency.
- Public lists can inject many dead/blocked nodes into an otherwise healthy pool.
- Isolating personal proxies improves predictability and easier troubleshooting.
- With
auto_rotate = true, proxies rotate automatically. - Failed proxies are deprioritized; successful ones get healthier scores.
- Residential proxies: best success rate, usually best sustained throughput.
- Datacenter proxies: can be fast but are often pre-flagged on some endpoints.
- Public/free proxies: highly volatile; many are dead, overloaded, or already blocked.
-
Open Settings β Proxy.
-
Enable proxy usage.
-
Choose one mode:
-
Personal Proxy URL (
http://user:pass@host:port) β recommended -
Manual Proxy List (
IP:PORT, one per line) - No personal proxy β free-proxy fallback mode
-
Personal Proxy URL (
-
Enable auto-rotate if you have multiple usable proxies.
-
Start with moderate concurrency and observe 429 frequency.
- For best reliability: use a personal/residential proxy.
- If using free proxies: expect unstable uptime and variable speed.
- Keep request delay reasonable when translating very large projects.
- If you still see repeated 429, pause briefly and resume (or switch proxy pool).
RenLocalizer includes a free proxy fallback mode, but real-world quality is limited:
- Finding actually working free proxies is often very hard.
- Many public endpoints are already burned/blocked.
- Even "working" entries can die after a short time.
Treat free proxy mode as emergency fallback, not as a high-reliability production setup.
- Repeated 429 on many mirrors:
- Lower concurrency slightly
- Increase request delay a bit
- Wait for cooldown window
- Frequent timeouts / unstable speed:
- Check proxy quality first
- Remove dead proxies from manual list
- Throughput is inconsistent batch-to-batch:
- This can be normal under adaptive cooldown
- Use better proxy quality for smoother long-run speed
- β Residential proxies: best success rate
β οΈ Datacenter proxies: fast but frequently pre-blocked- β Public/free lists: inconsistent, often already burned
- Performance-Optimization
- External-Translation-Memory β TM matches skip API entirely, reducing proxy/rate-limit pressure
- Advanced-Parsing
- RPA-Extraction
- Glossary-Management
- External-Translation-Memory β (NEW) Reuse translations across games
- Technical-Filtering
- Proxy-and-Rate-Limits
- Web-Google-Translate-Guide