If ns_httpsget generated the error, then $response never got set. I suspect your connection is failing in the SSL handshake portion. Check obvious things like are you connecting to the correct IP and Port, is that port running SSL, etc. You didn't specify what version of nsopenssl you're running.
/s.
On Jan 26, 2004, at 7:39 AM, Torben Brosten wrote:
This is essentially cross posted at: http://openacs.org/forums/message-view?message_id=158383
What is the meaning of this "Unknown error"[1] from using ns_httpsget with openssl (running openacs 4.6.3)?
What is the nature of it? How is it resolved?
Here's how I'm using it (on freebsd stable, aolserver3.4.2oacs1):
from authorize-gateway/tcl/authorize-gateway-procs.tcl: if {[catch {set response [ns_httpsget $full_url 30 0 $header]} error_message]} {
Related observation. I get a request error: can't read "response" : no such variable..
when I place this following line directly after the above line:
ns_log Notice "The response is: [value_if_exists $response]"
I have read the thread at: http://www.mail-archive.com/[EMAIL PROTECTED]/msg06033.html but do not see how it was resolved --if it was.
If not, is it possible to bypass using ns_httpsget with openssl?
Some example variations of the error message:
error reading "openssl253": Unknown error: 175547536
error reading "openssl233": Unknown error: 175550432
error reading "openssl221": Unknown error: 182587232
error reading "openssl206": Unknown error: 175170816
error reading "openssl83": Unknown error: 167534432
error reading "openssl55": Unknown error: 187695504
error reading "openssl101": Unknown error: 177231376
Thanks in advance,
Torben
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
