MLLP Protocol Violation problem

387 views
Skip to first unread message

Ma Sk

unread,
Jul 9, 2019, 7:35:37 AM7/9/19
to HAPI FHIR
Hello guys,

i tried to send an ORU Message to my HAPI FHIR test server and i get an error while compiling.


"
13:26:29.471 [hapi-worker-1] DEBUG ca.uhn.hl7v2.concurrent.Service - Prepare to stop thread Receiver
13:26:29.474 [hapi-worker-1] ERROR ca.uhn.hl7v2.app.Receiver - Unexpected error, closing connection from 127.0.0.1:8080
ca.uhn.hl7v2.llp.LLPException: MLLP protocol violation - Expected byte '11' in state START but was '72'
at ca.uhn.hl7v2.llp.MllpDecoderState.read(MllpDecoderState.java:137)
at ca.uhn.hl7v2.llp.MllpDecoder.getMessage(MllpDecoder.java:63)
at ca.uhn.hl7v2.llp.Hl7DecoderReader.getMessage(Hl7DecoderReader.java:84)
at ca.uhn.hl7v2.llp.MinLLPReader.getMessage(MinLLPReader.java:33)
at ca.uhn.hl7v2.app.Receiver.handle(Receiver.java:63)
at ca.uhn.hl7v2.concurrent.Service.run(Service.java:205)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
13:26:29.474 [hapi-worker-1] DEBUG ca.uhn.hl7v2.concurrent.Service - Thread Receiver leaving main loop
ca.uhn.hl7v2.HL7Exception: Timeout waiting for response to message with control ID 7801
at ca.uhn.hl7v2.app.ActiveInitiator.sendAndReceive(ActiveInitiator.java:153)
"



I tried the same with the HAPI Testpanel and it worked, but now with a "jpaserver" installed via Docker it doesn´t.
I checked that my firewall isn´t having problems with the port. The port is definitely listening and i can go to the localhost:8080 website in my browser.

Does somebody know what exactly the red output line means?



Thanks in advance


James Agnew

unread,
Jul 9, 2019, 12:51:31 PM7/9/19
to Ma Sk, HAPI FHIR
Hi Ma,

HL7 v2.x and HL7 FHIR are different protocols. You can't send an HL7 v2.x message to a FHIR server. You'd need to write a converter to convert your content, or use a product that does this.

Cheers,
James


--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/39aff2bb-07ae-4c92-ab95-b8eb919d0fe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ma Sk

unread,
Jul 9, 2019, 2:59:20 PM7/9/19
to HAPI FHIR
That makes sense.

Thanks for your answer.

To unsubscribe from this group and stop receiving emails from it, send an email to hapi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages