Copyright ©

Mongoose OS Forum

ATTENTION! This forum has moved to:

Do not post any new messages.

TLS finish of HTTP.query

While using HTTP.query in mJS (with REST API of HTTP transaction is interrupted by:

[Dec 31 01:09:48.274] mg_ssl_mbed_log      0x3ffdee98 mbedtls_ssl_handle_message_type() returned -30848 (-0x7880)
[Dec 31 01:09:48.283] mg_ssl_mbed_log      0x3ffdee98 mbedtls_ssl_read_record() returned -30848 (-0x7880)

and finishes with empty error. But data are transferred to server and it seams that response is also transferred back to client.

is ok (after data transfer) with one time HTTP/1.0 transaction without keepalive.

Should not that be fixed in Mongoose OS libs please ?


  • rojerrojer Dublin, Ireland

    yes, MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY should not be an error.

  • rojerrojer Dublin, Ireland

    i looked into it and yes, it's purely cosmetic - the request succeeds and the reply is fully read. i submitted a change to silence this message when logging.

Sign In or Register to comment.