-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] FailedToConnect activity in SendHttpRequest is not executed #5591
Comments
Based on the information provided, it seems that you have encountered a known issue with the To resolve the issue, you should apply the patch you've mentioned to the Here's a summary of the steps you should take:
If you are not comfortable applying the patch yourself or if you encounter any issues, you may want to reach out to the Elsa Workflows community for further assistance or to check if there is an updated version of Elsa that includes the fix for this issue. Please note that modifying the source code of a library can lead to maintenance challenges, so it's always best to check for official fixes or updates before applying custom patches. This comment was generated by Glime. |
Hello, Thanks for this issue, I think you're right, would you like to create a PR to submit your change ? |
Took me some time to get around to this, but I finally created the PR. |
Description
I'm currently testing the behavior of
SendHttpRequest
, when the target is not reachable. I expected that theFailedToConnect
would be executed, but nothing happens. I assigned aFault
activity toFailedToConnect
which should terminate further execution, but after the failed HTTP Request the rest of the workflow is successfully executed.Steps to Reproduce
SendHttpRequest
activity that calls an endpoint that does not exists.FailedToConnect
.Here is the example workflow I used.
Expected Behavior
The
Fault
activity should terminate the workflow.Actual Behavior
The workflow finishes successfully.
Screenshots
Environment
Troubleshooting Attempts
I believe the problem lies in
SendHttpRequestActivityResolver
.GetPortsInternal
does not yield returnTimeout
andFailedToConnect
. I replacedSendHttpRequestActivityResolver
with an adjusted version, which solved the problem for me.The text was updated successfully, but these errors were encountered: