site/docs/red-team/troubleshooting/remote-generation.md
You may encounter connection issues due to corporate firewalls or security policies. Since our service generates potentially harmful outputs for testing purposes, some organizations' security policies may block access to our API endpoints.
To verify if you can reach our API, try accessing Promptfoo's version endpoint:
curl https://api.promptfoo.app/version
You should receive a response like:
{
"version": "0.103.3"
}
If this request fails or times out, it likely means your network is blocking access to our API. You can also try opening https://api.promptfoo.app/version in your browser to see if you can reach the page.
Check with IT: Since promptfoo generates adversarial content for security testing, our API endpoints may be blocked by corporate security policies. Contact your IT department to:
api.promptfoo.appUse a Different Network: Try running promptfoo on:
Configure Proxy: If you need to use a corporate proxy, you can configure it using environment variables. Promptfoo uses Node.js's Unidici to handle proxy configuration. It automatically detects and uses standard proxy environment variables. The proxy URL format is: [protocol://][user:password@]host[:port]
export HTTPS_PROXY=http://proxy.company.com:8080
promptfoo eval
If you cannot get network access to our remote generation service, you can:
See our configuration guide for more details on these options.
If you continue experiencing issues, contact us for enterprise support.