mirror of
https://github.com/tuanngocptn/nport.git
synced 2026-04-26 05:35:48 +03:00
-
v2.0.7 Stable
released this
2026-01-16 07:26:34 +03:00 | 44 commits to main since this release📅 Originally published on GitHub: Fri, 16 Jan 2026 04:29:55 GMT
🏷️ Git tag created: Fri, 16 Jan 2026 04:26:34 GMT[2.0.7] - 2026-01-14
Added
- 🌐 Smart Network Warning System: Intelligent handling of QUIC/network connectivity issues
- Automatic detection and filtering of QUIC protocol errors
- User-friendly warning messages instead of scary red error spam
- Bilingual support (English & Vietnamese)
- Smart throttling: Shows warning only after 5 errors, max once per 30 seconds
- Clear explanations of what's happening and how to fix it
- Automatic reset when connection is restored
- 🔒 Protected Subdomain Support: Enhanced error handling for reserved subdomains
- User-friendly error message when trying to create protected subdomains (like
api) - Formatted error output matching existing error style
- Helpful suggestions to use alternative subdomain names
- Prevents accidental use of backend service subdomains
- User-friendly error message when trying to create protected subdomains (like
Improved
- 🔇 Cleaner Terminal Output: No more error spam from cloudflared
- QUIC timeout errors are now silently tracked instead of displayed
- Network warnings filtered: "failed to accept QUIC stream", "timeout: no recent network activity", etc.
- Only shows meaningful warnings when there's an actual persistent issue
- Terminal stays clean and readable during normal operation
- 📡 Better User Communication: Context-aware network issue reporting
- Explains that QUIC failures are usually not critical
- Tunnel continues working via HTTP/2 fallback
- Provides actionable troubleshooting steps
- Reassures users that the tunnel is still functional
- ✨ Better Error Messages: Enhanced user feedback for protected subdomains
- Catches
SUBDOMAIN_PROTECTEDerrors from backend - Formats error messages consistently with other error types
- Shows actionable options when subdomain is reserved
- Catches
Technical Details
- Network Error Patterns: Added detection for 7 common QUIC/network error patterns
- State Management: New network issue tracking in application state
networkIssueCount: Counter for network errorslastNetworkWarningTime: Timestamp tracking for cooldownshouldShowNetworkWarning(): Smart decision logic
- Configuration: New
NETWORK_CONFIGwith threshold and cooldown settings - Bilingual Messages: Complete translations for all network warning messages
- Protected Subdomain Handling: Enhanced error handling in
src/api.js- Added check for
SUBDOMAIN_PROTECTEDerror type - Consistent formatting with existing error messages
- Clear user guidance for alternative subdomain choices
- Added check for
User Experience
Before:
[Cloudflared] 2026-01-14T04:33:02Z ERR failed to accept QUIC stream... [Cloudflared] 2026-01-14T04:33:03Z ERR failed to accept QUIC stream... [Cloudflared] 2026-01-14T04:33:04Z ERR failed to accept QUIC stream... [Cloudflared] 2026-01-14T04:33:05Z ERR failed to accept QUIC stream...After:
✔ [1/2] Connection established... ✔ [2/2] Compression enabled... ⚠️ NETWORK CONNECTIVITY ISSUE DETECTED Cloudflared is having trouble maintaining a stable connection... 📡 Your tunnel is still working, but connection quality may be affected. 💡 Possible reasons: • Unstable internet connection or high packet loss • Firewall/Router blocking UDP traffic (QUIC protocol) • ISP throttling or network congestion 🔧 What to try: • Check your internet connection stability • Try connecting from a different network • Disable VPN/Proxy if you're using one ℹ️ This is usually not critical - your tunnel should continue working normally.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- 🌐 Smart Network Warning System: Intelligent handling of QUIC/network connectivity issues