Hi there zezo355,
Sorry to hear you were having problems connecting - could I ask which specific error code you were getting?
I would recommend trying all the steps in this guide first, to see if it helps your connectivity - https://support.ubisoft.com/en-GB/faqs/000043785/