SOLO-2015
DeploymentListPortsFailedError — Deployment
DeploymentListPortsFailedError
| Code | SOLO-2015 |
| Category | Deployment |
| Ownership | Infrastructure |
| Retryable | Yes |
Description
Thrown when solo cannot enumerate the forwarded ports for a deployment; the underlying failure is wrapped in cause. Listing ports queries the Kubernetes API in the deployment’s namespace to discover the active port-forwards exposing its components, so this is raised when that query fails — typically because the cluster’s API server is unreachable or the namespace cannot be inspected. It is retryable, as a transient connectivity problem often clears on a later attempt.
Troubleshooting Steps
- Check logs for details: tail -n 100 ~/.solo/logs/solo.log
- Verify the Kubernetes API server is reachable: kubectl cluster-info
- List port-forwards in the namespace to check for any issues: kubectl get port-forwards -n