Please try the following steps:
- Turn off your PlayStation®4 console, and turn it on again.
- Perform an Internet connection test by selecting Settings > Network > Test Internet Connection.
- Turn off your router, wait at least 5 minutes, then restart it.
- This may be a temporary issue. Please try again later.