-
Notifications
You must be signed in to change notification settings - Fork 267
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
Poll once on start feature - Failure to log and even start channel when initial poll fails #5364
Comments
Mirth has always worked that way. Sort of is what it is I think, not sure if it a bug. |
Thank you for the quick response. However, logically, it doesn't seem right that a poll failure on startup results in a channel deploy failure. I am pointing out that the behavior is not even consistent across channel types. I haven't always seen the option to poll once on deploy - it seems like a more recent addition but I may be wrong on that. We just had a server restarted because of maintenance and the channel failed to deploy because of a ftp timeout in the startup one-time poll. |
I have seen what you have seen in your last sentence. In my case so many were polling at once on startup to the same endpoint the other end declined a connection. I think you are right though - I seem to remember the channel deploying but ending up on the stopped state rather than not deploying at all. Overall, I agree though - it should behave better! Just dealt with it by not polling on start which happended to be OK in my use case. |
Got it - I will work around it. Just wanted to point this out. Thanks. |
I would not close it, it's a good report. |
When poll once on start is set for a timed queue I would expect that failures on the initial poll would result in a clean startup - with an attempt logged in the channel logs showing any error for the first poll. However, here is what I am finding. When channel type is set to ftp and the poll fails the entire channel does not start. I am attaching the sample to try. This was tested with 4.0.0 on Windows.
This is the channel setup - note the bad url:
The results of which is a start up failure with the following callstack:
Also, the channel logs don't contain anything about the failure - which I would expect if it failed to start.
I also tested this with a javascript channel - I had the channel throw an error (i.e. throw new Error()). The result there was different - the channel ended up starting, however, there was nothing logged. It seems that that is an issue as well. It should log the result of the error.
If you need the channel xml let me know.
The text was updated successfully, but these errors were encountered: