Can’t connect to repositories

Good evening,

I can’t connect to any repository on my android phone, even the kodi addon repository.
When I try to connect it shows me the message “can’t connect to repository”
Before they worked normally, overnight they stopped working. I already uninstalled the kodi and reinstalled and nothing. I’m already thinking of resetting the phone (oneplus 2). I’ve also tried using dnset in the background and nothing seems to work…

Thanks