Skip to main content
Proton v5

Git and network

Git​

The runner downloads the projects' code with the machine's git: install git and keep it on the PATH.

The machine doesn't need an SSH key or a login for GitHub, GitLab, or Bitbucket. The runner uses the credentials of the git integration registered in Proton, under Settings > Integrations, and the project's repository is linked to it under Settings > Git Repository.

The downloaded code is kept in a runner folder, separated by repository, branch, and commit, and serves as a cache for later runs of the same commit.

Network​

The runner's machine only makes outbound connections, over port 443 (HTTPS). It needs to reach:

AddressWhat it's for
app.protoncloud.com.brProton: the runner connection (HTTPS and WebSocket), the SDK API, uploading logs and evidence, and downloading mobile apps
proton-runner-updates.s3.us-east-1.amazonaws.comProton Runner updates
The git provider (github.com, gitlab.com, bitbucket.org, or your company's server)The projects' code
pypi.org and files.pythonhosted.orgThe dependencies of Python projects, including the Proton Cloud SDK
maven.protoncloud.com.br and repo.maven.apache.orgThe Java Proton Cloud SDK and the other dependencies of Java projects
Playwright's download serversThe browser for web automations, on the first run
The systems the automation testsThe portal, the API, SAP

If outbound traffic goes through a proxy or a firewall with an address allowlist, allow the addresses above and contact Atomic before installing the runner.

Networks with HTTPS inspection​

Some companies open HTTPS traffic along the way to inspect it, with products such as Zscaler, Netskope, or the company's own proxy. On such a network, the certificate that reaches the machine is not Proton's: it is a certificate issued by the proxy. The browser trusts it because the company's IT installs the proxy's certificate in Windows, which is why the portal opens normally. The Runner and the automations use their own certificate lists, without the proxy's, and refuse the connection.

The signs are:

  • The portal opens, but the Runner doesn't connect, and the Runner log shows websocket error.
  • Python automations fail with CERTIFICATE_VERIFY_FAILED or unable to get local issuer certificate.
  • Java automations fail with PKIX path building failed.

Confirm​

On the runner's machine, connected to the company network, run in PowerShell:

$c = New-Object Net.Sockets.TcpClient('app.protoncloud.com.br', 443)
$s = New-Object Net.Security.SslStream($c.GetStream(), $false, { $true })
$s.AuthenticateAsClient('app.protoncloud.com.br')
$s.RemoteCertificate.Issuer
$c.Close()

Proton's certificate is issued by Let's Encrypt. If another name shows up, such as Zscaler Intermediate Root CA, the network performs HTTPS inspection.

What fixes it​

The best path is for the company's IT to exempt app.protoncloud.com.br from HTTPS inspection. When that isn't possible, the script below makes the Runner and Python automations trust the proxy's certificate, only for the account of the user who runs the runner. It doesn't require administrator rights.

Save the script as proxy-certificates.ps1, replace Zscaler in $vendor with the name shown in the check above, and run it while connected to the company network:

$vendor = 'Zscaler'
$base = Join-Path $env:USERPROFILE '.proton-runner'
$proxy = Join-Path $base 'proxy-certificates.pem'
$bundle = Join-Path $base 'ca-bundle.pem'
New-Item -ItemType Directory -Force $base | Out-Null

# Proxy certificates installed in Windows (root and intermediates)
$cas = Get-ChildItem Cert:\ -Recurse -ErrorAction SilentlyContinue |
Where-Object { $_.Subject -like "*$vendor*" -and $_.Subject -notlike '*protoncloud*' } |
Sort-Object Thumbprint -Unique
if (-not $cas) { "No $vendor certificate found"; return }
$cas | ForEach-Object { "-----BEGIN CERTIFICATE-----`r`n" + [Convert]::ToBase64String($_.RawData, 'InsertLineBreaks') + "`r`n-----END CERTIFICATE-----" } |
Set-Content $proxy -Encoding ascii
[Environment]::SetEnvironmentVariable('NODE_EXTRA_CA_CERTS', $proxy, 'User')
"Runner: $($cas.Count) certificates in $proxy"

# Python: the certifi list plus the proxy certificates
$certifi = Get-ChildItem (Join-Path $base 'repository'), (Join-Path $env:LOCALAPPDATA 'uv\cache') -Recurse -Filter cacert.pem -ErrorAction SilentlyContinue |
Where-Object { $_.FullName -like '*\certifi\*' } | Sort-Object LastWriteTime -Descending | Select-Object -First 1
if (-not $certifi) { 'Python: certifi not installed yet; run a Python execution and run the script again'; return }
(Get-Content $certifi.FullName -Raw) + "`r`n" + (Get-Content $proxy -Raw) | Set-Content $bundle -Encoding ascii
[Environment]::SetEnvironmentVariable('REQUESTS_CA_BUNDLE', $bundle, 'User')
[Environment]::SetEnvironmentVariable('SSL_CERT_FILE', $bundle, 'User')
"Python: $bundle"

If PowerShell blocks the script, run it with powershell -ExecutionPolicy Bypass -File proxy-certificates.ps1, which allows only that run. Then close the Runner completely, including from the Windows system tray, and open it again: it only reads the new variables when it starts.

What each variable does:

VariableWho uses it
NODE_EXTRA_CA_CERTSThe Runner, to connect to Proton. It adds the proxy's certificates to the ones it already knows
REQUESTS_CA_BUNDLE and SSL_CERT_FILEPython automations (requests, urllib, httpx). They replace the certificate list, which is why the file combines the certifi list with the proxy's certificates

If the script says it didn't find the proxy's certificate, export it from the browser: in Edge or Chrome, open https://app.protoncloud.com.br, click the icon to the left of the address, then Connection is secure and Certificate is valid. On the Details tab, select the certificate at the top of the hierarchy, click Export, and save it in Base64 format as proxy-certificates.pem in the user's .proton-runner folder. Then create the variables in Edit environment variables for your account, in Windows.

If it still fails​

  • Preparing the Python dependencies fails (uv doesn't download the packages): create the user variable UV_NATIVE_TLS with the value true, so uv uses the Windows certificates.
  • The Java automation or Maven fails with PKIX path building failed: create the user variable JAVA_TOOL_OPTIONS with the value -Djavax.net.ssl.trustStoreType=Windows-ROOT, so Java uses the Windows certificates.
  • Downloading the code fails in git: run git config --global http.sslBackend schannel, so git uses the Windows certificates.

Close and reopen the Runner after each change.