-
Notifications
You must be signed in to change notification settings - Fork 727
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
[bug] $150 screenpipe self signed certs issue - tls connection init failed #730
Comments
are you in china or behind firewall? |
Located in North Americas. I am on a corporate laptop so behind VPN/firewall stuff. |
Update: If I stop the corporate VPN (GlobalProtect), the problem is gone. |
@louis030195 Any updates on this, it would be great if we had system keychain/certificates imported by default. I believe currently I'm seeing this same issue due to ZScaler on our corporate machines. |
some ideas from AI: use reqwest::Client;
use std::time::Duration;
pub fn create_client() -> Result<Client> {
let client = Client::builder()
.timeout(Duration::from_secs(30))
.use_system_proxy() // Use system proxy settings
.tls_built_in_root_certs(true) // Use system root certificates
.build()
.context("failed to create http client")?;
Ok(client)
} i'm not sure where is the problem, should i send a PR to huggingface or is it something in our CLI code? not familiar at all with this trying to figure out |
I'm no rust developer, but I think rustls doesn't use the system certificates but native-tls does. something similar to this: |
/bounty 150 |
💎 $150 bounty • Screenpi.peSteps to solve:
Thank you for contributing to mediar-ai/screenpipe! Add a bounty • Share on socials
|
💡 @neo773 submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
@neo773 |
I see this message from screenpipe-audio, maybe I'm not building correctly:
|
🎉🎈 @neo773 has been awarded $150! 🎈🎊 |
Added a PR, this was required for me to get past the certificate issue, not sure why the patch alone wasn't working, but I needed the features in the workspace dependencies, added the Not sure if anything else broke, need someone to verify PR and do a full test. |
@louis030195 let me know if we can run a test build with the changes! Thanks! |
Yes, the issue was other workspace packages had conflicts with feature flags. I couldn't really test it within screenpipe as I did not have the same setup as you so I tested the changes within my fork of Seems to be working now. |
Awesome! |
@joshuaauger @zy31415 is it working now? |
It should be once the new build has these. My test build had some other issue unrelated but the certificate warnings were gone. Sent from my iPhoneOn Dec 19, 2024, at 7:33 AM, Louis Beaumont ***@***.***> wrote:
@joshuaauger @zy31415 is it working now?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
describe the bug
brief description of the bug.
to reproduce
expected behavior
Seeing the following error:
system info
additional context
It's related to a self signed certificate. The certificate is trusted in the MacOs KeyChain. However, it is not recognized by screenpipe. Is there a way to let screenpipe trust this self signed cert?
The text was updated successfully, but these errors were encountered: