Closed MadMellow closed 3 years ago
+1 - May be related to mandatory 2FA?
I'm pretty sure it is related to 2FA, but is there a way to "authorize" a python program? I tried connecting with a browser from the PC in question, which didn't help.
OK, so I'm a year-or-so behind the curve. What's new? I see the m0urs as a solution ... sort of. I really don't want to run another home-automation solution and open a mailbox just to arm/disarm the camper's alarm system.
Thanks for all you've done, and the tolerance you've shown.
Signed,
Hosed for now
This might help some of you. I have tested this and is working for me with 2FA.
I have a similar authentication issue - My arlo code which had been working for well over a year starting throwing an error about a month ago.
I now can't get past authentication without getting this error: Exception: 403 Client Error: Forbidden for url: https://ocapi-app.arlo.com/api/auth I get this error every time. nothing has really changed on my client side. Has Arlo started blocking python clients? or something like that?
i had been using arlo 1.2.35 today, i just tried to upgrade to arlo-1.2.47 but getting the same results.
Hey all, there's a bug in the requests library used with python 3.x. Try this with python 2.7.
@jeffreydwalter - Can someone please confirm that authentication definitely works when running arlo from 2.7.13? I haven't used python2 in years and it will take a bit of effort to get it configured on my system. Be good to know that I'm not wasting my time. :)
I can confirm that it works.
On Sat, May 8, 2021, 4:01 PM Steven C @.***> wrote:
@jeffreydwalter https://github.com/jeffreydwalter - Can someone please confirm that authentication definitely works when running arlo from 2.7.13? I haven't used python2 in years and it will take a bit of effort to get it configured on my system. Be good to know that I'm not wasting my time. :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jeffreydwalter/arlo/issues/166#issuecomment-835512161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEKOB36UA6PGABJOMU7FZDTMWRD5ANCNFSM43DOBOYQ .
You can always run one of the example scripts to test.
On Sat, May 8, 2021, 4:18 PM Jeff Walter @.***> wrote:
I can confirm that it works.
On Sat, May 8, 2021, 4:01 PM Steven C @.***> wrote:
@jeffreydwalter https://github.com/jeffreydwalter - Can someone please confirm that authentication definitely works when running arlo from 2.7.13? I haven't used python2 in years and it will take a bit of effort to get it configured on my system. Be good to know that I'm not wasting my time. :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jeffreydwalter/arlo/issues/166#issuecomment-835512161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEKOB36UA6PGABJOMU7FZDTMWRD5ANCNFSM43DOBOYQ .
i just tried with python2 and i have the same result
Traceback (most recent call last):
File "
This might help some of you. I have tested this and is working for me with 2FA.
works with this one
@cagnulein are you trying to use my library with 2fa enabled? If so, I haven't added support for that yet. I have tested with python 2.7 without 2fa, and my library works fine for me.
@jeffreydwalter sorry yes, with 2fa enabled. Ok i'm sorry so i have to migrate to pyaarlo :(
No worries. I should have 2fa support soon. There's a bug in the requests library, which I'm waiting on them to fix before I merge in 2fa support.
@jeffreydwalter Will the fix you mentioned enable Python 3 support? With or without 2FA?
Yes, I'm considering replacing the requests library with httpx to get around it, but this library is low on my list of priorities right now. I'm happy to accept pull requests.
On Mon, May 10, 2021, 9:57 AM Neale Petrillo @.***> wrote:
@jeffreydwalter https://github.com/jeffreydwalter Will the fix you mentioned enable Python 3 support? With or without 2FA?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jeffreydwalter/arlo/issues/166#issuecomment-836802378, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEKOB7HRUCA55CGC6R6KU3TM7X4XANCNFSM43DOBOYQ .
Hello all, I have created a new release which fixes the Python 3.x issues. I highly encourage everyone to download it and migrate back to Python 3.x. Cheers!
@jeffreydwalter i tried the python3 library but i got a
403 Client Error: Forbidden for url: https://ocapi-app.arlo.com/api/auth
what i'm doing wrong? I already did all the 2FA steps succesfully on the wiki.
EDIT: nevermind, i sold my Arlo system on Ebay today. I was very sick and tired about all the Arlo issue in the last year.
Please answer these questions before submitting your issue. Thanks!
What version of Python are you using (
python -V
)?3.9.2 (but doesn't seem to matter)
What operating system and processor architecture are you using (
python -c 'import platform; print(platform.uname());'
)?Both Windows 10 and Mac OS behave the same
Which Python packages do you have installed (run the
pip freeze
orpip3 freeze
command and paste output)?Paste your output here not using FFMPEG
Which Arlo hardware do you have (camera types - [Arlo, Pro, Q, etc.], basestation model, etc.)?
What did you do?
If possible, provide the steps you took to reproduce the issue. A complete runnable program is good. (don't include your user/password or any sensitive info)
Paste your ouptut here
Paste your ouptut here A call to connect, which worked a short time ago, now returns "Error 401 Client Error: Unauthorized for url: https://my.arlo.com/hmsweb/login/v2"
Seems to be related to a recent change in the Arlo app which requires prior authentication. I've logged in from 3 different machines (2 PC, 1 Mac) which are attempting to issue the connect call. All return the same error.
Does this issue reproduce with the latest release?