Closed ejonesnospam closed 5 years ago
@ejonesnospam can you provide some screenshots of the dialog upon logging in? Also, can you provide page source for inspection (with dialog open). I've got a task to add better logging. The only issue I've seen to date is the acknowledgement popup for privacy rights changes. Hopefully we can either fix the popups from displaying, or programmatically detect them and acknowledge.
Okay, so it finally cleared sometime early this morning, and every thing appears to be working correctly now. I assume it was an issue on Xfinity's side, otherwise it may just be a new 'feature' that xfinity users must be aware of. Total time was about 3-4 days since originally acknowledging the below message, and it finally disappearing.
Upon login to the Xfinity web services, I now always receive the 'Secure your account' page. The two clickable options are 'Looks good' and 'Ask me later'. I have selected both options, on multiple computers, changed my password, but this page continues to be displayed. I was previously using a earlier python derivation of this component, but which recently started to fail. Since this repo is fairly recent, I attempted to use this custom component, but still no success.
Perhaps this issue is limited to just my account, but I'm providing my current issue in case others see the same failure. Below is the home assistant log for this custom component. Of course, I have triple-checked my password, even surrounded in quotes, but no success. Any suggestions would be appreciated.
2019-10-26 07:13:07 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.xfinity 2019-10-26 07:13:17 DEBUG (SyncWorker_11) [custom_components.xfinity.sensor] Finding reqId for login... 2019-10-26 07:13:18 DEBUG (SyncWorker_11) [custom_components.xfinity.sensor] Found reqId = '8f4d3f9f-586d-4ec0-b647-SOME-LONG-STRING' 2019-10-26 07:13:18 DEBUG (SyncWorker_11) [custom_components.xfinity.sensor] Posting to login... 2019-10-26 07:13:21 DEBUG (SyncWorker_11) [custom_components.xfinity.sensor] Fetching internet usage AJAX... 2019-10-26 07:13:21 DEBUG (SyncWorker_11) [custom_components.xfinity.sensor] Resp: '{"error":"unauthenticated"}' 2019-10-26 07:13:21 ERROR (SyncWorker_11) [custom_components.xfinity.sensor] Failed to fetch data, status_code:401