web stats
Error receiving message - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 08-07-2018, 01:39 AM
kramer65 kramer65 is offline
What's HL7?
Join Date: Oct 2016
Posts: 3
kramer65 is on a distinguished road
Default Error receiving message

I've got some mirth channels in which I've got alerts set up so that I get an email if an error occurs.

I occasionally (say one per week) get the error below in my mailbox. As you can see it has no messageId, which means it's not logged or anything. I checked the logs and I can't find any corresponding message (on or around that exact time).

I'm wondering; does anybody know what's happening here?

Channel: receive ORM from hospital X (15593964-795f-4f83-a5ca-d06c43311738) 

Connector: Source (TCP Listener) 

Source Connector 
Source Connector (TCP Listener) error 
ERROR MESSAGE: Error receiving message 
java.net.SocketException: Connection timed out (Read failed) 
    at java.net.SocketInputStream.socketRead0(Native Method) 
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) 
    at java.net.SocketInputStream.read(SocketInputStream.java:171) 
    at java.net.SocketInputStream.read(SocketInputStream.java:141) 
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) 
    at java.io.BufferedInputStream.read(BufferedInputStream.java:265) 
    at com.mirth.connect.model.transmission.framemode.FrameStreamHandler.read(FrameStreamHandler.java:120) 
    at com.mirth.connect.connectors.tcp.TcpReceiver$TcpReader.readBytes(TcpReceiver.java:812) 
    at com.mirth.connect.connectors.tcp.TcpReceiver$TcpReader.call(TcpReceiver.java:619) 
    at com.mirth.connect.connectors.tcp.TcpReceiver$TcpReader.call(TcpReceiver.java:511) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
    at java.lang.Thread.run(Thread.java:748) 

Connection timed out (Read failed) 

MessageId: ${messageId} 

Datetime: Aug 6, 2018 4:17:04 PM 1533565024972
Reply With Quote
Old 08-07-2018, 08:21 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 7,054
narupley is on a distinguished road

That usually happens when a client connects to your channel but doesn't send anything. It could be due to a misconfigured client, general networking issues, or someone performing a telnet but not disconnecting.
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote

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 04:46 AM.

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