You may have a problem connecting to your local network, please try the following steps:
PlayStation Network ("PSN") or the game servers may be temporarily unavailable. Ensure that PSN services and the game’s servers are available.
If both services are active, carry out an Internet connection test by going to Settings > Network > Test Internet Connection to confirm you can connect to the internet.
Update your router’s firmware. Please contact your router manufacturer or Internet Service Provider ("ISP") for assistance if required. Turn off other devices connected to your network. If you're still experiencing difficulties, please try again later as the server may be experiencing high traffic.