Errors on top of errors

every time i join a server, after some time playing on it, it just disconnects me and i check the shell and there is always the failed to close socket error. Now, on the last 2 lines there was GET to https://backend.beammp.com/servers-info failed: Couldn’t resolve host name

and

Curl error: Could not resolve host from beamMP backend or smth

how do i fix this?

Are you able to access that url in a browser?

Yes but it’s just a raw javascript code on the screen, same with the backend link

Do you have any antivirus that might be blocking the launcher?