web stats
HTTP Sender errors after upgrade to 3.4.0 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2016, 05:34 AM
sbastianen sbastianen is offline
Mirth Newb
 
Join Date: Sep 2014
Location: The Netherlands
Posts: 8
sbastianen is on a distinguished road
Default HTTP Sender errors after upgrade to 3.4.0

Hi all,

I have an SQL-HTTP Sender channel. This channel is posting XML over HTTP to a target system. The target system has a default timeout of 60 seconds. In the HTTP Sender a timeout of 30000 milliseconds is configured.

This scenario has worked flawlessly until I upgraded Mirth Connect from 3.3.2 to version 3.4.0. At this moment I am getting a lot of errors indicating that the target host failed to respond. However, when Mirth Connect retries the message after 10 seconds it succeeds.

After analysis, I figured out that a message succeeds the first time when it is sent within 60 seconds of the previous message; In other words; When the connection of the previous message is still open, the next message will succeed. Otherwise it fails and the subsequent retry will succeed.

Is anybody experiencing similar issues?

Probably my problem is related to the problem described here:
http://www.mirthcorp.com/community/f...d.php?t=215964
Reply With Quote
  #2  
Old 05-10-2016, 12:53 PM
eduardoa eduardoa is offline
Mirth Employee
 
Join Date: Mar 2013
Location: Santa Fe Springs, California
Posts: 134
eduardoa is on a distinguished road
Default

Would you be able to provide a tcp dump of these transmissions to see what is going on?
Reply With Quote
  #3  
Old 05-10-2016, 01:09 PM
sbastianen sbastianen is offline
Mirth Newb
 
Join Date: Sep 2014
Location: The Netherlands
Posts: 8
sbastianen is on a distinguished road
Default

Quote:
Originally Posted by eduardoa View Post
Would you be able to provide a tcp dump of these transmissions to see what is going on?
Sorry for asking; Where do I find that dump/trace? As I indicated, I am using an HTTP Sender.

This is the error Mirth Connect is providing me:
Quote:
Error: Destination Connector (HTTP Sender) error ERROR MESSAGE: Error connecting to HTTP server.
org.apache.http.NoHttpResponseException: vmamesapprd02:8000 failed to respond
at org.apache.http.impl.conn.DefaultHttpResponseParse r.parseHead(DefaultHttpResponseParser.java:143)
at org.apache.http.impl.conn.DefaultHttpResponseParse r.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.pars e(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection. receiveResponseHeader(DefaultBHttpClientConnection .java:165)
at org.apache.http.protocol.HttpRequestExecutor.doRec eiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execu te(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.exec ute(MainClientExec.java:271)
at org.apache.http.impl.execchain.ProtocolExec.execut e(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(R etryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execut e(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doE xecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.ex ecute(CloseableHttpClient.java:71)
at com.mirth.connect.connectors.http.HttpDispatcher.s end(HttpDispatcher.java:318)
at com.mirth.connect.donkey.server.channel.Destinatio nConnector.handleSend(DestinationConnector.java:77 8)
at com.mirth.connect.donkey.server.channel.Destinatio nConnector.process(DestinationConnector.java:437)
at com.mirth.connect.donkey.server.channel.Destinatio nChain.doCall(DestinationChain.java:121)
at com.mirth.connect.donkey.server.channel.Destinatio nChain.call(DestinationChain.java:63)
at com.mirth.connect.donkey.server.channel.Destinatio nChain.call(DestinationChain.java:28)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks for your response. Appreciate it.

Last edited by sbastianen; 05-10-2016 at 10:03 PM. Reason: Added error message.
Reply With Quote
  #4  
Old 05-19-2016, 01:26 PM
eduardoa eduardoa is offline
Mirth Employee
 
Join Date: Mar 2013
Location: Santa Fe Springs, California
Posts: 134
eduardoa is on a distinguished road
Default

This looks like what you are running into:
http://www.mirthcorp.com/community/i...wse/MIRTH-3962
Reply With Quote
  #5  
Old 05-19-2016, 10:55 PM
sbastianen sbastianen is offline
Mirth Newb
 
Join Date: Sep 2014
Location: The Netherlands
Posts: 8
sbastianen is on a distinguished road
Default

Quote:
Originally Posted by eduardoa View Post
This looks like what you are running into:
http://www.mirthcorp.com/community/i...wse/MIRTH-3962
This is indeed exactly the problem I am facing; Thank you. What is the planned release date for 3.4.1?
Reply With Quote
Reply

Tags
error, failed to respond, http sender, timeout

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:22 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation