Issue was
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
was that instead of
<uses-permission android:name="android.permission.INTERNET"/>
I had put the internet permission in the manifest, but somehow or another it got erased. And I ended up pasting absentmindedly something here I should have seen was not the INTERNET permission and recognized that the INTERNET permission was missing and was causing the issue.