Comments (7)
from wolfssl.
from wolfssl.
Hi @1756816846 ,
Do you have anything else open on port 21152?
Please rebuild wolfSSL with --enable-debug, run wolfSSL_Debugging_ON() at the start of your program and attach debug logs here.
from wolfssl.
你好@1756816846,
您在端口 21152 上还有其他开放的东西吗? 请使用--enable-debug重建wolfSSL,在程序开始时运行wolfSSL_Debugging_ON()并在此处附加调试日志。
─# ./demo 172.16.0.107
wolfSSL Entering TLSv1_2_client_method_ex
wolfSSL Entering wolfSSL_CTX_new_ex
wolfSSL Entering wolfSSL_CertManagerNew
wolfSSL Leaving WOLFSSL_CTX_new, return 0
wolfSSL Entering wolfSSL_CTX_set_verify
wolfSSL Entering SSL_new
wolfSSL Leaving SSL_new, return 0
wolfSSL Entering SSL_set_fd
wolfSSL Entering SSL_set_read_fd
wolfSSL Leaving SSL_set_read_fd, return 1
wolfSSL Entering SSL_set_write_fd
wolfSSL Leaving SSL_set_write_fd, return 1
wolfSSL Entering SSL_connect()
wolfSSL Entering SendClientHello
Adding signature algorithms extension
growing output buffer
Signature Algorithms extension to write
Point Formats extension to write
Supported Groups extension to write
Encrypt-Then-Mac extension to write
EMS extension to write
Your IO Send callback is null, please set
wolfSSL Leaving SendClientHello, return -308
wolfSSL error occurred, error = -308
wolfSSL Entering SSL_get_error
wolfSSL Leaving SSL_get_error, return -308
ERROR -308: failed to connect to wolfSSL -1
wolfSSL Entering SSL_free
Free'ing client ssl
Shrinking output buffer
wolfSSL Entering ClientSessionToSession
CTX ref count not 0 yet, no free
wolfSSL Leaving SSL_free, return 0
wolfSSL Entering SSL_CTX_free
CTX ref count down to 0, doing full free
wolfSSL Entering wolfSSL_CertManagerFree
wolfSSL Leaving SSL_CTX_free, return 0
wolfSSL Entering wolfSSL_Cleanup
wolfSSL Entering wolfCrypt_Cleanup
from wolfssl.
Your IO Send callback is null, please set
You need to set an IO send callback using wolfSSL_SetIOSend
. Check out our example here: https://github.com/wolfSSL/wolfssl-examples/blob/master/tls/client-tls-callback.c
from wolfssl.
Error: failed to connect
Still not working, I used the demo you sent and added/* Set the socket options to use nonblocking I/O*/
If (fcntl (sockfd, F_SETFL, O-NONBLOCK)==-1){
Fprintf (stderr, "Error: failed to set non blocking \ n");
Ret=-1;
Goto exit;
}
from wolfssl.
I have succeeded now
from wolfssl.
Related Issues (20)
- [Bug]: armv7l build error: wolfcrypt/src/src_libwolfssl_la-sp_int.lo] Error 1 HOT 1
- [Bug]: include/wolfssl/wolfcrypt/sha512.h:141: error: expected specifier-qualifier-list before 'word64' HOT 1
- [Bug]: undefined reference to `__aeabi_read_tp' HOT 5
- [Bug]: DTLS Anti-Replay Mechanism Corner Cases HOT 3
- [Bug]: ClientHello's status_request extension handling issue HOT 10
- [Bug]: ClientHello's handshake version issue HOT 7
- ld: warning: alignment (4) of atom '_cpuFlagsSet' from '...x25519_asm.o' is too small and may result in unaligned pointers HOT 1
- gpg --verify failure HOT 2
- [Bug]: Chacha20_poly1305 WolfSSL and OpenSSL produce same ciphertext but different tags HOT 8
- How to bundle this lib with FetchContent/ExternalProject to find it later with pkg_check_modules? HOT 5
- Arduino Nano ESP32 examples fail to build in Arduino IDE HOT 1
- [Suggestion] Consider defaulting WOLFSSL_ALT_CERT_CHAINS to ON ( Failed to verify CA from chain error ) HOT 2
- [Bug]: a potiential divide by zero exception HOT 1
- [OpenSSL compatibility]: 5.6.6 and/or v5.6.6-stable-564-g3129e29a1 do not fill int pointed to by 2nd argument to SSL_CIPHER_get_bits(sc, &bitsalg); HOT 2
- Add a function to derive default ciphers HOT 12
- wolfSSL_get_verify_result always fails HOT 1
- DTLS1.3 and PQC not working as TLS1.3 HOT 6
- [Bug]: wolfSSL QUIC handshake failure HOT 4
- [Bug, openSSL compatibility]: HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wolfssl.