Topic: wolfSSL_connect error -326

I use ./examples/client/client -h url -p 443 -d -g, and I received the error below:
wolfSSL_connect error -326, record layer version error
wolfSSL error: wolfSSL_connect failed

while, I test with www.google.com that is OK, I don't why

Please give me some suggestion, Thanks!

Share

Re: wolfSSL_connect error -326

Hello yuliang136,

When you are receiving an error, what url are you passing to the -h option?

Thanks,
Kareem

Share

Re: wolfSSL_connect error -326

The URL is sdkoverseas.leiting.com
Thanks

kareem wrote:

Hello yuliang136,

When you are receiving an error, what url are you passing to the -h option?

Thanks,
Kareem

Share

Re: wolfSSL_connect error -326

I was able to reproduce your issue here.  It seems this server is not sending a correct record header, the record header has no version number so it is invalid.  Please confirm the server is set up correctly.

Thanks,
Kareem

Share

Re: wolfSSL_connect error -326

Thanks a lot!

kareem wrote:

I was able to reproduce your issue here.  It seems this server is not sending a correct record header, the record header has no version number so it is invalid.  Please confirm the server is set up correctly.

Thanks,
Kareem

Share