Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Actuator endpoints are forbidden

See original GitHub issue

First I’d like to thank the developers for this awesome project.

I’m using Acrarium’s docker image f43nd1r/acrarium:latest in Kubernetes and I passed Actuator’s properties as Environment variable to enable it, however when I visit /actuator/health I get HTTP Status 403 – Forbidden

This is how I passed actuator properties to Acrarium container:

     - name: acrarium-container
       image: f43nd1r/acrarium:latest
       imagePullPolicy: Always
          - containerPort: 8080
           value: '{ "management": { "endpoints": { "enabled-by-default": true }, "endpoint": { "health": { "show-details": "always", "probes": { "enabled": true } } }, "health": { "livenessState": { "enabled": true }, "readinessState": { "enabled": true } } } }'

please permit actuator endpoints in your security configuration so we can profit from Actuator. Thanks.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

essarecommented, Mar 30, 2021

Thank you @F43nd1r for your help! I really appreciate it.

F43nd1rcommented, Mar 30, 2021

I have no experience with Kubernetes, but I’ll redirect you to a hopefully helpful stackoverflow post:

Read more comments on GitHub >

github_iconTop Results From Across the Web

WhyI am Getting 403 Forbidden error for actuator /refresh ...
I notice that Spring Boot 2 cloud config dont need to be "hooked to /refresh endpoint" after commit (or other events), because the...
Read more >
How to Enable All Endpoints in Spring Boot Actuator - Baeldung
In this tutorial, we're going to learn how to enable all the endpoints in the Spring Boot Actuator. We'll start with the necessary...
Read more >
codecentric/spring-boot-admin - Gitter
However, I am unable to access the actuator endpoints as it is showing a 403 forbidden access. the sba user configured on the...
Read more >
Production-ready Features - Spring
This means that the actuator endpoints that require a POST (shutdown and loggers endpoints), a PUT , or a DELETE get a 403...
Read more >
Trying to secure actuator health endpoint giving 403 ...
Coding example for the question Trying to secure actuator health endpoint giving 403 Forbidden error-Springboot.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found