FHIR Chat · MLLP Protocol Violation · implementers

Stream: implementers

Topic: MLLP Protocol Violation


view this post on Zulip Ma Sk (Jul 09 2019 at 13:36):

Hey guys,

i hope i am posting this in the correct stream.

I have a problem with sending an ORU message to my hapi fhir jpa server.
I tried the same with the HAPI testpanel and it worked there, but now i installed my "own" server via docker and i get a compiler error.
The port is definitely listening and my firewall shouldn´t make problems. I can access localhost:8080 in my browser.

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)

Does anybody know what "Expected byte '11' in state START but was '72'" means?

Thanks in advance

view this post on Zulip Lloyd McKenzie (Jul 10 2019 at 00:43):

You might have better luck on chat.hl7.org. This sight generally only deals with v2 in the context of mapping to FHIR.

view this post on Zulip Brendan Keeler (Jul 10 2019 at 05:08):

Haha they sent him here in the first place

view this post on Zulip Brendan Keeler (Jul 10 2019 at 05:09):

But it's very much an HL7 question so I agree with the assessment and think they were wrong


Last updated: Apr 12 2022 at 19:14 UTC