I have found what my issue was. I ended up having a corrupted video card driver. Not sure why it didn't affect the stock installation of Minecraft but uninstalling it with DDU and using the latest stable release fixed my issue. Thank you guys for the help
there is a problem with the server.
"failed to verify player name"
" не удалось проверить имя игрок"
how to fix it (whitelist disabled)?
game version 1.12.2
(I understand that you are only looking at new versions... However, I can't upgrade to the new version for personal reasons... I hope you can help me).