Comments (13)
That is strange. Was there any debug before this?
Can you try playing with the user agent and hosts file as described here.
from pyaarlo.
This issue is affecting other Arlo API integrations as well.
I think Cloudflare rules might have changed.
Not sure what specifically they are blocking on.
from pyaarlo.
I am seeing this issue as well. I would alter the 'user-agent' as suggested above, but I'm not sure what it should look like.
from pyaarlo.
Of course it's still working fine for me... I'll double check the headers I pass in and make sure everything looks good.
One question, how are you using pyaarlo? Are you staying logged in or constantly logging in and out?
from pyaarlo.
I'm using pyaarlo, and I'm staying logged in.
I tested with the other options for user_agent in "constants.py", and all of them produce the same error.
I stopped the service (my code) today to add something, and upon starting it again, these errors came up.
from pyaarlo.
2022-02-24 10:56:20,237 - pyaarlo - DEBUG - login attempt #3
2022-02-24 10:56:20,237 - pyaarlo - DEBUG - request-url=https://ocapi-app.arlo.com/api/auth
2022-02-24 10:56:20,237 - pyaarlo - DEBUG - request-params=
{'EnvSource': 'prod',
'email': '[email protected]',
'language': 'en',
'password': 'hahahahaha'}
2022-02-24 10:56:20,238 - pyaarlo - DEBUG - request-headers=
{'Accept': 'application/json, text/plain, /',
'Auth-Version': '2',
'Referer': 'https://my.arlo.com',
'Source': 'arloCamWeb',
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, '
'like Gecko) Chrome/88.0.4324.96 Safari/537.36'}
2022-02-24 10:56:20,260 - urllib3.connectionpool - DEBUG - https://ocapi-app.arlo.com:443 "POST /api/auth HTTP/1.1" 403 None
2022-02-24 10:56:20,261 - pyaarlo - DEBUG - request-end=403
2022-02-24 10:56:21,262 - pyaarlo - ERROR - authentication failed
from pyaarlo.
I'm having the same authentication issue, it started sometime on February 17.
Has anyone determined how exactly we need to alter the user-agent/host file
in order to get it working again?
from pyaarlo.
I am still receiving the same error. In looking at the TCP traffic from my phone (which works), there are two new IP addresses involved. 104.18.0.211 seems to be the one the phone contacted when logging into the Arlo service. Also 104.18.1.211
from pyaarlo.
What version of Pyaarlo are you running? Your headers looks wrong, mine look like this:
2022-02-28 23:17:57,268 - pyaarlo - DEBUG - request-headers=
{'Accept': 'application/json, text/plain, */*',
'Accept-Language': 'en-US,en;q=0.9',
'Origin': 'https://my.arlo.com',
'Referer': 'https://my.arlo.com/',
'Source': 'arloCamWeb',
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, '
'like Gecko) Chrome/88.0.4324.96 Safari/537.36'}
There is no Auth-Version
and I have an Origin
header.
from pyaarlo.
pyaarlo-0.7.1.2
I am pulling via "pip" into Python 3.9
from pyaarlo.
NOTE: I cloned the repo, and re-ran the basic "test.py". This seems to work properly, so there is something incorrect about the PyPi build that is retrieved via "pip". "pip" shows version 0.7.1.2" "Successfully installed pyaarlo-0.7.1.2"
Using the cloned repo, I get the correct headers as you have indicated in the above comment.
2022-03-03 06:12:42,399 - pyaarlo - DEBUG - request-params=
{'EnvSource': 'prod',
'email': '[email protected]',
'language': 'en',
'password': 'hahahahaha'}
2022-03-03 06:12:42,400 - pyaarlo - DEBUG - request-headers=
{'Accept': 'application/json, text/plain, /',
'Accept-Language': 'en-US,en;q=0.9',
'Origin': 'https://my.arlo.com',
'Referer': 'https://my.arlo.com/',
'Source': 'arloCamWeb',
'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_1_2 like Mac OS X) '
'AppleWebKit/604.3.5 (KHTML, like Gecko) Mobile/15B202 '
'NETGEAR/v1 (iOS Vuezone)'}
from pyaarlo.
Damn, I forgot about PyPi. I'll push a fix for this to 0.7.
from pyaarlo.
Thanks.
The latest version seems to be working for me again, so closing.
from pyaarlo.
Related Issues (20)
- Arlo Go V2 HOT 3
- Arlo Streams Stopped Working HOT 1
- Arlo Recently added Automation v3 - are you supporting that? HOT 1
- Problem downloading media from the base station due to the new year.
- body-error=JSONDecodeError HOT 8
- authentication error HOT 89
- SSL: CERTIFICATE_VERIFY_FAILED HOT 10
- general-error=gaierror HOT 2
- Can't restart cameras HOT 1
- AttributeError: 'ArloBase' object has no attribute 'update_resources' HOT 3
- 2FA via Push ?
- Possible to download videos from base station storage? HOT 10
- 2nd Instance / Session possible? HOT 2
- Unable to download videos past 1 day
- OAuth2 support HOT 1
- Unable to read mode, try forcing v2 HOT 5
- Failed to open ratls port HOT 4
- 2FA not parsing mail properly? HOT 15
- Failed to read current modes correctly HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyaarlo.