Connection to the server was lost on mac

the title. Whenever i play a round, within 3 minutes i will lose connection to the server, this happens every single game, this started a few months ago and has been happeneing consistently ever since. Is there any way to fix this? I have looked at the support page and tried most of the things. I am on a mac. Should i try a traceroute, is so what do I do after the traceroute.