Community Forum
Same issue here, not just ROKU, also LG SmartTv Xfinity App gives same error. Although cell phone and iPad will work. Seems to be a Roku/TV app issue.
https://www.xfinity.com/support/articles/xfinity-tv-app-unable-to-connect
try power-unplugging the gateway/modem device for 30+ seconds and plug back in.