Files
foxhunt/docs/troubleshooting/network-errors.md
jgrusewski 7458f1be01 feat(wave12): E2E validation complete - 225-feature pipeline ready
 Validation Results:
- PPO training: 24.2s (1 epoch, 950 samples, dim=225)
- Feature extraction: 105μs/bar (9.5x faster than target)
- Model checkpoint: 293KB (147KB actor + 146KB critic)
- GPU memory: 145MB used (96.4% headroom)
- Zero dimension mismatches

📊 Success Criteria (5/5):
 Feature dimension = 225 (Wave C 201 + Wave D 24)
 Model state_dim = 225
 Training completed without errors
 Checkpoint saved successfully
 No dimension mismatch errors

📁 Training Data Ready:
- ES.FUT: 2.9MB, 180 days
- NQ.FUT: 4.4MB, 180 days
- 6E.FUT: 2.8MB, 180 days
- ZN.FUT: 65KB, 90 days (clean)

🚀 Next: Full production model retraining (4 models, ~10min GPU time)

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 22:48:04 +02:00

61 lines
1.3 KiB
Markdown

# Network Errors Troubleshooting Guide
**Last Updated**: 2025-10-22
---
## gRPC Connection Refused
### Symptom: `connect: connection refused`
**Diagnosis**:
```bash
# Check service is running
kubectl get pods -n foxhunt -l app.kubernetes.io/component=trading-service
# Check service endpoint
kubectl get endpoints -n foxhunt foxhunt-trading-service
# Test connection
grpc_health_probe -addr=foxhunt-trading-service.foxhunt.svc.cluster.local:50052
```
**Resolution**:
```bash
# Restart service
kubectl rollout restart deployment/foxhunt-trading-service -n foxhunt
# Check logs for startup errors
kubectl logs -n foxhunt -l app.kubernetes.io/component=trading-service --tail=100
```
---
## DNS Resolution Failures
### Symptom: `no such host`
**Diagnosis**:
```bash
# Check CoreDNS
kubectl get pods -n kube-system -l k8s-app=kube-dns
# Test DNS resolution
kubectl run -it --rm debug --image=nicolaka/netshoot --restart=Never -- \
nslookup foxhunt-postgresql.foxhunt.svc.cluster.local
```
**Resolution**:
```bash
# Restart CoreDNS
kubectl delete pods -n kube-system -l k8s-app=kube-dns
# Verify DNS resolution
kubectl run -it --rm debug --image=nicolaka/netshoot --restart=Never -- \
dig foxhunt-postgresql.foxhunt.svc.cluster.local
```
---
**End of Network Errors Troubleshooting Guide**