-
Notifications
You must be signed in to change notification settings - Fork 1.1k
AWS FreeRTOS Windows Simulator demo issue about NETWORK ERROR #2037
Comments
Hello @shengyi123 The DNS lookup passed as evident by this line:
A -116 error is a timeout on trying to connect. A timeout can occur if AWS IoT refuses your connection and drops the TLS handshake altogether.
|
Hi @sarenameas ,
and then bacause I use quick connect,I don't think it should be a problem |
I think this problem is related to the firewall |
I follow the quick connect, there is the error: 14 3925 [iot_thread] [INFO ][INIT][3925] SDK successfully initialized. |
Hi,
The following is my log:
`9 6062 [iot_thread] [INFO ][DEMO][6062] ---------STARTING DEMO---------
10 6063 [iot_thread] [INFO ][INIT][6063] SDK successfully initialized.
11 6063 [iot_thread] [INFO ][DEMO][6063] Successfully initialized the demo. Network type for the demo: 4
12 6063 [iot_thread] [INFO ][MQTT][6063] MQTT library successfully initialized.
13 6063 [iot_thread] [INFO ][DEMO][6063] MQTT demo client identifier is IotThing (length 8).
14 6618 [iot_thread] DNS[0x91D3]: The answer to 'abcdefg-ats.iot.us-east-2.amazonaws.com' (3.22.227.144) will be stored
15 11620 [iot_thread] [ERROR][NET][11620] Failed to establish new connection. Socket status: -116.
16 11620 [iot_thread] [ERROR][MQTT][11620] Failed to establish new MQTT connection, error NETWORK ERROR.
17 11620 [iot_thread] [ERROR][DEMO][11620] MQTT CONNECT returned error NETWORK ERROR.
18 11620 [iot_thread] [INFO ][MQTT][11620] MQTT library cleanup done.
19 11620 [iot_thread] [INFO ][DEMO][11620] memory_metrics::freertos_heap::before::bytes::2085856
20 11620 [iot_thread] [INFO ][DEMO][11620] memory_metrics::freertos_heap::after::bytes::2057664
21 11620 [iot_thread] [INFO ][DEMO][11620] memory_metrics::demo_task_stack::before::bytes::1908
22 11620 [iot_thread] [INFO ][DEMO][11620] memory_metrics::demo_task_stack::after::bytes::1908
23 11620 [iot_thread] [ERROR][DEMO][11620] Error running demo.
24 11623 [iot_thread] [INFO ][INIT][11623] SDK cleanup done.
25 11623 [iot_thread] [INFO ][DEMO][11623] -------DEMO FINISHED-------`
System information
I use fast connect in aws but get networ error.
I have tried many times.
I guest it's related to DNS lookup
Can anybody has any idea about this?
Thank you very much!
The text was updated successfully, but these errors were encountered: