Roku won't connect to WIFI or the internet connection if there is a problem with your network. So restart your modem and try to reconnect the Roku device. If Roku still keeps disconnecting, you shall change your Network connection.