Lisp HUG Maillist Archive

attach-ssl and drakma

With the current Drakma  in Personal Edition

(drakma:http-request "https://google.com")

Error: #<Function COMM:ATTACH-SSL 21EB7E3A> is called with keyword :TLSEXT-HOST-NAME among the arguments (:SSL-SIDE :CLIENT :TLSEXT-HOST-NAME "google.com") which is not one of (:SSL-SIDE :SSL-CTX :CTX-CONFIGURE-CALLBACK :SSL-CONFIGURE-CALLBACK :DO-HANDSHAKE :HANDSHAKE-TIMEOUT)

 :tslext-host-name is in LispWorks 7, not LispWorks 6

Any workarounds?

-- 
................................................
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science
McCormick School of Engineering, Northwestern University
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck/
Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html

Re: attach-ssl and drakma

Thanks, will double-check but I'm aware of the OpenSSL version issues 
and think I stil have the old one.

But this is a LispWorks keyword API issue that changed from 6 to 7. It 
doesn't get to actually using OpenSSL.

On 10/23/2019 12:10 PM, eivindmi@frisurf.no wrote:
> See https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lispworks.com_documentation_lw71_RNIG_html_readme-2D141.htm-23pgfId-2D1004117&d=DwIFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=rYww9Ur1WoBi28j2XhN4rwFLo31INs66FdFiX_Ro7pI&m=-qXwvvnEfHP4Iy8D6byRHbmI0EFKEKcpjZaLBbX5uXY&s=Xd2SHakzKPu0B0T5FBdTpiBbim9Ux6YWUPV_glAUlhs&e=
>
> Short version: Use an older version of ssl.
>
> If I remember this correctly, some C functions were changed to be macros (in ssl, not in LW), thus breaking the API.  Maybe try cl+ssl instead? I struggled with this problem a couple of years ago, but do not remember if I succeeded or just gave up.
>
>
> Regards,
> Eivind Midtgård
>
> From: owner-lisp-hug@lispworks.com <owner-lisp-hug@lispworks.com> On Behalf Of Christopher K Riesbeck
> Sent: onsdag 23. oktober 2019 17.23
> To: lisp-hug@lispworks.com
> Subject: attach-ssl and drakma
>
> With the current Drakma  in Personal Edition
> (drakma:http-request https://urldefense.proofpoint.com/v2/url?u=https-3A__google.com&d=DwIFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=rYww9Ur1WoBi28j2XhN4rwFLo31INs66FdFiX_Ro7pI&m=-qXwvvnEfHP4Iy8D6byRHbmI0EFKEKcpjZaLBbX5uXY&s=RfC8dRhKDTmBYXBAjpST07wOiEMt3jMHAmf-gwvPYgU&e= )
> Error: #<Function COMM:ATTACH-SSL 21EB7E3A> is called with keyword :TLSEXT-HOST-NAME among the arguments (:SSL-SIDE :CLIENT :TLSEXT-HOST-NAME "google.com") which is not one of (:SSL-SIDE :SSL-CTX :CTX-CONFIGURE-CALLBACK :SSL-CONFIGURE-CALLBACK :DO-HANDSHAKE :HANDSHAKE-TIMEOUT)
>   :tslext-host-name is in https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lispworks.com_documentation_lw71_LW_html_lw-2D307.htm&d=DwIFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=rYww9Ur1WoBi28j2XhN4rwFLo31INs66FdFiX_Ro7pI&m=-qXwvvnEfHP4Iy8D6byRHbmI0EFKEKcpjZaLBbX5uXY&s=NcSMAllZq-gsAbmf4qs8WPadQixIZYHK9PP5g1wBPc8&e= , not https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lispworks.com_documentation_lw60_LW_html_lw-2D541.htm&d=DwIFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=rYww9Ur1WoBi28j2XhN4rwFLo31INs66FdFiX_Ro7pI&m=-qXwvvnEfHP4Iy8D6byRHbmI0EFKEKcpjZaLBbX5uXY&s=s9lFei4cCpy0IefhvpQkdOKa3XJTpJ1GmTzioqS1joQ&e=
> Any workarounds?

-- 
.................................................
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science
McCormick School of Engineering, Northwestern University
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck/
Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: attach-ssl and drakma

I found the Quicklisp documentation on how to go back a version. Drakma 
works with Lispworks Personal if I do

(ql-dist-user::install-dist 
"http://beta.quicklisp.org/dist/quicklisp/2019-08-13/distinfo.txt" 
:replace t :prompt nil)

and then quickload drakma.


On 10/23/2019 12:34 PM, Christopher K Riesbeck wrote:
> Thanks, will double-check but I'm aware of the OpenSSL version issues
> and think I stil have the old one.
>
> But this is a LispWorks keyword API issue that changed from 6 to 7. It
> doesn't get to actually using OpenSSL.
>
> On 10/23/2019 12:10 PM, eivindmi@frisurf.no wrote:
>> See https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lispworks.com_documentation_lw71_RNIG_html_readme-2D141.htm-23pgfId-2D1004117&d=DwIFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=rYww9Ur1WoBi28j2XhN4rwFLo31INs66FdFiX_Ro7pI&m=-qXwvvnEfHP4Iy8D6byRHbmI0EFKEKcpjZaLBbX5uXY&s=Xd2SHakzKPu0B0T5FBdTpiBbim9Ux6YWUPV_glAUlhs&e=
>>
>> Short version: Use an older version of ssl.
>>
>> If I remember this correctly, some C functions were changed to be macros (in ssl, not in LW), thus breaking the API.  Maybe try cl+ssl instead? I struggled with this problem a couple of years ago, but do not remember if I succeeded or just gave up.
>>
>>
>> Regards,
>> Eivind Midtgård
>>
>> From: owner-lisp-hug@lispworks.com <owner-lisp-hug@lispworks.com> On Behalf Of Christopher K Riesbeck
>> Sent: onsdag 23. oktober 2019 17.23
>> To: lisp-hug@lispworks.com
>> Subject: attach-ssl and drakma
>>
>> With the current Drakma  in Personal Edition
>> (drakma:http-request https://urldefense.proofpoint.com/v2/url?u=https-3A__google.com&d=DwIFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=rYww9Ur1WoBi28j2XhN4rwFLo31INs66FdFiX_Ro7pI&m=-qXwvvnEfHP4Iy8D6byRHbmI0EFKEKcpjZaLBbX5uXY&s=RfC8dRhKDTmBYXBAjpST07wOiEMt3jMHAmf-gwvPYgU&e= )
>> Error: #<Function COMM:ATTACH-SSL 21EB7E3A> is called with keyword :TLSEXT-HOST-NAME among the arguments (:SSL-SIDE :CLIENT :TLSEXT-HOST-NAME "google.com") which is not one of (:SSL-SIDE :SSL-CTX :CTX-CONFIGURE-CALLBACK :SSL-CONFIGURE-CALLBACK :DO-HANDSHAKE :HANDSHAKE-TIMEOUT)
>>    :tslext-host-name is in https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lispworks.com_documentation_lw71_LW_html_lw-2D307.htm&d=DwIFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=rYww9Ur1WoBi28j2XhN4rwFLo31INs66FdFiX_Ro7pI&m=-qXwvvnEfHP4Iy8D6byRHbmI0EFKEKcpjZaLBbX5uXY&s=NcSMAllZq-gsAbmf4qs8WPadQixIZYHK9PP5g1wBPc8&e= , not https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lispworks.com_documentation_lw60_LW_html_lw-2D541.htm&d=DwIFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=rYww9Ur1WoBi28j2XhN4rwFLo31INs66FdFiX_Ro7pI&m=-qXwvvnEfHP4Iy8D6byRHbmI0EFKEKcpjZaLBbX5uXY&s=s9lFei4cCpy0IefhvpQkdOKa3XJTpJ1GmTzioqS1joQ&e=
>> Any workarounds?

-- 
.................................................
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science
McCormick School of Engineering, Northwestern University
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck/
Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Updated at: 2020-12-10 08:29 UTC