This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/EK-TM4C1294XL: Networking output to console: "TcpTimeoutRexmt: Retransmit Timeout"

Part Number: EK-TM4C1294XL

Tool/software: TI-RTOS

Environment: Windows 64, CCS 7.4, XDCtools 3.32.0.06, TI-RTOS 2.16.0.08
I have taken the httpGet example for this board and modified it to make a post to a server. Every time I run it, I get (on console) "00065.500 TcpTimeoutRexmt: Retransmit Timeout", but the leading number is different for each iteration. This isn't preventing the post from working, but since there are unexpected outputs, it concerns me. I found a couple of related forum posts suggesting it may be related to the stack sizes so I increased the httpTask's stack but it did not have a discernable effect or prevent the unexpected output. Referencing the code snippet below and the console log, it seems as if the request and request body are successfully being transmitted (since the server accepts and positively validates the request body's content), but since there is a retransmit timeout, I'm inclined to think that either the server is not sending an acknowledgement back in time (thus triggering a retransmit) or that it's acknowledgement isn't being correctly received/interpreted by the ndk/rtos. For the sake of brevity, I tried to post only what seemed like relevant code, but if more context is needed, let me know. Currently, this is a standalone project, but when it is integrated with the main RTOS project, the delay this retransmit causes could cause timing issues so I'd like to nip it in the bud. Can anyone provide some insight and/or advice on how to resolve this?

After the http client has been initialized and connected to the server:
while(1) {
Semaphore_pend(httpSem, BIOS_WAIT_FOREVER);

ret = HTTPCli_sendRequest(&cli, HTTPStd_POST, REQUEST_URI, false);
if (ret < 0) {
printError("httpTask: send failed", ret);
}
else if (ret == 0) {
System_printf("HTTP post request: success\n");
System_flush();
}


ret = HTTPCli_sendRequestBody(&cli, (const char *)&sendBuf, strlen(sendBuf)); // sizeof(sendBuf));
if (ret < 0) {
printError("httpTask: sending request body failed", ret);
//Task_sleep(1000);
}
else if (ret == 0) {
System_printf("Request body: sent\n");
System_flush();
}

//} while (ret < 0);

ret = HTTPCli_getResponseStatus(&cli);
if (ret != HTTPStd_OK && ret != HTTPStd_NO_CONTENT) {
printError("httpTask: response status isn't 200 (OK) or 204 (NO CONTENT)", ret);
}
System_printf("HTTP Response Status Code: %d\n", ret);
System_flush();


Console output:
HTTP post request: success
Request body: sent
00065.500 TcpTimeoutRexmt: Retransmit Timeout
HTTP Response Status Code: 200
Server response type: application/json; charset=utf-8
Server response length: 216
"Connection": keep-alive

Response Body:
{"confirmation":"success"...... // IT'S A LONG RESPONSE SO I TRUNCATED IT