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

Huawei Q6: too many repeated warnings #48

Open
SikaiGGMU opened this issue May 9, 2023 · 1 comment
Open

Huawei Q6: too many repeated warnings #48

SikaiGGMU opened this issue May 9, 2023 · 1 comment
Labels
not supported yet Some action or device is not yet supported by integration

Comments

@SikaiGGMU
Copy link

my router type is huawei Q6 (lan cable) mesh router, and there are too many warings, as follows:

2023-05-09 09:09:38.286 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update repeater state Api call error, status:404; code: -2, category: unauthorized
2023-05-09 09:09:38.471 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update router info: Failed to get initial CSRF; reason: auth_general
2023-05-09 09:09:38.511 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update router info: Api call error, status:200; code: -2, category: unauthorized
2023-05-09 09:09:38.518 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update router info: Failed to get initial CSRF; reason: auth_general
2023-05-09 09:09:38.523 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update router info: Failed to get initial CSRF; reason: auth_general
2023-05-09 09:09:38.528 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update router info: Failed to get initial CSRF; reason: auth_general
2023-05-09 09:09:38.670 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update NFC switch state: Failed to get initial CSRF; reason: auth_general
2023-05-09 09:09:38.676 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update NFC switch state: Failed to get initial CSRF; reason: auth_general
2023-05-09 09:09:38.683 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update NFC switch state: Failed to get initial CSRF; reason: auth_general
2023-05-09 09:09:38.688 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update NFC switch state: Failed to get initial CSRF; reason: auth_general
2023-05-09 09:09:58.289 WARNING (MainThread) [custom_components.huawei_mesh_router.update_coordinator (Huawei Router)] Can not update repeater state Api call error, status:404; code: -2, category: unauthorized

Is there a way I can attenuate it?

@vmakeev
Copy link
Owner

vmakeev commented May 9, 2023

Hi! It looks similar to the situation with the Q2S router (#34). When trying to access the router's API via a URL that is not supported by the router, the router itself breaks the connection and gives a "temporary ban" on accessing it.

I'm afraid that right now I don't have the opportunity to modify the component, because I can't reproduce this behavior on the router models that I have.

However, if I suddenly get the necessary device at my disposal, or come up with another solution to the problem, I will report it here

@vmakeev vmakeev added the not supported yet Some action or device is not yet supported by integration label May 9, 2023
@vmakeev vmakeev changed the title too many repeated warnings Huawei Q6: too many repeated warnings May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not supported yet Some action or device is not yet supported by integration
Projects
None yet
Development

No branches or pull requests

2 participants