Why Does ChatGPT Say Network Error?

Marcus
Marcus
Proxy Network Analyst

If ChatGPT says “A network error occurred” or reports an error while connecting to the WebSocket, the failure usually sits between the browser or app and ChatGPT’s servers. The cause can be a local Wi-Fi problem, VPN or proxy interference, secure DNS filtering, a corporate firewall, TLS inspection, a blocked WebSocket handshake, or a temporary OpenAI service issue.

The fastest way to isolate the cause is to keep the account and device unchanged while changing one network variable at a time. Start with OpenAI Status, then compare Wi-Fi with mobile data or another network, disable VPN or proxy connections temporarily, and check whether WebSocket traffic and required ChatGPT domains are allowed.

Quick Answer

When ChatGPT shows a network or WebSocket error, first check OpenAI Status. If there is no known incident, temporarily disable VPN, proxy, Web Protect, or other security filtering and test again. Then switch between Wi-Fi and another network, such as a mobile hotspot. On company networks, make sure ChatGPT WebSocket traffic can use TCP port 443, the standard Upgrade: websocket handshake is allowed, and required OpenAI/ChatGPT domains are not blocked or modified by firewall, secure web gateway, DNS filtering, or TLS inspection.

Key Takeaways
  • A ChatGPT network error is different from a login failure, unsupported-country warning, or concurrency/429 error.
  • OpenAI recommends checking service status and temporarily disabling VPN, proxy, or security filters when diagnosing network errors.
  • If ChatGPT works on mobile data but fails on Wi-Fi, the Wi-Fi network, DNS, firewall, or security gateway becomes the stronger suspect.
  • Some ChatGPT features use secure WebSocket connections to wss://ws.chatgpt.com over TCP port 443.
  • TLS inspection, SSL decryption, traffic filtering, gateway enforcement, idle timeouts, and message-size policies can interrupt long-lived sessions.
  • Business and school networks should compare their allowlists with OpenAI’s current required-domain guidance instead of relying on an old static domain list.

What Does “A Network Error Occurred” Mean?

OpenAI’s current ChatGPT error-message guidance groups “A network error occurred” and WebSocket connection errors under problems where the device cannot maintain a reliable connection to OpenAI’s servers. That makes the network path the first place to investigate, but it does not prove that the local Wi-Fi is always responsible.

Symptom Likely Layer Best First Check
“A network error occurred” Client network or temporary service issue OpenAI Status, then another network
WebSocket connection error WebSocket, firewall, secure gateway, or proxy policy TCP 443 and WebSocket upgrade handling
Response begins, then stalls or disconnects Long-lived connection policy or service issue TLS inspection, idle timeout, filtering, status
Works on mobile data but fails on Wi-Fi Wi-Fi network, DNS, firewall, or security filtering Compare the same device across both networks
“Something went wrong” Generic browser, network, or temporary server issue Status, clean browser test, another network
Table 1: Match the visible ChatGPT symptom to the network layer most worth testing first.

A generic application message is not enough to identify the cause. Record whether the problem affects one chat or all chats, whether the page loads normally, whether streaming starts before the error appears, and whether the same account behaves differently on another network.

ChatGPT showing A network error occurred message during a conversation
Figure 1: ChatGPT can display a network error when the browser or app cannot maintain a reliable connection.

First Check Whether ChatGPT or Your Network Is Failing

Do not start by changing several settings at once. A controlled comparison produces much better evidence.

Fast Isolation Test
  1. Check OpenAI Status for a current ChatGPT incident.
  2. Keep the same device and account, but switch from Wi-Fi to another network such as mobile data or a hotspot.
  3. Temporarily disable VPN, proxy, Web Protect, secure DNS filtering, or similar traffic-interception tools.
  4. Retry ChatGPT in the same browser or app.
  5. If the failure remains, compare another browser or the native app without changing the network.

This sequence tells you whether the failure follows the service, the network, or the client. If multiple people on the same company Wi-Fi fail at the same time while mobile data works, the shared network becomes much more likely than an individual account problem.

If only one browser fails while the native app works on the same network, focus on browser extensions, secure DNS, cached network state, or browser-specific security controls rather than rebuilding the router configuration.

Check ChatGPT WebSocket Connections

Some ChatGPT features use secure WebSocket connections in addition to normal HTTPS. OpenAI’s current network recommendations identify wss://ws.chatgpt.com as a ChatGPT WebSocket destination used for conversation updates and notifications.

The network must allow WebSocket traffic over TCP port 443, and a firewall, proxy, or secure web gateway must permit the standard Upgrade: websocket handshake. A network can allow ordinary HTTPS pages while still blocking or modifying WebSocket traffic, which explains why ChatGPT may load but then fail to stream, update, or maintain the session correctly.

For managed networks that decrypt, filter, or relay HTTPS traffic, check whether those controls:

  • block the WebSocket handshake;
  • rewrite headers required for the upgrade;
  • terminate long-lived connections too early;
  • apply an idle timeout that closes inactive WebSocket sessions;
  • enforce frame or message-size limits that interrupt larger responses.

If the connection succeeds initially but later stalls, the handshake itself may be fine. In that case, idle-timeout and long-lived-session policies deserve more attention than DNS.

Chrome DevTools showing a ChatGPT WebSocket connection failure
Figure 2: Browser developer tools can expose a failed WebSocket connection even when the ChatGPT page itself still loads.

Why ChatGPT Works on Mobile Data but Not Wi-Fi

This is one of the strongest practical tests for a network-specific problem. If ChatGPT fails on Wi-Fi but works immediately on mobile data using the same device and account, the account is unlikely to be the cause. The stronger suspects are the Wi-Fi path and the security or routing services attached to it.

Common causes include:

  • company or school firewall rules;
  • DNS filtering or a secure DNS product;
  • router-level content filtering;
  • secure web gateways that inspect or proxy HTTPS traffic;
  • TLS inspection that changes the certificate path;
  • WebSocket blocking;
  • network-wide VPN or proxy enforcement;
  • ISP or local routing problems.

The reverse is also useful evidence. If both Wi-Fi and mobile data fail in the same way, a device-specific browser/app problem or an OpenAI service incident becomes more plausible.

Check DNS and Security Filtering

DNS decides how the device resolves ChatGPT and related OpenAI hosts. A resolver that blocks, rewrites, or filters required domains can create a failure that looks like a general connection problem.

OpenAI’s current troubleshooting guidance specifically recommends disabling Web Protect or other security-filtering tools when network errors occur. Secure DNS products, family filters, corporate resolvers, endpoint-security products, and browser-level DNS-over-HTTPS settings can all change how the request reaches ChatGPT.

Useful tests include:

  • compare the same device on a different network;
  • temporarily disable secure DNS or Web Protect when policy allows;
  • confirm that required ChatGPT/OpenAI hostnames resolve normally;
  • check whether the DNS response changes between company Wi-Fi and a mobile hotspot;
  • ask IT whether a DNS security product is categorizing or blocking ChatGPT-related domains.

A DNS change should be treated as a diagnostic comparison, not a permanent fix until the blocked or modified hostname is identified.

Check Firewall, TLS Inspection, and Required Domains

OpenAI maintains a current network allowlist for ChatGPT web and apps. Instead of copying a long domain list into a firewall permanently, administrators should compare their policy with OpenAI’s current documentation because the list can change.

Important domain families currently include:

  • *.chatgpt.com;
  • *.openai.com;
  • *.oaistatic.com;
  • *.oaiusercontent.com.

Those examples do not replace the official full list. They are useful checkpoints when a security gateway is blocking core ChatGPT pages, static assets, or uploaded content.

TLS inspection deserves separate attention. A corporate gateway may decrypt HTTPS traffic, inspect it, and then create a new certificate chain for the client. If that process interferes with ChatGPT traffic, the browser or native app may show certificate, connection, WebSocket, or network-configuration failures.

OpenAI specifically notes that SSL inspection or decryption can disrupt the macOS desktop app. Where organizational policy permits, IT teams should exclude required OpenAI domains from inspection or follow OpenAI Support guidance rather than repeatedly reinstalling the app.

ChatGPT network configuration issue showing an unexpected SSL certificate
Figure 3: ChatGPT can report a network configuration issue when SSL/TLS inspection presents an unexpected certificate.

Browser vs Desktop App vs Mobile App

The client that fails provides another diagnostic clue.

Pattern More Likely Area Next Test
Only one browser fails Browser extension, secure DNS, cache, browser network setting Private window or another browser
Browser and desktop app fail on one Wi-Fi Shared network, firewall, DNS, TLS inspection Switch to mobile hotspot
Only native app fails App version, OS certificate/network setting, device security control Update app and compare web on same device/network
All devices fail on the same network Network-wide policy or service incident OpenAI Status and another network
Table 2: Compare clients and networks to isolate whether the failure belongs to one device or the shared connection.

Do not turn this into an authentication test. If ChatGPT reaches the login page but the account cannot complete sign-in, that is a different troubleshooting path.

When It Is Not a Network Error

Several ChatGPT failures can look similar at first but have different owners:

Keeping these error families separate prevents network troubleshooting from turning into unnecessary account, billing, or rate-limit changes.

ChatGPT Network Error Diagnostic Checklist

Record These Before Escalating
  • Exact ChatGPT error message
  • Date and approximate time
  • OpenAI Status result
  • Browser, desktop app, or mobile app
  • Wi-Fi, Ethernet, or mobile data
  • Whether another network works
  • Whether VPN or proxy is active
  • Whether secure DNS or Web Protect is active
  • Whether WebSocket traffic over TCP 443 is permitted
  • Whether TLS inspection or SSL decryption is enabled
  • Whether required ChatGPT/OpenAI domains are allowlisted
  • Whether other users on the same network see the same problem

For managed company networks, screenshots and a browser HAR capture can help the IT team or OpenAI Support identify blocked requests, failed WebSocket upgrades, unexpected redirects, or network-specific filtering. Do not include passwords, session cookies, API keys, or other secrets when sharing diagnostic material.

Frequently Asked Questions

Why does ChatGPT keep saying network error?
The device may be losing a reliable path to ChatGPT because of Wi-Fi instability, VPN or proxy interference, secure DNS filtering, a firewall, TLS inspection, blocked WebSocket traffic, or a temporary OpenAI service problem. Check OpenAI Status and compare another network before changing account settings.
Why does ChatGPT work on mobile data but not Wi-Fi?
That pattern strongly suggests a Wi-Fi-side difference such as DNS filtering, firewall policy, TLS inspection, router controls, a secure web gateway, or blocked WebSocket traffic. Test the same device and account on both networks to keep the comparison controlled.
What causes a ChatGPT WebSocket error?
A firewall, proxy, secure gateway, TLS inspection tool, or network policy may block or rewrite the WebSocket handshake or close the long-running connection. OpenAI currently uses a secure ChatGPT WebSocket destination at wss://ws.chatgpt.com for conversation updates and notifications.
What port does ChatGPT WebSocket use?
OpenAI currently documents ChatGPT WebSocket traffic over TCP port 443. The network must also allow the standard Upgrade: websocket handshake.
Can a firewall block ChatGPT?
Yes. A firewall or secure web gateway can block required domains, connection upgrades, uploaded-content hosts, or persistent sessions. Managed networks should compare their policy with OpenAI’s current network recommendations.
Can DNS cause ChatGPT network errors?
Yes. Security DNS, corporate resolvers, Web Protect, router filtering, or browser secure-DNS settings can block or modify required hostnames. Comparing the same device on another network is a useful way to test whether DNS or network filtering is involved.
Should I disable a VPN or proxy when ChatGPT shows a network error?
Temporarily, yes. OpenAI’s troubleshooting guidance recommends disabling VPN or proxy connections during diagnosis. Establish a clean direct-connection baseline first; if the error disappears, investigate the VPN, proxy, firewall, or routing configuration before re-enabling it.
Why does streaming start then hit a network error mid-reply?
A partial-stream failure often points to long-lived connection handling rather than basic page loading. Common causes include gateway idle-timeout policies, TLS-inspection session teardown, proxy restrictions on persistent connections, or an unstable WebSocket session. Ordinary HTTPS pages may still load normally while a streamed reply is interrupted, so check timeout and WebSocket handling on the network path.

Final Thoughts

A ChatGPT network error is most useful when treated as a connection problem first. Check service status, compare Wi-Fi with another network, remove VPN or proxy variables temporarily, and then inspect WebSocket, DNS, firewall, TLS inspection, and required-domain policies.

The strongest diagnosis comes from controlled comparisons. If the same device works on mobile data but not company Wi-Fi, investigate the shared network. If only one browser fails, investigate that client. If the visible message belongs to login, country availability, or concurrency instead, move to that dedicated troubleshooting path rather than mixing separate failure types.

About the author
View all articles
Marcus
Marcus
Proxy Network Analyst

Marcus is a network infrastructure analyst specializing in proxy configuration, IP routing, browser connectivity, and network troubleshooting. His work focuses on diagnosing HTTP/SOCKS proxy connections, authentication failures, DNS behavior, firewall rules, and IP routing across browser and automation environments.

Service areas
Proxy Testing , IP Diagnostics,Network Troubleshooting & Reliability

You may be interested in

Claude not available in your country troubleshooting guide with regional availability and location graphics

Why Claude Says It Is Not Available in Your Country

The message “Claude is not available in your country” is easy to misread as a browser problem. It is usually an availability or eligibility decision, and the right next step depends on where it appears. Claude on the web, the mobile app, Claude Code, and the Anthropic API do not share one interchangeable login path. Before changing settings, capture the exact wording, product surface, account used, and time. That short record prevents a country-policy message from being mixed up with an expired session, a managed-account restriction, or a temporary incident. Quick Answer Verify Anthropic's current supported-country information for the specific...

Marcus

Marcus

Proxy Network Analyst

Inspect Element on Mac cover showing Chrome DevTools on a MacBook with Chrome, Safari, and Firefox support

How to Inspect Element on Mac and Check Page Data

On a Mac, you can inspect a webpage in Chrome, Safari, or Firefox from the context menu or with a keyboard shortcut. Opening DevTools is only the first step: the Elements and Network panels can also show whether a visible field is already in the page HTML, added after JavaScript runs, or returned by a separate request. Use the browser and page state that match the task you are checking. A product price, search result, listing, or other public field can appear differently before and after filters, pagination, or client-side rendering. Quick Answer To Inspect Element on a Mac, Control-click...

Ryan

Ryan

IP Proxy Research Team

NO_PROXY on macOS cover showing a Mac routing external traffic through a proxy while localhost and 127.0.0.1 bypass the proxy

NO_PROXY Environment Variable on Mac: Bypass Rules for Dev Tools

On macOS, system proxy settings and shell environment variables can exist at the same time. If a terminal command ignores the GUI proxy, sends localhost through a proxy, or unexpectedly connects directly, check the variables inherited by that exact process. The key distinction is routing scope. macOS network settings can affect supported applications at the system level, while command-line tools and developer runtimes may read http_proxy, https_proxy, and NO_PROXY from the shell environment instead. Quick Answer On macOS, NO_PROXY is a comma-separated bypass list used by many command-line tools and libraries. Add only hosts that should connect directly, such as...

Clark

Clark

IPWeb Technical Researcher

Ready to scale your data operations?
Join 10,000+ teams using IPWeb to power their web data collection. Start free today.

Strictly anti-abuse

Fraud, automated operation, and unauthorized use are prohibited.

Enterprise-level services

For legitimate commercial and technical use cases only

Risk control and restrictions

Abnormal behavior may trigger service restrictions or termination.

Compliance data use

Data acquisition and use must comply with relevant regulations.

Privacy protection first

The collection or misuse of sensitive personal information is strictly prohibited.

All services are subject to《the Usage Policy》