Metadata
- Source
- KETTLE-88
- Type
- Bug
- Priority
- Major
- Status
- Open
- Resolution
- N/A
- Assignee
- Antranig Basman
- Reporter
- Antranig Basman
- Created
2020-07-22T10:44:51.959-0400 - Updated
2020-07-24T09:20:37.835-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
- N/A
Description
This problem only affects Kettle when operated against the upcoming FLUID-6145 based version of Infusion.
A Kettle request which depends on an "early" resource such as a renderer template will produce a connection reset and hang rather than signalling an HTTP error if the resource fetch fails. This is because such errors are signalled before the request component reaches "onCreate" which is the point at which request sequencing is set up. Even if the request explicitly fires to request.events.onError, this will simply result in the rejection of the isolated handlerPromise, and since the component will shortly destroy, this will never result in a proper HTTP response via kettle.request.http.errorHandler .