Giter VIP home page Giter VIP logo

Comments (2)

ericwol-msft avatar ericwol-msft commented on July 18, 2024 1

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.

amolchor25 avatar amolchor25 commented on July 18, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.