-
Notifications
You must be signed in to change notification settings - Fork 57
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
SSL certification error #51
Comments
Hi guys, Thank you, |
Hi, Sorry for the late response. In I can easily add an option to enable or disable this, and this will fix your issue. I can easily do this in due time, and once done, I will update here. Best. |
Hi there,
No worries for the delay. Thank you very much for your reply, I do appreciate. Yes I think it would be a useful addition to the liboai library. Please let me know when you have it in so I can remove the patch that I have :-). With the patch that I have implemented it is working now.
Thank you,
Stay safe
… On Mar 30, 2024, at 11:18 PM, Dread ***@***.***> wrote:
Hi,
Sorry for the late response.
In liboai's core network back-end source code, I do not force the library to verify certificate of peers. The default for this setting, according to cURL, is enabled - so peer certificates will be verified (see here <https://curl.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html>).
I can easily add an option to enable or disable this, and this will fix your issue. I can easily do this in due time, and once done, I will update here.
Best.
—
Reply to this email directly, view it on GitHub <#51 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AI54DTHSCAG5RWD5HTBWLQLY256ANAVCNFSM6AAAAABEZGX3D6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGUZTSOBVGY>.
You are receiving this because you authored the thread.
|
Hi, I have released a quick-fix PR (#52) for this issue. Please update the file changed and use the new pre-processor definition described in the PR, as well as the debug pre-processor definition Let me know the results and, if successful, I will push to main branch. Best. |
Hi,
Sorry for the late response but I had so many things to deal with that this went at a lower priority. Thank you for the info and I will look into today.
Thank you again,
Stay safe
… On Mar 30, 2024, at 11:18 PM, Dread ***@***.***> wrote:
Hi,
Sorry for the late response.
In liboai's core network back-end source code, I do not force the library to verify certificate of peers. The default for this setting, according to cURL, is enabled - so peer certificates will be verified (see here <https://curl.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html>).
I can easily add an option to enable or disable this, and this will fix your issue. I can easily do this in due time, and once done, I will update here.
Best.
—
Reply to this email directly, view it on GitHub <#51 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AI54DTHSCAG5RWD5HTBWLQLY256ANAVCNFSM6AAAAABEZGX3D6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGUZTSOBVGY>.
You are receiving this because you authored the thread.
|
Describe the bug
Hello guys,
First of all I would like to say thank you for this work and providing to the community this c++ Library 👍.
I was on OpenAI API website looking for a C++ option and I came across your library. I was able to easily build it and integrate it into our project without any issue (Android & iOS). Our code is C++ based - obviously 😊.
To make the learning curve simple, I just took your “conversasion” example and used it without any modification. Just to make sure that everything is working fine. Unfortunatunatly the “ChatCompletion” call is failling. This is the error/exception message that I have:
liboai::netimpl::Session::Perform(): Peer certificate cannot be authenticated with given CA certificates (E_CURLERROR:0x06)
Thank you,
Stay safe
To Reproduce
Code snippets
OS
iOS
Library version
liboai v3.2.1
The text was updated successfully, but these errors were encountered: