web stats
Mirth 3.7 mccommand won't start - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2019, 07:11 AM
EDVKBM EDVKBM is offline
What's HL7?
 
Join Date: Mar 2019
Posts: 3
EDVKBM is on a distinguished road
Default Mirth 3.7 mccommand won't start

Hello,

we just upgraded to Mirth 3.7. With the old version we where able to backup the mirth-config via batch.

When we try to start the mccommand, we get the following error:

com.mirth.connect.client.core.UnauthorizedExceptio n: HTTP/1.1 401 Unauthorized
at com.mirth.connect.client.core.ServerConnection.han dleResponse(ServerConnection.java:477)
at com.mirth.connect.client.core.ServerConnection.exe cuteSync(ServerConnection.java:256)
at com.mirth.connect.client.core.ServerConnection.app ly(ServerConnection.java:166)
at org.glassfish.jersey.client.ClientRuntime.invoke(C lientRuntime.java:255)
at org.glassfish.jersey.client.JerseyInvocation$3.cal l(JerseyInvocation.java:722)
at org.glassfish.jersey.internal.Errors.process(Error s.java:315)
at org.glassfish.jersey.internal.Errors.process(Error s.java:297)
at org.glassfish.jersey.internal.Errors.process(Error s.java:228)
at org.glassfish.jersey.process.internal.RequestScope .runInScope(RequestScope.java:444)
at org.glassfish.jersey.client.JerseyInvocation.invok e(JerseyInvocation.java:718)
at org.glassfish.jersey.client.JerseyInvocation$Build er.method(JerseyInvocation.java:459)
at org.glassfish.jersey.client.proxy.WebResourceFacto ry.invoke(WebResourceFactory.java:379)
at com.sun.proxy.$Proxy13.login(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.mirth.connect.client.core.Client$2.invoke(Clie nt.java:266)
at com.sun.proxy.$Proxy13.login(Unknown Source)
at com.mirth.connect.client.core.Client.login(Client. java:331)
at com.mirth.connect.cli.CommandLineInterface.runShel l(CommandLineInterface.java:180)
at com.mirth.connect.cli.CommandLineInterface.run(Com mandLineInterface.java:163)
at com.mirth.connect.cli.CommandLineInterface.<init>( CommandLineInterface.java:106)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mirth.connect.cli.launcher.CommandLineLauncher .main(CommandLineLauncher.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEn gine.java:85)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.jav a:94)
at com.install4j.runtime.launcher.WinLauncher.main(Wi nLauncher.java:25)






We searched for a solution but we have no further ideas.
Maybe you have some nice tipps for us.

Thank you in advanced

Best Regards,

Arne
Reply With Quote
  #2  
Old 03-18-2019, 08:49 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,058
agermano is on a distinguished road
Default

You are getting an Unauthorized response from the web server. Are you passing valid login credentials?
Reply With Quote
  #3  
Old 03-20-2019, 01:01 AM
EDVKBM EDVKBM is offline
What's HL7?
 
Join Date: Mar 2019
Posts: 3
EDVKBM is on a distinguished road
Default

Hey,

where can i check those credentials?

Thank you in advance
Reply With Quote
  #4  
Old 03-21-2019, 11:45 PM
EDVKBM EDVKBM is offline
What's HL7?
 
Join Date: Mar 2019
Posts: 3
EDVKBM is on a distinguished road
Default

Hey,

thank you.
Where can i edit/check the credentials?

Thanks,
Reply With Quote
  #5  
Old 03-22-2019, 12:43 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,058
agermano is on a distinguished road
Default

{installdir}/conf/mirth-cli-config.properties
Reply With Quote
  #6  
Old 04-12-2019, 08:46 AM
jg12345 jg12345 is offline
OBX.3 Kenobi
 
Join Date: Oct 2012
Posts: 106
jg12345 is on a distinguished road
Default

I have a similar situation. I'm receiving the same "401 Unauthorized" error.

In "mirth-cli-config.properties" file, we were previously using user name/password assigned within Mirth Connect, but we switched to LDAP and rely on Windows Server for authentication which works beautifully for Mirth Connect, but not for Command Line Interface.

I tried user=actualdomain\actualusername, but not working.

Any advice?
Reply With Quote
  #7  
Old 04-15-2019, 09:32 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,058
agermano is on a distinguished road
Default

I don't have the LDAP plugin, but maybe try to escape your backslash?

user=actualdomain\\actualusername
Reply With Quote
  #8  
Old 04-16-2019, 01:52 PM
jg12345 jg12345 is offline
OBX.3 Kenobi
 
Join Date: Oct 2012
Posts: 106
jg12345 is on a distinguished road
Default

Thanks, but it didn't work.

I'll open a ticket for this.
TY
Reply With Quote
Reply

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 09:31 PM.


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