web stats
Error invoking web service - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 03-27-2017, 12:55 AM
Stefan Beermann Stefan Beermann is offline
What's HL7?
Join Date: Mar 2017
Posts: 1
Stefan Beermann is on a distinguished road
Default Error invoking web service

I have an Destination, connectortype: Web Service Sender witch has random Error messagees. from 2 up to 20 per day. Total about ~600 - 800 messages a day
Destinatin channel, socket time out 30000
Source channel, Recieve Time out 0
Keep connection open YES

I get this error message:

Destination Connector (Web Service Sender) error ERROR MESSAGE: Error invoking web service.
javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out
at com.sun.xml.internal.ws.transport.http.client.Http ClientTransport.readResponseCodeAndMessage(Unknown Source)
at com.sun.xml.internal.ws.transport.http.client.Http TransportPipe.createResponsePacket(Unknown Source)
at com.sun.xml.internal.ws.transport.http.client.Http TransportPipe.process(Unknown Source)
at com.sun.xml.internal.ws.transport.http.client.Http TransportPipe.processRequest(Unknown Source)
at com.sun.xml.internal.ws.transport.DeferredTranspor tPipe.processRequest(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unk nown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unkn own Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unkno wn Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Unk nown Source)
at com.sun.xml.internal.ws.client.Stub.process(Unknow n Source)
at com.sun.xml.internal.ws.client.dispatch.DispatchIm pl.doInvoke(Unknown Source)
at com.sun.xml.internal.ws.client.dispatch.DispatchIm pl.invoke(Unknown Source)
at com.mirth.connect.connectors.ws.WebServiceDispatch er.send(WebServiceDispatcher.java:479)
at com.mirth.connect.donkey.server.channel.Destinatio nConnector.handleSend(DestinationConnector.java:74 7)
at com.mirth.connect.donkey.server.channel.Destinatio nConnector.process(DestinationConnector.java:445)
at com.mirth.connect.donkey.server.channel.Destinatio nChain.call(DestinationChain.java:155)
at com.mirth.connect.donkey.server.channel.Channel.pr ocess(Channel.java:1656)
at com.mirth.connect.donkey.server.channel.Channel.di spatchRawMessage(Channel.java:1155)
at com.mirth.connect.donkey.server.channel.SourceConn ector.dispatchRawMessage(SourceConnector.java:191)
at com.mirth.connect.donkey.server.channel.SourceConn ector.dispatchRawMessage(SourceConnector.java:169)
at com.mirth.connect.connectors.tcp.TcpReceiver$TcpRe ader.call(TcpReceiver.java:642)
at com.mirth.connect.connectors.tcp.TcpReceiver$TcpRe ader.call(TcpReceiver.java:477)
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) Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...tream0(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
... 26 more
Destination Connector

any clou?
Reply With Quote
Old 03-27-2017, 06:46 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road

The remote server is not responding within your configured timeout (30 seconds). Check with whoever manages that web service to find out why.
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 08:51 AM.

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