Troubleshooting runbook
Use Debugging runbook for step-by-step diagnosis with GG_DEBUG.
Gateway
| Symptom | Cause | Solution |
|---|---|---|
| Gateway won't start | Port in use or permission denied | Use --port 8888 --httpPort 8889; check firewall |
| No modules in Vision | Wrong cwd or auto-detect failed | --modules ./Explicit.dll --runtime netcore |
| CLR module fails on netcore GG | Runtime mismatch | Use --runtime clr or --runtime netcore to match DLL |
| Java module fails | Not a JAR | Package as JAR; set JAVA_HOME |
| Python/Ruby deps missing | Host env incomplete | Install dependencies in GG host environment |
| Registration failed | Interface changed, same version | Bump version or use --noVersioning (dev) |
Graft install
| Symptom | Cause | Solution |
|---|---|---|
| 404 from registry | Wrong registry URL | Check __graftcode vs __free; Vision install command |
| npm install fails | Wrong registry URL or package name | Copy install command from Vision; check __graftcode vs __free |
| Stale types in IDE | Old Graft package | Reinstall/update from registry |
Runtime calls
| Symptom | Cause | Solution |
|---|---|---|
| Connection failed | Wrong host/port/protocol | Transport guide |
| Method not found | --types filter or stale Graft | Check Vision; reinstall Graft |
| Type errors | Interface drift | Error handling |
| CORS error in browser | Missing CORS config | Ports and CORS |
| Stateful calls fail under LB | No stickiness | Stateless vs stateful |
| Auth rejected | Token not passed / invalid | Edge client auth |
Quick commands
# Enable protocol debug GG_DEBUG=1 ./gg ./MyLib.dll --port 8888 --httpPort 8889 # Check Vision curl -I http://localhost:8889/vision # Check registry name curl http://localhost:8889/registry
See also
- Quick reference
- Debugging runbook — step-by-step flowchart
- Alpha limitations
- Documentation map
- Visual assets guide