Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitelabel Error Page #122

Open
NarsunProjects opened this issue Nov 11, 2019 · 0 comments
Open

Whitelabel Error Page #122

NarsunProjects opened this issue Nov 11, 2019 · 0 comments

Comments

@NarsunProjects
Copy link

What I get from http://localhost:8083/

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Mon Nov 11 15:10:30 PKT 2019
There was an unexpected error (type=Not Found, status=404).
Not Found

Logs:
2019-11-11 13:59:43.427 INFO 9914 --- [ main] org.openmhealth.shimmer.Application : Starting Application on mb with PID 9914 (/home/mb/workspace/shimmer/shim-server/build/classes/java/main started by mb in /home/mb/workspace/shimmer/shim-server)
2019-11-11 13:59:43.432 INFO 9914 --- [ main] org.openmhealth.shimmer.Application : No active profile set, falling back to default profiles: default
2019-11-11 13:59:43.516 INFO 9914 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@747ddf94: startup date [Mon Nov 11 13:59:43 PKT 2019]; root of context hierarchy
2019-11-11 13:59:45.171 INFO 9914 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'validationConfiguration' of type [org.openmhealth.shimmer.common.configuration.ValidationConfiguration$$EnhancerBySpringCGLIB$$70fcc8e1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-11-11 13:59:45.266 INFO 9914 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'localValidatorFactoryBean' of type [org.springframework.validation.beanvalidation.LocalValidatorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-11-11 13:59:45.497 INFO 9914 --- [ main] org.eclipse.jetty.util.log : Logging initialized @3034ms to org.eclipse.jetty.util.log.Slf4jLog
2019-11-11 13:59:45.622 INFO 9914 --- [ main] e.j.JettyEmbeddedServletContainerFactory : Server initialized with port: 8083
2019-11-11 13:59:45.625 INFO 9914 --- [ main] org.eclipse.jetty.server.Server : jetty-9.4.6.v20170531
2019-11-11 13:59:45.773 INFO 9914 --- [ main] org.eclipse.jetty.server.session : DefaultSessionIdManager workerName=node0
2019-11-11 13:59:45.773 INFO 9914 --- [ main] org.eclipse.jetty.server.session : No SessionScavenger set, using defaults
2019-11-11 13:59:45.777 INFO 9914 --- [ main] org.eclipse.jetty.server.session : Scavenging every 600000ms
2019-11-11 13:59:45.785 INFO 9914 --- [ main] o.e.j.s.h.ContextHandler.application : Initializing Spring embedded WebApplicationContext
2019-11-11 13:59:45.785 INFO 9914 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2273 ms
2019-11-11 13:59:46.029 INFO 9914 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/]
2019-11-11 13:59:46.029 INFO 9914 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/
]
2019-11-11 13:59:46.029 INFO 9914 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/]
2019-11-11 13:59:46.030 INFO 9914 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/
]
2019-11-11 13:59:46.031 INFO 9914 --- [ main] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/*]
2019-11-11 13:59:46.031 INFO 9914 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2019-11-11 13:59:46.039 INFO 9914 --- [ main] o.e.jetty.server.handler.ContextHandler : Started o.s.b.c.e.j.JettyEmbeddedWebAppContext@3910fe11{/,[file:///tmp/jetty-docbase.5395636840798841069.8083/],AVAILABLE}
2019-11-11 13:59:46.040 INFO 9914 --- [ main] org.eclipse.jetty.server.Server : Started @3579ms
2019-11-11 13:59:46.317 INFO 9914 --- [ main] org.mongodb.driver.cluster : Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2019-11-11 13:59:46.436 INFO 9914 --- [localhost:27017] org.mongodb.driver.connection : Opened connection [connectionId{localValue:1, serverValue:3}] to localhost:27017
2019-11-11 13:59:46.439 INFO 9914 --- [localhost:27017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 2, 0]}, minWireVersion=0, maxWireVersion=8, maxDocumentSize=16777216, roundTripTimeNanos=910436}
2019-11-11 13:59:47.050 WARN 9914 --- [ main] figurationPropertiesBindingPostProcessor : The @ConfigurationProperties bean class org.openmhealth.shim.ihealth.IHealthClientSettings contains validation constraints but had not been annotated with @validated.
2019-11-11 13:59:47.050 WARN 9914 --- [ main] figurationPropertiesBindingPostProcessor : The @ConfigurationProperties bean class org.openmhealth.shim.ihealth.IHealthClientSettings contains validation constraints but had not been annotated with @validated.
2019-11-11 13:59:47.051 WARN 9914 --- [ main] figurationPropertiesBindingPostProcessor : The @ConfigurationProperties bean class org.openmhealth.shim.ihealth.IHealthClientSettings contains validation constraints but had not been annotated with @validated.
2019-11-11 13:59:47.359 INFO 9914 --- [ main] b.a.s.AuthenticationManagerConfiguration :

Using default security password: 4065a689-227b-4e74-aba1-119e935a25a8

2019-11-11 13:59:47.481 INFO 9914 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1e5eb20a, org.springframework.security.web.context.SecurityContextPersistenceFilter@4fc165f6, org.springframework.security.web.header.HeaderWriterFilter@270a620, org.springframework.security.web.authentication.logout.LogoutFilter@5d7d8613, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5a7df831, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@45117dd, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4538856f, org.springframework.security.web.session.SessionManagementFilter@69de5bed, org.springframework.security.web.access.ExceptionTranslationFilter@6fa2448b, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3e214105]
2019-11-11 13:59:47.753 INFO 9914 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@747ddf94: startup date [Mon Nov 11 13:59:43 PKT 2019]; root of context hierarchy
2019-11-11 13:59:47.823 INFO 9914 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/dataPoints],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.openmhealth.shimmer.common.domain.DataPointSearchResult> org.openmhealth.shimmer.common.controller.DataPointSearchController.findDataPoints(java.lang.String,java.lang.String,java.time.OffsetDateTime,java.time.OffsetDateTime,java.time.OffsetDateTime,java.time.OffsetDateTime,java.lang.String,java.lang.String,org.springframework.security.core.Authentication)
2019-11-11 13:59:47.826 INFO 9914 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/authorize/{shim}/callback],methods=[POST || GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.openmhealth.shim.AuthorizationResponse> org.openmhealth.shimmer.common.controller.LegacyAuthorizationController.processRedirect(java.lang.String,java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws org.openmhealth.shim.ShimException
2019-11-11 13:59:47.827 INFO 9914 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/authorizations],produces=[application/json]}" onto public java.util.List<java.util.Map<java.lang.String, java.lang.Object>> org.openmhealth.shimmer.common.controller.LegacyAuthorizationController.authorizations(java.lang.String) throws org.openmhealth.shim.ShimException
2019-11-11 13:59:47.828 INFO 9914 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/authorize/{shim}],produces=[application/json]}" onto public org.openmhealth.shim.AuthorizationRequestParameters org.openmhealth.shimmer.common.controller.LegacyAuthorizationController.initiateAuthorization(java.lang.String,java.lang.String,java.lang.String) throws org.openmhealth.shim.ShimException
2019-11-11 13:59:47.828 INFO 9914 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/deauthorize/{shim}],methods=[DELETE],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<?> org.openmhealth.shimmer.common.controller.LegacyAuthorizationController.removeAuthorization(java.lang.String,java.lang.String) throws org.openmhealth.shim.ShimException
2019-11-11 13:59:47.829 INFO 9914 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/data/{shim}/{dataType}],produces=[application/json]}" onto public org.openmhealth.shim.ShimDataResponse org.openmhealth.shimmer.common.controller.LegacyDataPointSearchController.data(java.lang.String,java.lang.String,java.lang.String,boolean,java.lang.String,java.lang.String) throws org.openmhealth.shim.ShimException
2019-11-11 13:59:47.833 INFO 9914 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2019-11-11 13:59:47.834 INFO 9914 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2019-11-11 13:59:47.870 INFO 9914 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-11-11 13:59:47.870 INFO 9914 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/
] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-11-11 13:59:47.910 INFO 9914 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-11-11 13:59:48.139 INFO 9914 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2019-11-11 13:59:48.163 INFO 9914 --- [ main] o.e.j.s.h.ContextHandler.application : Initializing Spring FrameworkServlet 'dispatcherServlet'
2019-11-11 13:59:48.164 INFO 9914 --- [ main] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started
2019-11-11 13:59:48.182 INFO 9914 --- [ main] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 18 ms
2019-11-11 13:59:48.216 INFO 9914 --- [ main] o.e.jetty.server.AbstractConnector : Started ServerConnector@460510aa{HTTP/1.1,[http/1.1]}{0.0.0.0:8083}
2019-11-11 13:59:48.220 INFO 9914 --- [ main] .s.b.c.e.j.JettyEmbeddedServletContainer : Jetty started on port(s) 8083 (http/1.1)
2019-11-11 13:59:48.226 INFO 9914 --- [ main] org.openmhealth.shimmer.Application : Started Application in 5.206 seconds (JVM running for 5.765)
<===========--> 88% EXECUTING [14m 31s]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant