Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 12:17
    karsunke labeled #1523
  • 12:17
    karsunke labeled #1523
  • 12:17
    karsunke opened #1523
  • 11:00
    Macrame edited #1522
  • 08:36
    joshiste closed #1522
  • 07:41
    Macrame edited #1522
  • Oct 20 08:39
    Macrame labeled #1522
  • Oct 20 08:39
    Macrame labeled #1522
  • Oct 20 08:39
    Macrame opened #1522
  • Oct 19 13:50
    joshiste labeled #1516
  • Oct 19 13:49
    joshiste labeled #1519
  • Oct 19 13:47
    joshiste labeled #1521
  • Oct 19 05:49
    developers-youcong opened #1521
  • Oct 19 05:49
    developers-youcong labeled #1521
  • Oct 19 05:49
    developers-youcong labeled #1521
  • Oct 16 15:57

    joshiste on gh-pages

    Docs for current (compare)

  • Oct 15 10:21

    joshiste on master

    fix quick guide link (#1520) (compare)

  • Oct 15 10:21
    joshiste closed #1520
  • Oct 15 02:00
    binarywang opened #1520
  • Oct 10 11:43
    arbing labeled #1519
sainigit
@sainigit
Configured user name and password for client as well as for SBA in client's application.yaml and addedmanagement:
endpoints:
web:
exposure:
include: '*'
Mahesh Kumar Pillutla
@pvspsmaheshkumar
There seems to be some problem with our dashboard in displaying all the registered instances for a specific application. For example, if I have 5 registered instances for an app, I see only 4 and when I clear the browser cookies and history, all the 5 instances show up and one of them disappears after sometime. I don't know if the issue is with my browser or my client applications. My team members have observed the same scenario too. The missing instances seem to be running fine though. Has anyone noticed a similar problem?
Johannes Edmeier
@joshiste
Have a look in the journal if the services get derigistered for a short period of time
coderraj01
@coderraj01
@joshiste I'm running SBA in Kubernetes, I'm getting 502 error after some time of spring boot admin started, "connection to server failed, unexpected token B in JSON at position 0" and after some time its again working fine this is happening in the particular time interval.
Johannes Edmeier
@joshiste
@coderraj01 did you check the k8s events if the container is restarted for any reason ?
sainigit
@sainigit
@joshiste Hi configured SBA with clinets on kuberentes,applications are registered on sba successfully using cloud discovery. But after adding security jar in client applications only health and info actuators are visible. Getting 404 for all the client endpoints except health and info.
Configured user name and password for client as well as for SBA in client's application.yaml and addedmanagement:
endpoints:
web:
exposure:
include: '*' please help how to view secured endpoints in SBA?
Andreas Höhmann
@ahoehma
HI all ... what would be the best way to improve the application-instance-list-view to show (in addition to the app-release-version) the build-time of the app (in another column)? Any guidance would be nice. Thanks.
5 replies
image.png
Andreas Höhmann
@ahoehma
image.png
Mahesh Kumar Pillutla
@pvspsmaheshkumar
Whenever I restart my SBA server, I would expect all the registered instances show up automatically. However, some of the instances don't get registered and I have to manually restart the client application. I have also checked the Journal tab and can't see the instance getting registered automatically. I remember reading somewhere about a property that can be set on the client app to register automatically. Could someone point me in the right direction please? We are moving the dashboard to Prod this Friday and a bit concerned if this issue arises in Prod.
3 replies
RandyHector
@RandyHBH
Hi, I have a microservice architecture and I don't have any Third Party service discovery clients like eureka.
I am trying to set up a Spring Boot Admin server and I am using the client Spring Cloud Discovery with SimpleDiscoveryClient configuration.
I can see the service getting registered to the spring boot admin server.
But when I scale up the service, I see only one instance of that service, and the actual number of instances is not reflected.
I would like to know if that is possible without Eureka or any other service discovery, if yes how to achieve that without them.
Any help or guidance would be awesome. Thanks
4 replies
Attoumane
@akuma8
Hi there,
A question about configuring SBA Client behind Spring Cloud Gateway(SCG).
The SBA server is running on localhost:8086, SCG on localhost:8080. I have a SBA Client reachable via <SCG host>/clientservice=localhost:8080/clientservice. How to set clientservice so that SBA server always goes through the gateway to check it?
1 reply
backwizard
@backwizard
Hi there,
spring boot admin security can secure with keycloak openid ?
Johannes Edmeier
@joshiste
Yes
backwizard
@backwizard
@joshiste Did you have tutorial?
1 reply
Andreas Höhmann
@ahoehma
hi guys ... anyone knows how to use "vuetify" together with sba?
Lyuben Dimitrov
@ldimitrov

Hi :)
I was wondering if anyone had a similar issue, or can explain what could be underlying issue for a problem I am noticing in my environment.
So I have SBA server and clients deployed with Cloudfoundry to AWS and almost always (not every time though) when a service gets redeployed there is a STATUS_CHANGED (DOWN) event with this payload:

{
    "statusInfo": {
        "status": "DOWN",
        "details": {
            "error": "Bad Request",
            "status": 400
        }
    }
}

What could explain the bad request? Does that mean the service is not 'ready' when it goes up?
Then the service goes UP again, but that leads to a slack notification that the service is down and then immediately up.
Regards!

ne3b
@ne3b
image.png

Hello,

Recently i updated a version using springboot 2.2.4.RELEASE to 2.3.0.RELEASE and our SpringbootAdmin stopped working. i recently updated springbootadmin to v2.3.0 but the problem remains. I'm using java 14 and Eureka as service discovery. Trace logs of SBA show that my services are discovered but the UI never persents anything except a message "Loading applications..." i do see an console exception on chrome .

ne3b
@ne3b
Could anyone point to the right direction to solve this?
Thank you!
Johannes Edmeier
@joshiste
@ne3b do you see any failed network requests in the browsers network tab?
14 replies
@ldimitrov you need to figure out if the relevant application is answering a call to the health endpoint from time to time with a 400.
May be there is an exception in the log of the application?
As it is just a GET-request ... and it works from time to time ... I guess the culprit is in the corresponding application
@ahoehma didn't tried using vuetify. But when registering a ui extension the install method get passed the vue instance. May be that is enough to initialize Vuetify?
1 reply
mvs phani
@MvsPhani_twitter
is there anyway to generate dialy reports from admin journal tab
3 replies
Omkar Manjrekar
@manjrekarom
Hi! First of all a very thanks for this awesome and simple to integrate tool.
My question is how can I use the app when my actuator endpoints are secured by JWT tokens passed via Authorization header. I can find how to do it using basic auth as given here but nothing about other bearer auth.
Johannes Edmeier
@joshiste
@manjrekarom we currently have no guide on that, but what would be needed:
1 - SBA filters sensitive tokens when forwarding the request from the browsers to the backend - you need to pass the appropriate headers along. Configure spring.boot.admin.instance-proxy.ignored-headers
2 - SBA does some requests without user interaction. So you'd need to use some kind of api token or something a like for authentication. Implement a HttpHeadersProvider that adds those credentials for the requests to (/actuator, /actuator/info, actuator/health) or make them unprotected
Omkar Manjrekar
@manjrekarom
@joshiste I found this SO question. Is it what you said above? I can add the Jwt token required for authenticating with the client in application.properties but it expires after every 2 hours. Is there a way I can make it fetch the tokens given a username and a password or just have a field where I can enter the new token without restarting the application?
Johannes Edmeier
@joshiste
@manjrekarom you coud write a HttpHeadersProvider that fetches a token an renews it when it is expired
DarkMode : On
@darkmodeee
image.png
Is there a way to enable http traces? just like here in the video https://youtu.be/__zkypwjSMs
Johannes Edmeier
@joshiste
@darkmodeee yes please look up the necessary config in the spring boot docs https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready-http-tracing
Dharmesh49
@Dharmesh49
hello friends, I am new in the group and can somebody help me in making project in spring boot or give me some sample project or link or youtube channel guys help me
I want some website project making i am really new with spring boot
Peter Kormos
@kormosp_gitlab
Can you please help with this? I am trying to import Vuex store.js or an eventBus.js file in the index.js file with SBA.use(), but it gives error all the time.
codecentric/spring-boot-admin#1516
Thank you for your help!
Grigory Tukmachev
@gtukmachev

Hi folks!

Can some one give me a correct direction in order to solve the problem: "No JMXtabs present for my applications in the SBA UI"

I'm using the last SBA version and client.
I'm using SpringBoot 2.3.3.RELEASE

Application - is a very simple SpringBoot Web (classic, not reactive) application generated using SpringBoot projects generator with a single REST endpoint.

I've read this documentation: https://codecentric.github.io/spring-boot-admin/current/#jmx-bean-management
and added the jolokia dependency - it didn't solve the problem.

Maybe i have to provide some jolokia properties on my application startup?

1 reply
Bojana Cupic
@cupicka87_gitlab
Hi friends, I read documentation and saw that Spring boot lowest supported version is from 1.5. Is it any possibility to show services that has older spring boot version (example 1.3). Thank you so much.
2 replies
levik666
@levik666

Hi folks!

I have an interesting question. I want to have my application and spring boot admin server works in HA mode. I use discovery for my application and admin server.

The only confusing fact that in the client configuration I need to add server host/port spring.boot.admin.client.url. If I enabled discovery but skip this configuration the app is failed due to missing configuration.

I assumed that I need to pass this configuration and if this node will down I won't send metric until it up. Please, correct me if I'm wrong. thanks.

1 reply
badricool
@badricool_twitter
Is it possible to add a new configuration via spring boot admin UI?
5 replies
abhishekdashin
@abhishekdashin

Hi Folks,

I an running version 2.2.4 and the the showing/hiding views doesnt seems to work for me

In my application.properties file the following settings is not removing the journal link

spring:
boot:
admin:
ui:
view-settings:

      - name: "journal"
        enabled: false
zhuuvzhi
@zhuuvzhi
Hello friends! Are you able to access SBT document?
the-sandeep
@the-sandeep
Hi guys please help me out.. I have a large xml file 10gb data on a separate location I want to convert in PDF file and place into another location.
Note: I have used FOP and xslt but getting heap memory full exception.
Thanks in advance
tadjan
@tadjan
Hi guys. I've just started playing with Spring Boot Admin and I'm facing following problem: details page of my service (https, but client auth disabled) is loading only partially. Some data is present (process, health check, thread stats), but the rest is missing. And for memory secret the error is displayed: Fetching memory metrics failed.
Cannot read property 'some' of undefined
Also, in the Chrome browser console, there are errors, like this: Fetching memory metrics failed: TypeError: Cannot read property 'some' of undefined
at details-memory.vue:104
at c (runtime.js:45)
at Generator._invoke (runtime.js:281)
at Generator.L.forEach.t.<computed> [as next] (runtime.js:106)
at r (asyncToGenerator.js:3)
at s (asyncToGenerator.js:25)
error @ details-memory.vue:128
Johannes Edmeier
@joshiste
@tadjan which version are you using?
tadjan
@tadjan
@joshiste latest spring-boot-admin-starter-client:2.3.0
Johannes Edmeier
@joshiste
and the server?
tadjan
@tadjan
@joshiste Same thing:2.3.0. For what is worth: everything works fine with http. The problem is only when using https