1 (edited by y.vandongen 2019-10-15 01:28:44)

Topic: TCP Server Demonstration not working

Hello,

I am trying to run an wolfSSL TCP server demonstration as described here: https://github.com/Microchip-MPLAB-Harm … onstration

Connecting to the web page from firefox using HTTP seems to be working fine. Connecting to the web page from firefox using HTTPS crashes the demonstration however. The first HTTPS connection works, and the "nothing here" test page gets displayed. The second attempt to connect will result in the connection timing out.

The UART debug port will also mention "DRV_PIC32CGMAC_LibRxBuffersAppend: Rx Buffer Queue error \r\n" during any SSL communication. Please see attachment for the UART output.

I'd appreciate any help in fixing this issue.

Post's attachments

uart output.png
uart output.png 42.48 kb, 3 downloads since 2019-10-15 

You don't have the permssions to download the attachments of this post.

Share

Re: TCP Server Demonstration not working

Hi @y.vandongen,

Thanks for reaching out to wolfSSL. The "Buffer Queue error" received during ssl connection appears to be a WANT_READ error, which is expected, so it doesn't seem that would be related to the failing connection.

Have you tried building wolfSSL with debug enabled? Try defining DEBUG_WOLFSSL and call wolfSSL_Debugging_ON() at the start of the program. We would be happy to take a look at the output for you if you want to attach the debug log.

Best,

Carie Pointer
www.wolfssl.com

Share