Help please

Hello, I have a problem with the game, Every time I want to play on a server, it takes me out at 30 seconds, it makes me lose the server connection, and this happens to all the servers, try everything, restart the computer , restart the internet, uninstall the game and reinstall it and nothing, I have days with this problem and I would thank anyone who helps me solve it

What are the specifications of your pc? Do you have a good internet conection?