Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange Issue: Stok Error with VPN Enabled #59

Open
kand617 opened this issue Jun 24, 2023 · 0 comments
Open

Strange Issue: Stok Error with VPN Enabled #59

kand617 opened this issue Jun 24, 2023 · 0 comments

Comments

@kand617
Copy link

kand617 commented Jun 24, 2023

I am having a strange issue where I get a stok error whenever my VPN is enabled?

Exception: Error: Invalid stok value, Response: {"error_code": -40401, "result": {"data": {"code": -40407, "encrypt_type": ["1", "2"], "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC7QdgMKoS6Gl0oq4TLfeldgM6%2fikwuuS8fp0RzNVpPD9CrxRzL3X3%2f4WD0sji33NQOuk59ZSZprgHw6x9%2bEEpjDXGDDLZvba%2bsQ5jk%2f2uBxyKTUjM8jtzr%2fK9I79uTGxSWK7Hlh4gb6kwBXdN%2bqdy0uTdZPn1cWCVqAf5%2fJHmx9wIDAQAB", "nonce": "lU3L7xDN"}}

Same code works fine without vpn.


user = "User" # user you set in Advanced Settings -> Camera Account
password = "password" # password you set in Advanced Settings -> Camera Account
host = "some remote wan ip" # ip of the camera, example: 192.168.1.52

tapo = Tapo(host, user, password)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant