Hello, We used gsoap server with openssl in our application server and encountered SSL_accept error when the server threads was pooled to limit the number of threads serving the requests simultaneously. Here is the excerpt of our log:
Request #1 accepted on socket 4 connected from IP 10.117.2.40 Doing soap_accept(soap) [process_queue] Received socket 4 [process_queue] Calling soap_ssl_accept(tsoap) [stdsoap2] checking socket exist [stdsoap2] checking valid socket [stdsoap2] checking ssl [stdsoap2] create new ssl frm context [stdsoap2] create BIO new socket [stdsoap2] setting SSL BIO [stdsoap2] calling SSL_accept() [stdsoap2] calling SSL_accept() return, r = -1. [stdsoap2] SSL_get_error, err = 5. ERR_peek_last_error(): error:00000000:lib(0):func(0):reason(0) Error 25 fault: SOAP-ENV:Server [no subcode] "Error observed by underlying BIO: Resource temporarily unavailable" Detail: SSL_accept() failed in soap_ssl_accept() We only see this happens on AIX. We are trying to understand what this error means and what could be the cause to this problem. Any help will be very appreciated! Thanks, Hong