Comments (2)
This error is coming from the BIGNUM lib in the mbed TLS stack, which is an external component to this repo.
This might be relevant.
https://forums.mbed.com/t/bignum-the-buffer-is-too-small-to-write-to/11693
from iot-middleware-freertos-samples.
@ericwol-msft
Thanks for your reply !!
here are the detailed logs:
basically the processloop error is caused by timeout.
[2024-02-19_11:08:15:556]ip4_output_if: call netif->output()
[2024-02-19_11:08:15:582]pbuf_alloc(length=0)
[2024-02-19_11:08:15:582]pbuf_alloc(length=0) == 0x2000e75c
[2024-02-19_11:08:15:582]lwip_recv_tcp: netconn_recv err=-3, 073581.lwip_recv_tcp: p == NULL, error is "Timeout."!
[2024-02-19_11:08:15:582]lwip_recvfrom(0): addr=23.98.104.211 port=8883 len=-1
[2024-02-19_11:08:15:582]in_left: zu, nb_want: zu
[2024-02-19_11:08:15:632][ERROR] [TlsTransport] [transport_tls_socket_using_mbedtls.c:906] Failed to read data: mbedTLSError[-1]= : ERROR - Generic error.
[2024-02-19_11:09:02:097]pbuf_alloc(length=1)
[2024-02-19_11:09:02:097]pbuf_alloc(length=1) == 0x2000e54c
[2024-02-19_11:09:02:097]tcpip_inpkt: PACKET 0x2000e54c/0x20007498
[2024-02-19_11:09:02:097]pbuf_free(0x2000e54c)
[2024-02-19_11:09:02:097]pbuf_free: deallocating 0x2000e54c
[2024-02-19_11:09:02:838][ERROR] [MQTT] [core_mqtt_serializer.c:2394] A single byte was not read from the transport: transportStatus=-1.
[2024-02-19_11:09:16:383]pbuf_alloc(length=1)
[2024-02-19_11:09:16:383]pbuf_alloc(length=1) == 0x2000e54c
[2024-02-19_11:09:16:383]tcpip_inpkt: PACKET 0x2000e54c/0x20007498
[2024-02-19_11:09:16:383]pbuf_free(0x2000e54c)
[2024-02-19_11:09:16:383]pbuf_free: deallocating 0x2000e54c
[2024-02-19_11:09:33:264]pbuf_alloc(length=1)
[2024-02-19_11:09:33:264]pbuf_alloc(length=1) == 0x2000e54c
[2024-02-19_11:09:33:264]tcpip_inpkt: PACKET 0x2000e54c/0x20007498
[2024-02-19_11:09:33:264]pbuf_free(0x2000e54c)
[2024-02-19_11:09:33:264]pbuf_free: deallocating 0x2000e54c
[2024-02-19_11:09:34:541][ERROR] [MQTT] [core_mqtt.c:1319] Receiving incoming packet length failed. Status=MQTTRecvFailed
[2024-02-19_11:09:49:731][ERROR] [MQTT] [core_mqtt.c:2191] Exiting process loop due to failure: ErrorStatus=MQTTRecvFailed
[2024-02-19_11:10:19:922]pbuf_alloc(length=1)
[2024-02-19_11:10:19:922]pbuf_alloc(length=1) == 0x2000e54c
[2024-02-19_11:10:19:922]tcpip_inpkt: PACKET 0x2000e54c/0x20007498
[2024-02-19_11:10:19:922]pbuf_free(0x2000e54c)
[2024-02-19_11:10:19:922]pbuf_free: deallocating 0x2000e54c
[2024-02-19_11:10:20:239]Wait for properties sub ack failed: error=0x00000001
if there is no data from cloud to device, then how the azure middleware will handle the processloop timeout error?
from iot-middleware-freertos-samples.
Related Issues (20)
- Timeout HOT 2
- Windows Sample hangs HOT 1
- 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 AzureIoTHubClientProperties_GetNextComponentProperty HOT 1
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.