docs(readme): improve WSL network config and add TLS troubleshooting guide

This commit is contained in:
cfngc4594 2025-04-09 11:43:39 +08:00
parent cb940f8608
commit c5add2a42c

View File

@ -8,9 +8,9 @@
</div> </div>
## ⚠️ WSL Users: Critical Configuration ## ⚠️ Network Configuration & Troubleshooting
### 🐧 Network Mode Requirement ### 🐧 For WSL Users: Mirrored Network Mode Requirement
When using Windows Subsystem for Linux (WSL), you **must** configure your network mode as **Mirrored** to ensure proper LSP server connectivity. Standard WSL network configurations may create IPv6 conflicts that block Monaco-LSP communication. When using Windows Subsystem for Linux (WSL), you **must** configure your network mode as **Mirrored** to ensure proper LSP server connectivity. Standard WSL network configurations may create IPv6 conflicts that block Monaco-LSP communication.
@ -23,6 +23,16 @@ When using Windows Subsystem for Linux (WSL), you **must** configure your networ
Complete these steps before launching the editor for seamless LSP integration! 🎉 Complete these steps before launching the editor for seamless LSP integration! 🎉
### 🚨 Troubleshooting: TLS Connection Error Due to Network Proxy
If you encounter the following error:
```pgsql
[Error: Client network socket disconnected before secure TLS connection was established]
```
Please check if a network proxy (e.g., VPN, HTTP/SOCKS proxy, etc.) is enabled on your system and disable it. The active proxy may interfere with the establishment of a secure TLS connection.
## 🚀 Getting Started ## 🚀 Getting Started
### 🐳 Docker Deployment (Recommended) ### 🐳 Docker Deployment (Recommended)