jrlucier / eero_tracker

Eero Device Tracker for Home Assistant (HA, HASS.IO, HASS OS, HASSIO)
Other
64 stars 11 forks source link

web_protocol.py (ERROR) #14

Closed JamesDenby closed 4 years ago

JamesDenby commented 4 years ago

The tracker works, but it is filling my log with errors. Here is an example of what I am seeing:

Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 275, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: invalid HTTP method

I am on the latest versions (Hass.io and your tracker).

jrlucier commented 4 years ago

Thanks for the report! I'm trying to replicate, but I'm not seeing it locally. Are you sure it's coming from eero_tracker? The only call out we make is to Eero's API server over HTTPS, and that hasn't changed or is changeable via config.

The error you're seeing would be applicable if we were calling an HTTPS server over HTTP, or vice-versa.

API_ENDPOINT = 'https://api-user.e2ro.com/2.2/{}'

JamesDenby commented 4 years ago

Ok, thank you for responding. I am fairly new to HA so it maybe something else. Here is my configuration.yaml excerpt:

Device Tracker to track phones through MAC Address

device_tracker:

- platform: eero_tracker

consider_home: 300

interval_seconds: 60

only_macs: "14:c2:13:90:81:77, 30:57:14:58:29:01, c0:a6:00:47:d7:a4, 90:e1:76:62:6a:de"

Since I commented it all out, I no longer get the error, but I will try again and let you know

… James

On 31 Dec, 19, at 04:48, jrlucier notifications@github.com wrote:

Thanks for the report! I'm trying to replicate, but I'm not seeing it locally. Are you sure it's coming from eero_tracker? The only call out we make is to Eero's API server over HTTPS, and that hasn't changed or is changeable via config.

The error you're seeing would be applicable if we were calling an HTTPS server over HTTP, or vice-versa.

API_ENDPOINT = 'https://api-user.e2ro.com/2.2/{}'

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jrlucier/eero_tracker/issues/14?email_source=notifications&email_token=AN63DXD5Q3Q4PJW7MD7GLTLQ3MWP3A5CNFSM4KAN6IWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH4DYHY#issuecomment-569916447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN63DXDOH5DJVNZAWEC4KZDQ3MWP3ANCNFSM4KAN6IWA.

JamesDenby commented 4 years ago

Good news! I reinstalled it and no longer have the error. I guess it was me, something I did, or something else. Thank you for your time and sorry if I wasted it.

… James

On 31 Dec, 19, at 04:48, jrlucier notifications@github.com wrote:

Thanks for the report! I'm trying to replicate, but I'm not seeing it locally. Are you sure it's coming from eero_tracker? The only call out we make is to Eero's API server over HTTPS, and that hasn't changed or is changeable via config.

The error you're seeing would be applicable if we were calling an HTTPS server over HTTP, or vice-versa.

API_ENDPOINT = 'https://api-user.e2ro.com/2.2/{}'

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jrlucier/eero_tracker/issues/14?email_source=notifications&email_token=AN63DXD5Q3Q4PJW7MD7GLTLQ3MWP3A5CNFSM4KAN6IWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH4DYHY#issuecomment-569916447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN63DXDOH5DJVNZAWEC4KZDQ3MWP3ANCNFSM4KAN6IWA.

rsnodgrass commented 4 years ago

Closing issue as it appears to not be an eero_tracker issue.