Discord error 1006 appears when you try to reconnect to a voice channel or server after a connection drop. The error message reads “WebSocket closed abnormally on reconnect” and prevents you from sending messages or joining voice chat. This error is caused by a temporary handshake failure between the Discord client and its servers, often triggered by network interruptions, VPN interference, or corrupted cached data. This article explains the root cause of error 1006 and provides five proven methods to fix it.
Key Takeaways: Fixing Discord Error 1006 WebSocket Closed Abnormally
- User Settings > Voice & Video > Reset Voice Settings: Restores default audio and WebSocket configuration to clear handshake errors.
- Windows Firewall Outbound Rule for Discord: Blocking Discord from using the internet causes WebSocket failures; re-allow it in firewall settings.
- Clear Discord Cache (AppData and %temp%): Corrupted cache files prevent proper WebSocket reconnection; deleting them forces a fresh connection.
Why Discord Error 1006 Occurs
Discord uses WebSocket technology to maintain a persistent, low-latency connection between the client and server for real-time messaging and voice. Error 1006 means the WebSocket connection was closed abnormally, meaning the client or server did not send a proper close frame during the handshake. This typically happens when:
- Network interruptions: A brief loss of internet connectivity, packet loss, or high latency can cause the WebSocket to drop mid-handshake.
- VPN or proxy interference: VPNs that change your IP address mid-session or proxies that modify WebSocket headers can break the connection.
- Corrupted Discord cache: Stored WebSocket session data in the cache may conflict with the server’s expected state on reconnect.
- Firewall or antivirus blocking: Security software that blocks Discord’s outbound traffic on port 443 or 80 can cause abnormal WebSocket closures.
- Outdated Discord client or network drivers: An old version of Discord or a misconfigured network driver may not handle WebSocket reconnection properly.
The error is not a ban or account issue. It is a transient connection problem that can be resolved by resetting Discord’s voice settings, clearing cache, or adjusting network configurations.
Steps to Fix Discord Error 1006 WebSocket Closed Abnormally
Follow these methods in order. Test after each method by reconnecting to a voice channel or sending a message. Do not skip steps.
Method 1: Reset Discord Voice Settings
- Open Discord User Settings
Click the gear icon next to your username at the bottom left of the Discord window. - Navigate to Voice & Video
In the left sidebar, select Voice & Video under App Settings. - Reset Voice Settings
Scroll to the bottom of the Voice & Video page and click the Reset Voice Settings button. A confirmation dialog will appear. Click Okay. - Restart Discord
Close Discord completely and reopen it. Try joining a voice channel or sending a message to verify the error is resolved.
Method 2: Clear Discord Cache
- Close Discord Completely
Right-click the Discord icon in the system tray and select Quit Discord. Ensure the process is not running in Task Manager. - Open the Run Dialog
Press Windows Key + R on your keyboard. - Access AppData Folder
Type%appdata%/discordand press Enter. This opens the Discord settings and cache folder. - Delete Cache Subfolders
Inside the Discord folder, delete the following folders: Cache, Code Cache, and GPUCache. Do not delete the entire Discord folder. - Clear Temp Files
Press Windows Key + R again, type%temp%, and press Enter. Delete all files and folders inside the Temp folder. Skip files that are in use. - Restart Discord
Open Discord. It will create fresh cache files. Check if error 1006 is gone.
Method 3: Disable VPN or Proxy
- Disconnect Your VPN
Open your VPN client and disconnect from the server. If you use a browser-based proxy, disable it in your browser settings. - Disable Windows Proxy Settings
Go to Settings > Network & Internet > Proxy. Turn off Use a proxy server if it is enabled. - Flush DNS Cache
Open Command Prompt as Administrator and runipconfig /flushdns. Then restart Discord.
Method 4: Allow Discord Through Windows Firewall
- Open Windows Defender Firewall
Press Windows Key + R, typewf.msc, and press Enter. - Check Outbound Rules
In the left pane, click Outbound Rules. Scroll down and look for any rule that blocks Discord. If you see a rule named Discord with a red icon (blocked), double-click it. - Enable the Rule
In the Properties window, under General, select Allow the connection. Click Apply and OK. - Restart Discord
Close Discord and reopen. Test the connection.
Method 5: Reinstall Discord
- Uninstall Discord
Go to Settings > Apps > Apps & features. Find Discord, click it, and select Uninstall. Confirm the uninstallation. - Delete Remaining Discord Folders
Open File Explorer and navigate to%appdata%/discordand%localappdata%/discord. Delete both folders completely. - Download and Install Discord
Go to the official Discord website and download the latest version. Install it and log in. The error should be resolved.
If Discord Still Shows Error 1006 After These Fixes
If the error persists, the problem is likely on Discord’s server side or related to your internet service provider. Try these additional steps:
Change DNS Server to Google or Cloudflare
Open Control Panel > Network and Sharing Center > Change adapter settings. Right-click your active network adapter, select Properties, then double-click Internet Protocol Version 4 (TCP/IPv4). Select Use the following DNS server addresses and set Preferred DNS to 8.8.8.8 and Alternate DNS to 8.8.4.4 (Google) or 1.1.1.1 and 1.0.0.1 (Cloudflare). Click OK and restart Discord.
Check Discord Server Status
Visit discordstatus.com to see if there is an ongoing outage. If the API or WebSocket services show degraded performance, wait for Discord to resolve the issue. Do not attempt further fixes until the status page shows all systems operational.
Disable Third-Party Antivirus Temporarily
Some antivirus programs like Norton, McAfee, or Bitdefender may block Discord’s WebSocket traffic. Temporarily disable the antivirus and test Discord. If the error stops, add Discord to the antivirus whitelist.
| Item | Discord Error 1006 (WebSocket) | Discord Error 1000 (Generic WebSocket) |
|---|---|---|
| Error message | WebSocket closed abnormally on reconnect | WebSocket closed with code 1000 |
| Primary cause | Network interruption, VPN, or corrupted cache | Server-side timeout or client crash |
| Fix method | Reset voice settings, clear cache, disable VPN | Restart Discord, update client, reinstall |
| User action required | Modify local network or Discord cache | Wait or reinstall Discord |
You now have the tools to resolve Discord error 1006 by resetting voice settings, clearing cache, or adjusting your network. Start with Method 1 and proceed sequentially. If the error returns frequently, consider switching to a wired Ethernet connection or contacting your ISP about packet loss. As an advanced tip, you can run ping -n 20 discord.com in Command Prompt to check for packet loss before reconnecting to Discord.