A timeout occurred while waiting for the ACK
See original GitHub issue👋 Hiya - I’ve started getting timeouts when trying to read the status of either of my MSS310’s. This appears to happen on any of the .get_<thing>()
methods.
Has been happening for at least the last day or two.
Here’s a reproducible set of Python commands:
❯ python3
Python 3.7.7 (default, Mar 10 2020, 15:43:33)
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from meross_iot.cloud.devices.power_plugs import GenericPlug
>>> from meross_iot.manager import MerossManager
>>> EMAIL="<redacted>"
>>> PASSWORD="<redacted>"
>>> manager = MerossManager.from_email_and_password(meross_email=EMAIL, meross_password=PASSWORD)
>>> manager.start()
>>> manager.get_devices_by_kind(GenericPlug)
[<meross_iot.cloud.devices.power_plugs.GenericPlug object at 0x10b20e510>, <meross_iot.cloud.devices.power_plugs.GenericPlug object at 0x10b20ead0>, <meross_iot.cloud.devices.power_plugs.GenericPlug object at 0x10b20e4d0>, <meross_iot.cloud.devices.power_plugs.GenericPlug object at 0x10b20e1d0>]
>>> shelf = manager.get_devices_by_kind(GenericPlug)[0]
<meross_iot.cloud.devices.power_plugs.GenericPlug object at 0x10b20e510>
>>> shelf.name
'Living room shelf'
>>> shelf.get_electricity()
# ... snip
meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10
>>> shelf.get_status()
# ... snip
meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10
>>> manager.stop()
Click to view the full error stack
>>> shelf.get_status()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/danhughes/src/github.com/dan1elhughes/casa/services/service.meross/venv/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 134, in get_status
self._state = self._get_status_impl()
File "/Users/danhughes/src/github.com/dan1elhughes/casa/services/service.meross/venv/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 88, in _get_status_impl
data = self.get_sys_data()['all']
File "/Users/danhughes/src/github.com/dan1elhughes/casa/services/service.meross/venv/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 119, in get_sys_data
return self.execute_command("GET", ALL, {}, online_check=False)
File "/Users/danhughes/src/github.com/dan1elhughes/casa/services/service.meross/venv/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 116, in execute_command
return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout)
File "/Users/danhughes/src/github.com/dan1elhughes/casa/services/service.meross/venv/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 294, in execute_cmd
raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout)
meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10
Happy to share any more details or run any commands to help debug. Thanks 🙏
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
"Timeout waiting for ACK" reported even when it's actually a ...
On the receiver side, if the connection is being kept open and a timeout occurs, it doesn't trigger a logger.error or alert, but...
Read more >Timeout waiting for ACK - Zmanda
Linux ClientsAmanda uses the xinetd service to listen on port 10080. To resolve this issue, restart the xinetd service and verify incoming connections...
Read more >Timeout error occured while waiting for acknowledgement.
Hello, I just got a RobotDyn STM32 ARM Board (Blue Pill) with the arduino bootloader on it. It keeps printing "Hello Robotdyn" in...
Read more >A timeout occurred while waiting for the EHCI host controller
When I'm using my computer running Windows 8 Pro x64 randomly all of the USB's will freeze up, yet the PC will still...
Read more >Configure socket ACK timeout? - Stack Overflow
During this time the barcode terminal is waiting for the ACK from the server and will retransmit if it doesn't hear back from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Alright. Given the enthusiasm that this library has generated around, I’ve decided to completely rewrite the framework. I’m sorry for the delay that this will cause, but the new version will hopefully solve most of the major problems arose with current version.
Hi guys and thanks for the support. I’ve got a MSS310 HW version 2.0 and I will test it in the next days. I’ll keep you posted.