offline-mode may be the reason why the game couldn't connect to the server. this option is turned-on as default. open uplay, open settings and remove the tick from offline-mod
than, if it works, the other time you launch the game you may turn offline-mod on again