web stats
Mirth Connect Administrator and Apache Reverse Proxy - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 10-03-2017, 08:35 AM
dbayks dbayks is offline
What's HL7?
Join Date: Jun 2017
Posts: 5
dbayks is on a distinguished road
Default Mirth Connect Administrator and Apache Reverse Proxy


I am running mirthconnect ( behind an Apache reverse proxy. This mirthconnect is running on a machine with no Internet access on a private LAN ( Apache is reverse proxy'ing from an Internet host (https://mirthhost.com) across the private LAN to the mirthconnect machine.

If I try to load the Administrator by connecting to https://mirthhost.com:8443 it will try to start, but never load, as the codebase and all jar files turn up as coming from the private LAN ( instead of the hostname I'm using to load the Administrator (mirthhost.com). If I load a local copy of the Administrator from mirthconnect on my local machine, then log out (keeping Administrator loaded) I can log in to https://mirthhost.com:8443 with no problem. The reverse proxy is working fine and forwards traffic, and the Administrator is working fine--it just won't load from the Internet based machine.

The problem seems to be that the JNLP coming from the mirthconnect machine on the private LAN returns the private LAN IP for all the elements (codebase, etc.) to load instead of the hostname I'm using. I cannot find any configuration within mirthconnect where a hostname can be entered and be supplied to the JNLP.

Does anyone know where the JNLP hostname information is configured so I can force it to tell the local Java the actual hostname to retrieve all components from?

Thank you!
Reply With Quote
Old 10-03-2017, 12:03 PM
jackwhaines jackwhaines is online now
Join Date: May 2011
Location: Kansas City, Missouri
Posts: 175
jackwhaines is on a distinguished road
Send a message via Skype™ to jackwhaines

The .jnlp file is just XML. Maybe open it directly and see if that will fix your problem? If nothing else, you could pass the JNLP directly to anyone needing to connect?

-= Jack Haines : Founder/CEO of Healthcare Integrations, LLC
-= jack.haines@HealthcareIntegrations.com
-= Mirth Connect (Advanced)-certified
-= Gold member of HL7.org
-= Available for Mirth Connect channel development and consultation! Schedule a FREE call with me at https://calendly.com/jackhaines
Reply With Quote
Old 10-04-2017, 05:57 AM
dbayks dbayks is offline
What's HL7?
Join Date: Jun 2017
Posts: 5
dbayks is on a distinguished road

Thanks. Yes, the JNLP contains two places ("<jnlp codebase=" and "<argument>" where the URL is defined. Editing those does get to the correct host, but looking at the Java log, the host is replying with locations of JAR files that are still on the private IP address.

I assume something within mirthconnect that replies to the request to download all the code (JAR files) is using some canned hostname (possibly from the installation) to reply back with the private IP instead of the hostname required.
Reply With Quote

administrator, reverse proxy, webstart.jnlp

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 08:49 AM.

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