path_traverser
09/16/2025, 1:26 PMpromptfoo redteam from:
# Promptfoo Proxy with authentication
export HTTPS_PROXY=127.0.0.1:8080
# SSL certificates - Absolute path
export PROMPTFOO_CA_CERT_PATH=/Users/user/burpsuitecacert.der
When running promptfoo -v redteam run I get the following output in verbose mode:
[apiHealth.js:17] [CheckRemoteHealth] Checking API health: {"url":"https://www.promptfoo.app/health","env":{"httpsProxy":"127.0.0.1:8080"}}
[apiHealth.js:36] [CheckRemoteHealth] Making fetch request: {"url":"https://www.promptfoo.app/health","options":{"headers":{"Content-Type":"application/json"}},"timeout":5000,"nodeVersion":"v24.7.0"}
[fetch.js:114] Using custom CA certificate from /Users/user/burpsuitecacert.der
[fetch.js:122] Using proxy: https://127.0.0.1:8080/
[apiHealth.js:95] [CheckRemoteHealth] API health check failed: {"error":"Request timed out after 5000 ms","url":"https://www.promptfoo.app/health"}
When I do not use the proxy, it works as it should. When I proxy local browser traffic to the API endpoint I want to test, it works as it should. I definitely have access to https://www.promptfoo.app/health so it seems the problem is with the communication between Promptfoo and Burpsuite proxy. Any ideas where to look when troubleshooting this will be very welcome!path_traverser
09/17/2025, 8:57 AMexport HTTPS_PROXY=127.0.0.1:8080 line in the .env file is wrong. It should be export HTTPS_PROXY=http://127.0.0.1:8080 Should've read the documentation more carefully. It does include the correct proxy URL format. Burpsuite now works.