Closed towwei closed 5 years ago
Hi,
i am going through GG getting started guide, however, i am stuck at module 5, 3b. (https://docs.aws.amazon.com/greengrass/latest/developerguide/comms-disabled.html)
seemed like a common problem as someone posted the same in github without any solution https://github.com/aws/aws-iot-device-sdk-python/issues/141
as module 6 and 7 have dependencies on module 5, i want to complete it successfully. can someone help?
here's the error that i am seeing when i execute the py script. tried it on both Mac and Windows. seeing the same output.
2019-08-11 13:34:01,298 - AWSIoTPythonSDK.core.protocol.mqtt_core - INFO - Performing sync subscribe... 2019-08-11 13:34:01,298 - AWSIoTPythonSDK.core.protocol.mqtt_core - INFO - Offline request detected! 2019-08-11 13:34:01,298 - AWSIoTPythonSDK.core.protocol.mqtt_core - ERROR - Offline request queue has been disabled Traceback (most recent call last): File "trafficLight.py", line 232, in deviceShadowHandler.shadowRegisterDeltaCallback(customShadowCallback_Delta) File "/Library/Python/2.7/site-packages/AWSIoTPythonSDK/core/shadow/deviceShadow.py", line 398, in shadowRegisterDeltaCallback self._shadowManagerHandler.basicShadowSubscribe(self._shadowName, "delta", self.generalCallback) File "/Library/Python/2.7/site-packages/AWSIoTPythonSDK/core/shadow/shadowManager.py", line 68, in basicShadowSubscribe self._mqttCoreHandler.subscribe(currentShadowAction.getTopicDelta(), 0, srcCallback) File "/Library/Python/2.7/site-packages/AWSIoTPythonSDK/core/protocol/mqtt_core.py", line 299, in subscribe self._handle_offline_request(RequestTypes.SUBSCRIBE, (topic, qos, message_callback)) File "/Library/Python/2.7/site-packages/AWSIoTPythonSDK/core/protocol/mqtt_core.py", line 370, in _handle_offline_request raise self._offline_request_queue_disabled_exceptions[type] AWSIoTPythonSDK.exception.AWSIoTExceptions.subscribeQueueDisabledException
Hey @towwei, Have you figured out the solution as I m also stuck in the same issue?
Hi,
i am going through GG getting started guide, however, i am stuck at module 5, 3b. (https://docs.aws.amazon.com/greengrass/latest/developerguide/comms-disabled.html)
seemed like a common problem as someone posted the same in github without any solution https://github.com/aws/aws-iot-device-sdk-python/issues/141
as module 6 and 7 have dependencies on module 5, i want to complete it successfully. can someone help?
here's the error that i am seeing when i execute the py script. tried it on both Mac and Windows. seeing the same output.
2019-08-11 13:34:01,298 - AWSIoTPythonSDK.core.protocol.mqtt_core - INFO - Performing sync subscribe... 2019-08-11 13:34:01,298 - AWSIoTPythonSDK.core.protocol.mqtt_core - INFO - Offline request detected! 2019-08-11 13:34:01,298 - AWSIoTPythonSDK.core.protocol.mqtt_core - ERROR - Offline request queue has been disabled Traceback (most recent call last): File "trafficLight.py", line 232, in
deviceShadowHandler.shadowRegisterDeltaCallback(customShadowCallback_Delta)
File "/Library/Python/2.7/site-packages/AWSIoTPythonSDK/core/shadow/deviceShadow.py", line 398, in shadowRegisterDeltaCallback
self._shadowManagerHandler.basicShadowSubscribe(self._shadowName, "delta", self.generalCallback)
File "/Library/Python/2.7/site-packages/AWSIoTPythonSDK/core/shadow/shadowManager.py", line 68, in basicShadowSubscribe
self._mqttCoreHandler.subscribe(currentShadowAction.getTopicDelta(), 0, srcCallback)
File "/Library/Python/2.7/site-packages/AWSIoTPythonSDK/core/protocol/mqtt_core.py", line 299, in subscribe
self._handle_offline_request(RequestTypes.SUBSCRIBE, (topic, qos, message_callback))
File "/Library/Python/2.7/site-packages/AWSIoTPythonSDK/core/protocol/mqtt_core.py", line 370, in _handle_offline_request
raise self._offline_request_queue_disabled_exceptions[type]
AWSIoTPythonSDK.exception.AWSIoTExceptions.subscribeQueueDisabledException