For questions about this archive, please contact webmaster@hl7.org.
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
You're better to ask questions about FHIR in chat.fhir.org. There's a lot more people there that can help you
You can ask in the Implementers channel there
You're better to ask questions about FHIR in chat.fhir.org. There's a lot more people there that can help you
ok. thank you
Instead of ASCII 11 it received ASCII 72 (H). My guess ;-) .. but that doesn't explain anything as to why this is happening.
Instead of ASCII 11 it received ASCII 72 (H). My guess ;-) .. but that doesn't explain anything as to why this is happening.
Thanks for your answer.
I debbuged my code and found an array with exactly 72 values at the error line, but i don´t know what these values are.
maybe this makes things clearer?
Last updated: Mar 23 2020 at 00:02 UTC