web stats
HTTPS connection issue - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2018, 01:15 PM
gojoshi gojoshi is offline
OBX.1 Kenobi
 
Join Date: Jul 2013
Posts: 28
gojoshi is on a distinguished road
Question HTTPS connection issue

Hello Everyone,

I'm trying to setup an interface where my source is setup as a https listener.
I've exchanged certs with the sender, and my network team has white-listed the customers public IP.

My source data type is set to Raw. I don't have any transforms, or filters.

When the customer sends HL7 v2.5 messages, Mirth does shows that a message has been received, as the message count increases. However, the raw source message seems to be empty, there are no values at all.. but on the mappings, under source parameters, I can see the HL7 message.

Why is this happening, and how can I convert the message so that it comes across as a valid message in Mirth?

I've attached pics showing what I see in Mirth.

Any help is greatly appreciated !
Attached Images
File Type: png Source Mapping1.png (81.2 KB, 10 views)
Reply With Quote
  #2  
Old 05-15-2018, 06:36 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,038
narupley is on a distinguished road
Default

I can't see anything in that screenshot, the resolution is too low. But I'm guessing the client is sending you application/x-www-form-urlencoded data. In which case the HTTP Listener will automatically parse that and add values to a parameters map.

Are there other parameters besides the actual HL7 message? If so, that's probably why the client is using this format.

You can use a preprocessor to set the raw data to a particular parameter, something like this:

Code:
return $s('parameters').getParameter('hl7');
__________________
Step 1: JAVA CACHE...DID YOU CLEAR

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
  #3  
Old 05-15-2018, 07:33 AM
gojoshi gojoshi is offline
OBX.1 Kenobi
 
Join Date: Jul 2013
Posts: 28
gojoshi is on a distinguished road
Default

Thanks Nick.

I worked on this a little today and I was able to use - sourceMap.get('parameters').toString() , in my source transformer to get most of the data..

However, I have not been able to decode all of the required values yet. I will try what you've suggested as well.

Much Appreciated !
Reply With Quote
Reply

Tags
certificate, http, https

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 12:14 AM.


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