Skip to content

Error due to output buffer being too small #111

@moritz89

Description

@moritz89

After running a WebSocket connection over an LTE modem, this error is periodically thrown after a few minutes of connection:

[1142427][E][ssl__client.cpp:45] _handle_error(): [send_ssl_data():919]: (-27136) SSL - A buffer is too small to receive or write a message
[1142439][E][SSLClient.cpp:385] write(): Error sending data to SSL connection. Stopping SSLClient...

Is there a way to increase the buffer size or enable dynamic buffers?

Attempting to define MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH and MBEDTLS_SSL_MAX_FRAGMENT_LENGTH had no noticeable effect. Is there anything else that can be done to handle the error?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions