If you receive error code 4096 on a PlayStation console, it means that your console has encountered a general connection failure. To fix this, please try rebooting your PlayStation console and your network router.
If rebooting does not resolve the issue, you may need to set port forwarding on your PlayStation console. Find out more about Port Forwarding and NAT Types
If you are still having problems, you can also try these steps:
Completely exit the game.
Turn off your PlayStation console.
Restart your PlayStation console in Safe Mode. To do this, press and hold the power button until you hear two beeps.
Select Rebuild Database from the menu.
Restart the game.
Read more about running Safe Mode on PlayStation 3
or PlayStation 4