Announcement

Collapse
No announcement yet.

Mirth 3.7 mccommand won't start

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    You are getting an Unauthorized response from the web server. Are you passing valid login credentials?

    Comment


    • #3
      Hey,

      where can i check those credentials?

      Thank you in advance

      Comment


      • #4
        Hey,

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

        Thanks,

        Comment


        • #5
          {installdir}/conf/mirth-cli-config.properties

          Comment


          • #6
            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?

            Comment


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

              user=actualdomain\\actualusername

              Comment


              • #8
                Thanks, but it didn't work.

                I'll open a ticket for this.
                TY

                Comment

                Working...
                X