It was working fine for me before, but this morning I had the ''play offline'' option, so I logged out to reenter my info and get it back to ''online'' as I usually do when this happens, except now it won't let me sign back in. ''Sorry but we couldn't connect you to our servers blabla...'' error pops up. The only thing I have changed is I redownloaded a ressource pack and replaced it in the ressource pack, which I don't think should matter. I tried adding minecraft to the allowed programs in my firewall (again, it was working fine before today and I never needed to do that), but it still did not fix my issue.
Edit: I do have the new launcher and my game is up to date, has been since the new launcher has been out. Tried redownloading the launcher, just in case, and running it in administrator mode, and still did not work.