@Abdllaziz3322l Could you verify what platform you use?
That your OS and drivers are all up-to-date?
And could you verify you do not have any antivirus or firewall that may block your apex from accessing the internet?
Please follow the connection troubleshooting:
https://help.ea.com/en/help/faq/connection-troubleshooting-basic/