What's Actually Happening
Boundary cannot establish connections to targets. Users cannot access infrastructure resources through Boundary.
The Error You'll See
```bash $ boundary connect ssh -target-id ttcp_xxx
Error: error creating session: target not found or unreachable ```
Why This Happens
- 1.Worker not running
- 2.Target misconfigured
- 3.Network connectivity
- 4.Host catalog issues
- 5.Credential problems
Step 1: Check Worker Status
boundary workers list
boundary workers read -id w_xxxStep 2: Check Target Configuration
boundary targets read -id ttcp_xxx
boundary targets list -host-catalog-id hc_xxxStep 3: Check Host Catalog
boundary host-catalogs read -id hc_xxx
boundary hosts list -host-catalog-id hc_xxxStep 4: Check Host Sets
boundary host-sets list -host-catalog-id hc_xxx
boundary host-sets read -id hs_xxxStep 5: Check Network Connectivity
# From worker to target:
ping target-host
nc -zv target-host 22Step 6: Check Boundary Logs
journalctl -u boundary -f
docker logs boundaryStep 7: Verify Worker Tags
# Worker tags must match target worker_filter
boundary workers read -id w_xxxStep 8: Check Credential Libraries
boundary credential-libraries list -credential-store-id cs_xxxStep 9: Restart Boundary
systemctl restart boundary
docker restart boundaryStep 10: Test Connection
boundary connect ssh -target-id ttcp_xxx -exec ssh -- -l usernameRelated Issues
- [Fix Boundary Session Failed](/articles/fix-boundary-session-failed)
- [Fix Vault Token Renewal Failed](/articles/fix-vault-token-renewal-failed)