When i try to log in it says "Sorry! Make sure you are online and try again" i already tried fiying this problem by updating the launcher to the beta version but it doesnt work. The only way i can play minecraft now is offline and the only way to accsses the launcher is with "Curse Forge"
Linked issues
duplicates 1
Comments 2

I Have found a fix for it (for me atleast) what i did was go to System32/drivers/etc , and i deleted all my host/hosts files, then i restarted my computer and my launcher worked again
Thank you for your report!
We're tracking this issue in MCL-11510, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as invalid, which means this is a technical support issue. Please take a look at the parent ticket (MCL-11510) and see if a solution is provided there.
If you need additional help to fix this problem, please contact the Community Support and refer to this ticket (e.g. "I have reported this issue on Mojira as MCL-XYZ.").
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki