- Stay on the retry screen
- Minimise your screen by pressing the PS4 button
- Go to Settings then Network and then Test Connection
- Wait for the PlayStation Netowrk Sign-In check to complete
- Then go back to the game and press X to retry again.
This should hopefully fix your issue!