Comments (7)
We have found a solution for this problem. I will let you know when we are able to publish it.
from connect.
I thought MLLP simply does not support multi-byte start and end delimiters, although the message itself can be UTF-16. Are you saying if you send an UTF-16 message with standard single byte delimiters it fails?
from connect.
With default MLLP settings, start and end sequence are sent as single byte and it works tested as above (Mirth to Mirth). However the software I'm connecting to uses double Byte MLLP when Unicode option is activated.
from connect.
Got a link to that software documentation? Got a wireshark capture of the gateway itself? Curious.
from connect.
Captured_ORU_Draeger_Unicode.zip
Here is a capture between Draeger sim tools running in unicode mode.
from connect.
What ends up happening is Mirth is seeing the packet as two messages, one an empty message, 00 0b 00
and the other as a malformed message 4d 00 53 ...
. I was initially confused because it looked like Mirth was getting UTF-16LE and I couldn't figure out why it appeared to be dropping 00 0b 00
.
The FrameStreamHandler
isn't properly checking the endBytesBuffer
is actually the same size as the endOfMessageBytes
before comparing them. In this case Mirth sees 00 0b
as the start frame correctly. However, since 00
is the next byte in the stream it causes the following loop to always be true. The first byte of the end frame will be 00
but the buffer isn't a full 4 bytes.
https://github.com/nextgenhealthcare/connect/blob/b38b2a1d1369f20a1164c0cac10652cfa9c7a442/server/src/com/mirth/connect/model/transmission/framemode/FrameStreamHandler.java#L162C10-L179
from connect.
@cmongolang We were successful in using the UTF-16LE where the nulls are after the start and end characters. Is it possible to use that instead of UTF-16BE with Draeger Infinity Gateway?
from connect.
Related Issues (20)
- [BUG] Difference between HTTP-sender of Mirth 4.0.1 and cURL HOT 1
- [IDEA] Add option to suppress timeout errors on TCP Sender HOT 2
- [BUG] Velocity, unable to use a number as string for key HOT 1
- [IDEA] Expose all properties of the underlying DB connection pool HOT 1
- MCAL fails to launch a mirth administrator when a plugin signed by a private CA is installed HOT 1
- [BUG] ConcurrentModificationException when using JS Writer HOT 1
- [BUG] Mirth Connect 4.5.0 unattended installation does not start Mirth Connect Service and Mirth Connect Server Manager HOT 2
- [BUG] MirthConnect consumes 100% CPU what causes long queue HOT 3
- EVENT.IP_ADDRESS does not hold some addresses and do crash HOT 5
- [BUG] Failure of the PDF attachment viewer HOT 1
- [BUG] HTTP 404 error (Not Found) reported for unrecognized date input to API
- CSV to HL7 in Mirth - Issue with extraneous information HL7 output HOT 3
- [IDEA] Validate Response Dependability HOT 6
- [BUG] Your Issue TitleFailed to connect to 127.0.0.1 port 8443: Connection refused ,,when i try to connect with mirth connect
- [BUG] Set "Response Timeout" to a channelMap in a TCP Sender HOT 2
- [BUG] GUID generation not very random HOT 4
- Mirth service is not getting restarted HOT 4
- [BUG] Ability to restart subsystems related to logging in HOT 13
- [BUG] MirthConnect Version 4.5.0 - Java 17 - Web Service Sender - button "Get Operations" fails if authentication is needed HOT 13
- DestinationSetFilter-name is not consistent with the Generated Script HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connect.