spring-boot-admin icon indicating copy to clipboard operation
spring-boot-admin copied to clipboard

Failed to register application as Application

Open Jarvens opened this issue 8 years ago • 2 comments

Created POST request for "http://localhost:8090/api/applications"
Setting request Accept header to [application/json, application/*+json]
Writing [Application [name=cloud-admin-server, managementUrl=http://192.168.0.108:8090/, healthUrl=http://192.168.0.108:8090/health/, serviceUrl=http://192.168.0.108:8090/]] as "application/json" using [org.springframework.http.converter.json.MappingJackson2HttpMessageConverter@39da5e49]
POST request for "http://localhost:8090/api/applications" resulted in 405 (Method Not Allowed); invoking error handler
Failed to register application as Application [name=cloud-admin-server, managementUrl=http://192.168.0.108:8090/, healthUrl=http://192.168.0.108:8090/health/, serviceUrl=http://192.168.0.108:8090/] at spring-boot-admin ([http://localhost:8090/api/applications]): 405 Method Not Allowed

Jarvens avatar Dec 28 '17 03:12 Jarvens

Did you set the spring.boot.admin.context-path for your sba server? you need to change the spring.boot.admin.url accordingly

joshiste avatar Dec 28 '17 15:12 joshiste

closed due to missing feedback

joshiste avatar Jan 01 '18 17:01 joshiste