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

WeBack doesn´t start my robot vacum cleaner anymore. #37

Open
tretorn76 opened this issue Aug 31, 2024 · 11 comments
Open

WeBack doesn´t start my robot vacum cleaner anymore. #37

tretorn76 opened this issue Aug 31, 2024 · 11 comments

Comments

@tretorn76
Copy link

WeBack won´t start my robot vacum cleaner anymore. Nothing happens when I try to start it with HA. Don´t know why, because it
has been working before and I haven´t done any changes. What could be wrong?

2024-08-31 20:30:07.318 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Can't publish message socket_state=Close, reconnecting...
2024-08-31 20:30:07.319 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Not connected, connecting...
2024-08-31 20:30:07.319 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Checking credentials...
2024-08-31 20:30:07.319 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi checking token validity : 2024-09-01 12:26:49.170485
2024-08-31 20:30:07.320 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi token is valid
2024-08-31 20:30:07.320 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Credentials are OK
2024-08-31 20:30:07.320 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Addr=wss://user.grit-cloud.com/prod/wss / Region=eu-central-1 / Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjUxODY0NjksImlhdCI6MTcyNTEwMDA2OSwiaXNzIjoiY29tLmFpY2xvdWQueXVnb25nIiwiZGF0YSI6eyJjYWxsaW5nX2NvZGUiOiIwMDQ2IiwiYWNjb3VudCI6ImRhbmllbC5sYW5kZXJob2xtQGdtYWlsLmNvbSIsImFwcF9uYW1lIjoiV2VCYWNrIiwiYXBpX3ZlcnNpb24iOiIxLjAiLCJhcHBfdmVyc2lvbiI6bnVsbCwicmVnaW9uX25hbWUiOiJldS1jZW50cmFsLTEiLCJsYW5ndWFnZSI6ImVuIn19.wJhSOK0eMhkF-ijVKU_yCWWQB_EONl-u5n9gX4jxjk4
2024-08-31 20:30:07.322 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Thread was init
2024-08-31 20:30:08.011 DEBUG (Thread-14832 (run_forever)) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Error (details : [Errno 110] Operation timed out)
2024-08-31 20:30:08.012 ERROR (Thread-14832 (run_forever)) [websocket] [Errno 110] Operation timed out - goodbye
2024-08-31 20:30:08.012 DEBUG (Thread-14832 (run_forever)) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Closed
2024-08-31 20:30:14.838 ERROR (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Failed to puslish message after 8 retry
2024-08-31 20:30:16.203 DEBUG (Thread-14833 (run_forever)) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Error (details : [Errno 110] Operation timed out)
2024-08-31 20:30:16.203 ERROR (Thread-14833 (run_forever)) [websocket] [Errno 110] Operation timed out - goodbye
2024-08-31 20:30:16.203 DEBUG (Thread-14833 (run_forever)) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Closed
2024-08-31 20:30:19.839 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Not connected, connecting...
2024-08-31 20:30:19.840 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Checking credentials...
2024-08-31 20:30:19.840 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi checking token validity : 2024-09-01 12:26:49.170485
2024-08-31 20:30:19.841 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi token is valid
2024-08-31 20:30:19.841 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Credentials are OK
2024-08-31 20:30:19.841 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Addr=wss://user.grit-cloud.com/prod/wss / Region=eu-central-1 / Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjUxODY0NjksImlhdCI6MTcyNTEwMDA2OSwiaXNzIjoiY29tLmFpY2xvdWQueXVnb25nIiwiZGF0YSI6eyJjYWxsaW5nX2NvZGUiOiIwMDQ2IiwiYWNjb3VudCI6ImRhbmllbC5sYW5kZXJob2xtQGdtYWlsLmNvbSIsImFwcF9uYW1lIjoiV2VCYWNrIiwiYXBpX3ZlcnNpb24iOiIxLjAiLCJhcHBfdmVyc2lvbiI6bnVsbCwicmVnaW9uX25hbWUiOiJldS1jZW50cmFsLTEiLCJsYW5ndWFnZSI6ImVuIn19.wJhSOK0eMhkF-ijVKU_yCWWQB_EONl-u5n9gX4jxjk4
2024-08-31 20:30:19.844 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Thread was init
2024-08-31 20:30:24.395 DEBUG (Thread-14834 (run_forever)) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Error (details : [Errno 110] Operation timed out)
2024-08-31 20:30:24.395 ERROR (Thread-14834 (run_forever)) [websocket] [Errno 110] Operation timed out - goodbye

@Jezza34000
Copy link
Owner

Hello sorry for the delay in response but I don't know why I never received a notification for the issues of this repo. Tell me if this problem is still relevant?

@dwolko
Copy link

dwolko commented Nov 20, 2024 via email

@Jezza34000
Copy link
Owner

Log you provide suggest component can get acces token from weback server but can't connect over WSS
Do you have any firewall or a special configuration who can block outgoing websocket communication ?

@dwolko
Copy link

dwolko commented Nov 20, 2024 via email

@Jezza34000
Copy link
Owner

Ok could you check and let me know ?

@dwolko
Copy link

dwolko commented Nov 20, 2024 via email

@Jezza34000
Copy link
Owner

Any update on this thread ? is ok for you ?

@tretorn76
Copy link
Author

tretorn76 commented Nov 28, 2024 via email

@Jezza34000
Copy link
Owner

This seems to be a connection problem.
The logs you previously provided suggest that the HTTPS connection is successful but that the establishment of the WSS (WebSocket) connection fails for an unknown reason.
I just released a version of component that updates the websocket dependency.
Can you test and tell me if this fixes the problem?

https://github.com/Jezza34000/homeassistant_weback_component/releases/tag/v1.0.9

@Jezza34000
Copy link
Owner

@tretorn76 did you try the new version ?

@tretorn76
Copy link
Author

Hi! Tried the new version but the fault randomly occurs. Seems though to be working more often then before.

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

3 participants