- Home
- API MCP Server
- Troubleshooting
Troubleshooting
Node.js Issues
Section titled “Node.js Issues”node --version # Must be 24+If outdated:
# macOSbrew install node@24
# Linuxnvm install 24 && nvm use 24npx Cache Issues
Section titled “npx Cache Issues”npx clear-npx-cachenpx -y @robinmordasiewicz/f5xc-api-mcpConfiguration Issues
Section titled “Configuration Issues”- Validate JSON syntax - use a JSON validator; common issues include trailing commas, missing quotes, and unescaped characters
- Check file path - ensure the config file location matches your OS (see IDE Setup)
- Restart application - completely quit and restart (not just close the window)
Authentication Errors
Section titled “Authentication Errors”Invalid API Token
Section titled “Invalid API Token”- Check token hasn’t expired
- Verify token was copied completely (no truncation)
- Ensure no extra whitespace
Certificate Error
Section titled “Certificate Error”- Verify P12 file path is absolute
- Check password is correct
- Ensure certificate hasn’t expired
Connection Refused
Section titled “Connection Refused”- Check URL format (see URL Normalization)
- Verify network connectivity to F5XC
- Check firewall rules
Unauthorized
Section titled “Unauthorized”- Verify credentials have required permissions
- Check namespace access rights
- Ensure tenant URL matches credential’s tenant
Manual Credential Test
Section titled “Manual Credential Test”curl -H "Authorization: APIToken $F5XC_API_TOKEN" \ https://your-tenant.console.ves.volterra.io/api/web/namespacesSSL/TLS Errors
Section titled “SSL/TLS Errors”For staging environments and custom CAs, see the SSL/TLS Configuration guide.
Quick reference:
| Error | Solution |
|---|---|
Hostname/IP does not match certificate's altnames | Set F5XC_TLS_INSECURE=true (dev only) or F5XC_CA_BUNDLE |
self signed certificate | Set F5XC_CA_BUNDLE=/path/to/ca-bundle.crt |
certificate has expired | Contact F5 XC admin |
unable to verify the first certificate | Add intermediates to CA bundle |
Common Error Codes
Section titled “Common Error Codes”| Error | Cause | Solution |
|---|---|---|
ECONNREFUSED | Network issue | Check URL and connectivity |
401 Unauthorized | Invalid credentials | Refresh token or check cert |
403 Forbidden | Insufficient permissions | Check RBAC settings |
Server Not Starting
Section titled “Server Not Starting”- Test command manually:
npx @robinmordasiewicz/f5xc-api-mcp - Check Node.js version:
node --version(must be 24+) - Verify npx is available:
which npx
Environment Variables Not Set
Section titled “Environment Variables Not Set”- Check for typos in variable names
- Ensure values don’t contain unescaped characters
- Try hardcoding values temporarily to test
- Verify with:
env | grep F5XC
MCP Protocol Test
Section titled “MCP Protocol Test”Verify the server responds to MCP protocol:
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"capabilities":{}}}' | npx @robinmordasiewicz/f5xc-api-mcpGetting Help
Section titled “Getting Help”- GitHub Issues - Report bugs
- GitHub Discussions - Ask questions