RequestDispatchError
The Cause
Section titled “The Cause”An error occurred while dispatching an HTTP request. This is a general error that wraps the underlying cause of the failure.
Common causes include:
- Network connectivity issues
- DNS resolution failures
- SSL/TLS certificate errors
- Request timeout
- Malformed requests
- Server errors (5xx status codes)
The Solution
Section titled “The Solution”To diagnose the issue:
- Check the error cause for more specific details
- Verify network connectivity
- Test the endpoint manually using curl or a similar tool
- Check server logs for errors
- Verify the request parameters are correct
Example debugging with curl:
curl -v http://your-server/api/endpointIf the request works manually but fails in Thymian, there may be an issue with how the request is being constructed. Check your request configuration and ensure all required headers and parameters are included.