Comments (1)
Setting this to 1 enables some extra logging to see what's going on.
With that additional logging on, this is the printout I get:
Attempting to open interface number 2.
Successfully opened interface number 2.
prvInitialiseDHCP: start after 250 ticks
vDHCPProcess: discover
vDHCPProcess: discover
vDHCPProcess: timeout 10000 ticks
vDHCPProcess: discover
vDHCPProcess: timeout 20000 ticks
vDHCPProcess: discover
vDHCPProcess: timeout 40000 ticks
vDHCPProcess: discover
vDHCPProcess: timeout 80000 ticks
vDHCPProcess: giving up 160000 > 120000 ticks
[INFO] [AzureIoTDemo] [vApplicationIPNetworkEventHook:162] ---------STARTING DEMO---------
[INFO] [AzureIoTDemo] [vApplicationIPNetworkEventHook:171]
IP Address: 10.10.10.200
[INFO] [AzureIoTDemo] [vApplicationIPNetworkEventHook:174] Subnet Mask: 255.0.0.0
[INFO] [AzureIoTDemo] [vApplicationIPNetworkEventHook:177] Gateway Address: 10.10.10.1
[INFO] [AzureIoTDemo] [vApplicationIPNetworkEventHook:180] DNS Server Address: 208.67.222.222
[INFO] [AZ IOT] [prvConnectToServerWithBackoffRetries:635] Creating a TLS connection to val-iot-hub.azure-devices.net:8883.
[ERROR] [TlsTransport] [TLS_Socket_Connect:719] Failed to connect to val-iot-hub.azure-devices.net with error -1.
FreeRTOS_closesocket[0 to 0ip:0]: buffers 60 socks 0
[WARN] [AZ IOT] [prvConnectToServerWithBackoffRetries:685] Connection to the IoT Hub failed [6]. Retrying connection with backoff and jitter [95]ms.
[INFO] [AZ IOT] [prvConnectToServerWithBackoffRetries:660] Creating a TLS connection to val-iot-hub.azure-devices.net:8883.
[ERROR] [TlsTransport] [TLS_Socket_Connect:719] Failed to connect to val-iot-hub.azure-devices.net with error -1.
FreeRTOS_closesocket[0 to 0ip:0]: buffers 60 socks 0
[WARN] [AZ IOT] [prvConnectToServerWithBackoffRetries:685] Connection to the IoT Hub failed [6]. Retrying connection with backoff and jitter [1570]ms.
[INFO] [AZ IOT] [prvConnectToServerWithBackoffRetries:660] Creating a TLS connection to val-iot-hub.azure-devices.net:8883.
[ERROR] [TlsTransport] [TLS_Socket_Connect:719] Failed to connect to val-iot-hub.azure-devices.net with error -1.
FreeRTOS_closesocket[0 to 0ip:0]: buffers 60 socks 0
[WARN] [AZ IOT] [prvConnectToServerWithBackoffRetries:685] Connection to the IoT Hub failed [6]. Retrying connection with backoff and jitter [1360]ms.
[INFO] [AZ IOT] [prvConnectToServerWithBackoffRetries:660] Creating a TLS connection to val-iot-hub.azure-devices.net:8883.
[ERROR] [TlsTransport] [TLS_Socket_Connect:719] Failed to connect to val-iot-hub.azure-devices.net with error -1.
FreeRTOS_closesocket[0 to 0ip:0]: buffers 60 socks 0
[WARN] [AZ IOT] [prvConnectToServerWithBackoffRetries:685] Connection to the IoT Hub failed [6]. Retrying connection with backoff and jitter [2459]ms.
[INFO] [AZ IOT] [prvConnectToServerWithBackoffRetries:660] Creating a TLS connection to val-iot-hub.azure-devices.net:8883.
`
from iot-middleware-freertos-samples.
Related Issues (20)
- ullGetUnixTime() does not return an accurate Unix epoch in ST b-l475e-iot01a demo HOT 3
- Error calling AzureIoTHubClient_SendPropertiesReported HOT 19
- Update the Windows "Find UART" instructions everywhere HOT 1
- PnP crashes after 64 minutes HOT 19
- CMake configuration/build error for PC Simulation (windows) HOT 1
- Cortex-Debug for NXP 1060 should use "runToMain": true
- ADU groups doesnt appear in Groups and Deployments under Update section HOT 8
- FOTA with the ESP32 Documentation Inquiry HOT 11
- Potential stack corruption in sockets_wrapper_lwip.c HOT 2
- Can anyone help to use vscode to build example HOT 2
- ESP-TLS : Failed to open new connection HOT 5
- How to connect more than 1 module? HOT 1
- SNTP Server time sync event messes up with the TLS receive function
- How to receive desired properties from IoT hub from device twin HOT 4
- Wrong version of CMAKE specified HOT 1
- Uninitialized memory in TLS_Socket_Connect will cause random free of memory in mbedlts context
- Error in AzureIoTHubClient_ProcessLoop HOT 2
- Error in AzureIoTHubClientProperties_GetNextComponentProperty HOT 1
- Compatible with esp-idf 5.2.1 ?
- Azure IoT Middleware for Freertos - Failed to establish MQTT connection, error 0x00000006
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iot-middleware-freertos-samples.