Debug network request timeouts and connection issues
Help me debug network request timeouts in my application.
**Request type:** {{REQUEST_TYPE}}
**Framework/Library:** {{FRAMEWORK}}
**Request code:**
```{{LANGUAGE}}
{{CODE}}
```
**Timeout error:**
```
{{ERROR}}
```
**Target endpoint:** {{ENDPOINT}}
**Network conditions:** {{NETWORK}}
**Timeout configuration:** {{TIMEOUT_CONFIG}}
Please provide:
1. **Timeout Analysis**: Why is the request timing out?
2. **Network Diagnosis**: Check network-level issues
3. **Server-Side Check**: Potential server issues
4. **Connection Pooling**: Check connection management
5. **Retry Strategy**: Implement proper retry logic
6. **Timeout Configuration**: Optimal timeout settings
7. **Fixed Code**: Code with proper timeout handling
8. **Monitoring Setup**: How to monitor request healthOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{REQUEST_TYPE][{FRAMEWORK][{LANGUAGE][{CODE][{ERROR][{ENDPOINT][{NETWORK][{TIMEOUT_CONFIG]