Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello, when I run the./dtls/client_dtls_ipv6.c and server_dtls_ipv6.c programs, an error occurs on the wolfSSL_connect interface with error code -308 and error state on socket. How to deal with it? #445

Open
qikailiang opened this issue Jul 11, 2024 · 1 comment
Assignees

Comments

@qikailiang
Copy link

No description provided.

@kareem-wolfssl
Copy link
Contributor

Hi @qikailiang ,

I was able to reproduce a -308 error when building without --enable-ipv6, after adding this flag I see that the connection is working. You will need to build with: --enable-dtls --enable-dtls13 --enable-ipv6.
I am still seeing a -308 error from the server but it is raised after the connection is complete and the socket is closed. The server outputs Client left cont to idle state after this indicating it is still working fine.

Please confirm your build settings and wolfSSL version (I tested with 5.7.2) and if you continue to run into issues, please generate a debug log by building with --enable-debug, uncommenting the wolfSSL_Debugging_ON() line in the client/server and attach the logs here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants