Comments (8)
I am still working on it.
I have noticed twrecked changes on the mqtt calls notably in the headers keys. But even adapting text on this side, made no difference on the 403 error.
from pyaarlo.
If you can capture some logs I can take a look.
But if this is really early on try upgrading cloudscraper. he requirement are showing 1.2.58 but they are up to release 1.2.71.
from pyaarlo.
Thank you for getting back to me.
I have just upgraded cloudscraper to 1.2.71 as mentioned, but it doesn't seem to make a difference.
Here are some logs :
log.txt
The 403 message appears with the following input :
URL:
https://ocapi-app.arlo.com/api/auth?eventId=FE!b741eca4-b333-4c75-9144-7316e0898871&time=1684005230685
HEADERS:
{'Accept': 'application/json, text/plain, */*', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-GB,en;q=0.9,en-US;q=0.8', '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)', 'x-user-device-id': '6HN72F8R-176-59088669', 'x-user-device-automation-name': 'QlJPV1NFUg==', 'x-user-device-type': 'BROWSER', 'x-transaction-id': 'FE!b741eca4-b333-4c75-9144-7316e0898871'}
from pyaarlo.
And you're on the latest version of pyaarlo? Because those were the errors I was seeing before I updated the headers.
from pyaarlo.
Yes lastest version :
(base) jaouen@jaouens-MBP pyaarlo % git log
commit 3eead47bc4d2d6ddb5e8e1386b0a05b9ffae938d (HEAD -> master, origin/master, origin/HEAD)
Author: Steve Herrell <[email protected]>
Date: Wed May 10 07:30:17 2023 -0400
Mqtt config (#119)
* MQTT Config.
Allow these items to be configured:
- mqtt hostname
- check hostname in SSL certificate
- mqtt transport type.
Fix changed header.
from pyaarlo.
If that helps, when I connect with the my.arlo.com web interface, I get the following.
I guessed that it is on the "auth" call that it seems to block when I use Pyaarlo. But even trying to add other missing headers fields did not make a change.
from pyaarlo.
They changed the name of one of the headers to ...automation-name, you can see it in the trace you sent, and you have that fix in the code.
2 things to try
Delete the season pickle files, one of them is named 'aarlo.pickle' and I can't remember the other but they are next to each other and try starting it again
Can you change your external IP address? It maybe thinks you made too many bad attempts and it has blocked you.
from pyaarlo.
Hi Steve,
I have tried all proposed solutions :
- deleting both the session.pickle and aarlo.pickle files in .aarlo,
- switching to a different IP address (even on a different computer and network),
- mqtt_hostname_check=False (as you proposed in #121, since it seems to be exactly the same issue).
But I am still getting the same error, as mentionned in #121.
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.
- 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
- Authentication Failed HOT 13
- 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.