Internet not working on my laptop running fedora 37

The Internet is not working on my laptop since yesterday when I last updated. Its connecting to the wifi but can’t open any web pages. I also tried wired ethenet and using usb tethering with my phone and it’s data plan but nothing worked. I tried to ping and got all the right responses still nothing worked. Had read somewhere that this might be an issue relating to proton VPN so I removed it. Still nothing.

Never mind I fixed this issue. Upon further hunting in Ubuntu forums I found this post network manager - Internet stops working after installing ProtonVPN - Ask Ubuntu where the user described the exact same issue. So I tried the instructions given and Vala! My problem is fixed. Leaving this thread open for those who might be facing the same problems.