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

[sensibo] Feature request - Accep-Encoding: Gzip #17069

Open
kusanghi opened this issue Jul 16, 2024 · 3 comments
Open

[sensibo] Feature request - Accep-Encoding: Gzip #17069

kusanghi opened this issue Jul 16, 2024 · 3 comments
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@kusanghi
Copy link

Hi all,

Error API limit connection to Sensibo server, I am using OH version 4.2.0.
Screenshot 2024-07-16 at 09 37 57

In recent updates of Sensibo, in addition to the time limit for sending to the server, sensibo requires the transmission parameter of the HEADER to have "Gzip"
Sensibo API :
Screenshot 2024-07-15 at 21 11 30

On Postman, I tried adding this parameter and it worked.
Screenshot 2024-05-26 at 21 29 19

@lsiepel
Copy link
Contributor

lsiepel commented Jul 16, 2024

Adding the header is not that difficult, but the error message does not show any reference to the header. It is about the api requests limit. Are your sure this isssues is fixed by the header?
don’t we need to add some call limiter ?

@lsiepel lsiepel added the bug An unexpected problem or unintended behavior of an add-on label Jul 16, 2024
@kusanghi
Copy link
Author

There is some API key, when the data returns "TooManyRequests", just increase the polling time.
There are some API Keys (possibly old accounts), the returned data is limited, and requires the use of gzip
Screenshot 2024-07-16 at 13 16 11

@lsiepel
Copy link
Contributor

lsiepel commented Aug 10, 2024

As gzip already seems to be set with all requests. The cause is probably something else, like the rate limit you mentioned. Are you aware of the actual rate limit rules?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

2 participants