com.mirth.connect.client.core.ClientException: com.mirth.connect.client.core.ClientException: method failed: HTTP/1.1 500 Server Error

Mirth Project | Eric Butterfield | 5 years ago
  1. 0

    Open instance of CLI. Execute resetstats command. Exception: C:\Program Files\Mirth Connect>mccommand.exe Connected to Mirth Connect server @ https://127.0.0.1:8443 (2.1.1.5481) $resetstats com.mirth.connect.client.core.ClientException: com.mirth.connect.client.core.ClientException: method failed: HTTP/1.1 500 Server Error at com.mirth.connect.client.core.ServerConnection.executePostMethod(ServerConnection.java:104) at com.mirth.connect.client.core.Client.clearStatistics(Client.java:624) at com.mirth.connect.cli.CommandLineInterface.commandResetstats(CommandLineInterface.java:1105) at com.mirth.connect.cli.CommandLineInterface.executeStatement(CommandLineInterface.java:312) at com.mirth.connect.cli.CommandLineInterface.runConsole(CommandLineInterface.java:192) at com.mirth.connect.cli.CommandLineInterface.runShell(CommandLineInterface.java:157) at com.mirth.connect.cli.CommandLineInterface.run(CommandLineInterface.java:130) at com.mirth.connect.cli.CommandLineInterface.<init>(CommandLineInterface.java:73) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mirth.connect.cli.launcher.CommandLineLauncher.main(CommandLineLauncher.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.exe4j.runtime.WinLauncher.main(Unknown Source) at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source) Caused by: com.mirth.connect.client.core.ClientException: method failed: HTTP/1.1 500 Server Error at com.mirth.connect.client.core.ServerConnection.executePostMethod(ServerConnection.java:99) ... 19 more $ I first saw this happen in 2.1.0. Still happening in 2.1.1. Happens in both interactive and scripted mode.

    Mirth Project | 5 years ago | Eric Butterfield
    com.mirth.connect.client.core.ClientException: com.mirth.connect.client.core.ClientException: method failed: HTTP/1.1 500 Server Error
  2. 0

    Open instance of CLI. Execute resetstats command. Exception: C:\Program Files\Mirth Connect>mccommand.exe Connected to Mirth Connect server @ https://127.0.0.1:8443 (2.1.1.5481) $resetstats com.mirth.connect.client.core.ClientException: com.mirth.connect.client.core.ClientException: method failed: HTTP/1.1 500 Server Error at com.mirth.connect.client.core.ServerConnection.executePostMethod(ServerConnection.java:104) at com.mirth.connect.client.core.Client.clearStatistics(Client.java:624) at com.mirth.connect.cli.CommandLineInterface.commandResetstats(CommandLineInterface.java:1105) at com.mirth.connect.cli.CommandLineInterface.executeStatement(CommandLineInterface.java:312) at com.mirth.connect.cli.CommandLineInterface.runConsole(CommandLineInterface.java:192) at com.mirth.connect.cli.CommandLineInterface.runShell(CommandLineInterface.java:157) at com.mirth.connect.cli.CommandLineInterface.run(CommandLineInterface.java:130) at com.mirth.connect.cli.CommandLineInterface.<init>(CommandLineInterface.java:73) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mirth.connect.cli.launcher.CommandLineLauncher.main(CommandLineLauncher.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.exe4j.runtime.WinLauncher.main(Unknown Source) at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source) Caused by: com.mirth.connect.client.core.ClientException: method failed: HTTP/1.1 500 Server Error at com.mirth.connect.client.core.ServerConnection.executePostMethod(ServerConnection.java:99) ... 19 more $ I first saw this happen in 2.1.0. Still happening in 2.1.1. Happens in both interactive and scripted mode.

    Mirth Project | 5 years ago | Eric Butterfield
    com.mirth.connect.client.core.ClientException: com.mirth.connect.client.core.ClientException: method failed: HTTP/1.1 500 Server Error

    Root Cause Analysis

    1. com.mirth.connect.client.core.ClientException

      method failed: HTTP/1.1 500 Server Error

      at com.mirth.connect.client.core.ServerConnection.executePostMethod()
    2. com.mirth.connect
      CommandLineInterface.<init>
      1. com.mirth.connect.client.core.ServerConnection.executePostMethod(ServerConnection.java:99)
      2. com.mirth.connect.client.core.Client.clearStatistics(Client.java:624)
      3. com.mirth.connect.cli.CommandLineInterface.commandResetstats(CommandLineInterface.java:1105)
      4. com.mirth.connect.cli.CommandLineInterface.executeStatement(CommandLineInterface.java:312)
      5. com.mirth.connect.cli.CommandLineInterface.runConsole(CommandLineInterface.java:192)
      6. com.mirth.connect.cli.CommandLineInterface.runShell(CommandLineInterface.java:157)
      7. com.mirth.connect.cli.CommandLineInterface.run(CommandLineInterface.java:130)
      8. com.mirth.connect.cli.CommandLineInterface.<init>(CommandLineInterface.java:73)
      8 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      4 frames
    4. com.mirth.connect
      CommandLineLauncher.main
      1. com.mirth.connect.cli.launcher.CommandLineLauncher.main(CommandLineLauncher.java:50)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. com.exe4j.runtime
      WinLauncher.main
      1. com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
      2. com.exe4j.runtime.WinLauncher.main(Unknown Source)
      2 frames
    7. com.install4j.runtime
      WinLauncher.main
      1. com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
      1 frame