-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Problem with context path #71
Comments
Is the admin server a separate application? Sounds like it's the same you want to monitor? So how are following properties set in the spring boot admin server:
And following in the client who wants to register:
Note you can also just append the /rio to spring.boot.admin.url ... internally spring.boot.admin.url and .contextPath are just getting concatenated... |
Hi, the admin server is in the same application. If we remove the server.contextPath from the app its registered correctly. Thanks in advance! |
First of all I recommend no to include the admin into the app you want to monitor.. This bug is due to this bug spring-cloud/spring-cloud-netflix#270 |
How to solve this problem? |
I'm using this variable 'server.contextPath:/rio' in my applications.properties, but when the application starts, had problems
Did not find handler method for [/api/applications], and the applications fails to registry.
i tried to change this property
spring.boot.admin.contextPath=rio/api/applications
but the problem its the same, I can registry but now
Did not find handler method for [/rio/api/applications],
The text was updated successfully, but these errors were encountered: