Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
The message that pops up is "Connection to ladder server failed with error: Error: socket hang up; please try again later" The only thing I did recently was deleted history and cookies. Is there something to do with that?
No. It has something to do with the server, and not your computer. This usually happens when there are too many players battling at once. Try again later!