Mirth Connect
  1. Mirth Connect
  2. MIRTH-4280

HTTP 500 Error when navigating from HTTP to HTTPS webadmin page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.3, 3.1.1, 3.2.2, 3.3.2, 3.4.2, 3.5.2
    • Fix Version/s: 3.6.0
    • Component/s: None
    • Labels:
      None

      Description

      When on the 8080 webadmin page, if you click the Access Secure Site button sometimes the server returns the following:

      HTTP ERROR 500
      
      Problem accessing /webadmin/SecureAccess.action. Reason:
      
          Server Error
      
      Caused by:
      net.sourceforge.stripes.exception.StripesServletException: Unhandled exception in exception handler.
      	at net.sourceforge.stripes.exception.DefaultExceptionHandler.handle(DefaultExceptionHandler.java:179)
      	at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:263)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
      	at com.mirth.connect.server.api.providers.ClickjackingFilter.doFilter(ClickjackingFilter.java:44)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
      	at org.eclipse.jetty.server.Server.handle(Server.java:534)
      	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
      	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
      	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
      	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
      	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
      	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
      	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.NumberFormatException: !hex 110
      	at org.eclipse.jetty.util.TypeUtil.convertHexDigit(TypeUtil.java:385)
      	at org.eclipse.jetty.util.TypeUtil.parseInt(TypeUtil.java:278)
      	at org.eclipse.jetty.http.HttpURI.parse(HttpURI.java:404)
      	at org.eclipse.jetty.http.HttpURI.<init>(HttpURI.java:128)
      	at org.eclipse.jetty.server.Response.encodeURL(Response.java:440)
      	at org.eclipse.jetty.server.Response.encodeRedirectURL(Response.java:477)
      	at net.sourceforge.stripes.action.RedirectResolution.execute(RedirectResolution.java:198)
      	at net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:497)
      	at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
      	at net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
      	at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      	at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
      	at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      	at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
      	at net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:491)
      	at net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
      	at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1712)
      	at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)
      	... 26 more
      
      Caused by:
      java.lang.NumberFormatException: !hex 110
      	at org.eclipse.jetty.util.TypeUtil.convertHexDigit(TypeUtil.java:385)
      	at org.eclipse.jetty.util.TypeUtil.parseInt(TypeUtil.java:278)
      	at org.eclipse.jetty.http.HttpURI.parse(HttpURI.java:404)
      	at org.eclipse.jetty.http.HttpURI.<init>(HttpURI.java:128)
      	at org.eclipse.jetty.server.Response.encodeURL(Response.java:440)
      	at org.eclipse.jetty.server.Response.encodeRedirectURL(Response.java:477)
      	at net.sourceforge.stripes.action.RedirectResolution.execute(RedirectResolution.java:198)
      	at net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:497)
      	at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
      	at net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
      	at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      	at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
      	at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      	at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
      	at net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:491)
      	at net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
      	at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1712)
      	at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
      	at com.mirth.connect.server.api.providers.ClickjackingFilter.doFilter(ClickjackingFilter.java:44)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
      	at org.eclipse.jetty.server.Server.handle(Server.java:534)
      	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
      	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
      	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
      	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
      	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
      	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
      	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
      	at java.lang.Thread.run(Thread.java:748)
      

      This does not happen in all browsers (only Chrome/FF it seems). It's likely that something changed on the browser side, because it appears to affect even older versions like 3.0.3 where it was working before.

      If you navigate directly to the 8443 site then it works fine.

        Activity

        Nick Rupley created issue -
        Nick Rupley made changes -
        Field Original Value New Value
        Affects Version/s 3.5.2 [ 13442 ]
        Affects Version/s 3.4.2 [ 13344 ]
        Affects Version/s 3.3.2 [ 13342 ]
        Affects Version/s 3.2.2 [ 13266 ]
        Affects Version/s 3.1.1 [ 13169 ]
        Affects Version/s 3.0.3 [ 12669 ]
        Nick Rupley made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.mirthcorp.com/community/fisheye/ failed: Error in remote call to 'Fisheye / Crucible' (http://www.mirthcorp.com/community/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=MIRTH-4280, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : java.net.SocketTimeoutException: Read timed out

        This list of reviews may be incomplete, as errors occurred retrieving data from the following repositories:

        • Request to http://www.mirthcorp.com/community/fisheye/ failed: Error in remote call to 'Fisheye / Crucible' (http://www.mirthcorp.com/community/fisheye) [AbstractRestCommand{path='rest-service/search-v1/reviews', params={term=MIRTH-4280, maxReturn=50}, methodType=GET}] : java.net.SocketTimeoutException: Read timed out
        • Request to http://www.mirthcorp.com/community/fisheye/ failed: Error in remote call to 'Fisheye / Crucible' (http://www.mirthcorp.com/community/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=MIRTH-4280, expand=changesets[-100:-1]}, methodType=GET}] : java.net.SocketTimeoutException: Read timed out

          People

          • Assignee:
            Nick Rupley
            Reporter:
            Nick Rupley
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: