-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Eufy API is returning 204 errors causing the library to fail #67
Comments
I believe the EU endpoint (ot at least the one for norway) is wrong. This is just a guess as I don't know what I'm doing, but it seems like it tries to retrieve the token from https://security-app-eu.eufylife.com/v1. I am able to retrieve token when using this endpoint: https://mysecurity.eufylife.com/api/v1/passport/login I have the following error: 2021-11-19 23:02:52.162 INFO Authentication properties changed, invalidate saved cloud token. |
Eufy has made some changes to its site, which now often results in HTTP errors (204). That is the disadvantage of no open API... :( |
Anything I can do to help @bropat. I'm a software engineer (however no experience in typescript) but happy to help if I can. Let me know if there are any mitm tests I can run as I'm UK based so will get an EU API endpoint. Hillariously just bought the Eufy2k Wireless Doorbell with hopes/guides on getting it setup in Home Assistant, so keen to get it working! =) |
@danstreeter |
Ah awesome nice one. |
Dropped old plaintext authentication mechanism (API v1) Fixed issue #67 Exchanged axios with got for HTTP/2 support
Describe the bug
Calls seem to be randomly failing and returning 204 errors
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Calls to not fail.
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Without debug logging:
With debug logging:
Versions:
Additional context
The calls don't always fail. For example, two calls right after each other:
The text was updated successfully, but these errors were encountered: