alcionai / corso

Free, Secure, and Open-Source Backup for Microsoft 365
https://corsobackup.io
Apache License 2.0
182 stars 28 forks source link

TLS error on Proxy #5392

Open wetroww opened 1 month ago

wetroww commented 1 month ago

What happened?

Hello,

I want to use the corso with proxy (proxy1.com:8080) where the proxy is using TLS cert. On the server where I have installed the corso the cert already added to the trusted store.

When I execute the backup I have got this error:

Error: Failed to retrieve M365 users: getting all users: getting all users: Get "https://graph.microsoft.com/v1.0/users?$filter=onPremisesSyncEnabled%20eq%20true%20OR%20userType%20ne%20%27Guest%27&$count=true&$select=id,userPrincipalName,displayName": net/http: TLS handshake timeout

So the question: Is it possible to use the corso via Proxy (where TLS used)?

Thank you Best regards

Andras

Corso Version?

v0.19.0

Where are you running Corso?

Ubuntu 22.04

Relevant log output

Logging to file: /root/.cache/corso/logs/2024-08-06T07-40-48Z.log
Connecting to M365                       done
Connecting to repository              0s done
Error: Failed to retrieve M365 users: getting all users: getting all users: Get "https://graph.microsoft.com/v1.0/users?$filter=onPremisesSyncEnabled%20eq%20true%20OR%20userType%20ne%20%27Guest%27&$count=true&$select=id,userPrincipalName,displayName": net/http: TLS handshake timeout
ntolia commented 1 month ago

Unfortunately, Corso does not support proxies right now.