Home › Mac errors › NSURLErrorDomain -1005
MacInternet and SafariNSURLErrorDomain -1005 - The connection dropped part way
Apple name: URLError.networkConnectionLost
What it means
A connection that was already working was cut off before it finished.
Apple lists this in its developer documentation under the name shown; the number comes from Apple-published Swift source code. The steps are Apple's general connection help.
Where you see it
In an app or download that uses the internet, often as NSURLErrorDomain and the number.
Likely causes
- Wi-Fi dropped for a moment.
- The other side closed the connection.
- VPN or security software.
Three safe steps, in order
Try them one at a time and test after each. No cleaner apps to buy, no opening the Mac, and no switching off its security.
- Try again. If it keeps failing, check that other websites and other devices on the network are online.Related Apple page: If you can't connect to the App Store, iTunes Store, or other Apple services - Apple Support
- Click Wi-Fi in the menu bar or Control Center and look for Wi-Fi Recommendations.Related Apple page: If your Mac isn't connecting to the internet over Wi-Fi - Apple Support
- Check whether a VPN or other network software is affecting the connection, or try a different network.Related Apple page: If your device has network connectivity issues, check for VPN and other third-party security software - Apple Support
Stop and get help when…
it happens on every network.
Source and date
- Official Apple reference
- URLError (Apple Developer Documentation)
- Also
- NSError.swift (Swift Foundation open source)
- Date checked
- 24 November 2026. Apple changes its pages; if a step no longer matches, trust the Apple page.
The wording above is ours, based on the Apple pages linked. Not affiliated with or endorsed by Apple.
Related Mac errors
- NSURLErrorDomain -1001The connection timed out
- NSURLErrorDomain -1003The server's name could not be found
- NSURLErrorDomain -1004The server was found but would not connect
- NSURLErrorDomain -1009No internet connection
- NSURLErrorDomain -1200A secure connection could not be made
- NSURLErrorDomain -1202The website's security certificate is not trusted