Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions documentation/docs/guides/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ export HTTPS_PROXY="http://username:password@proxy.company.com:8080"
export NO_PROXY="localhost,127.0.0.1,.internal"
```

Alternatively, proxy settings can be configured through your operating system's network settings. If you encounter connection issues, see [Corporate Proxy or Firewall Issues](/docs/troubleshooting/known-issues#corporate-proxy-or-firewall-issues) for troubleshooting steps.

## Observability

Beyond goose's built-in [logging system](/docs/guides/logs), you can export telemetry to external observability platforms for advanced monitoring, performance analysis, and production insights.
Expand Down
32 changes: 32 additions & 0 deletions documentation/docs/troubleshooting/known-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,38 @@ If you still encounter a `failed to connect` error, you can try using WSL's [Mir

---

### Corporate Proxy or Firewall Issues

If you're behind a corporate proxy or firewall and goose cannot connect to your LLM provider, you may see errors like:

```
error sending request for url (https://api.openai.com/...)
failed to connect to api.openai.com
```

goose supports HTTP/HTTPS proxy configuration through standard environment variables and system proxy settings. Environment variables take precedence when both are configured.

**Solution:**

1. **Configure [proxy environment variables](/docs/guides/environment-variables#network-configuration):**
```bash
export HTTPS_PROXY="http://proxy.company.com:8080"
export NO_PROXY="localhost,127.0.0.1,.internal"
```

2. **Or use system proxy settings:**
- **macOS**: System Settings → Network → [select connection] → Details → Proxies
- **Windows**: Settings → Network & Internet → Proxy

3. **Restart goose** after configuring proxy settings

If you continue to experience connection issues, verify:
- Your proxy URL and port are correct
- You have authentication credentials if required (format: `http://username:password@proxy:port`)
- Your proxy allows HTTPS connections to your LLM provider's domain

---

### Airgapped/Offline Environment Issues

If you're working in an airgapped, offline, or corporate-restricted environment, you may encounter issues where MCP server extensions fail to activate or download their runtime dependencies.
Expand Down
Loading