infinispan / infinispan/infinispan-server-tutorial

Infinispan Cluster Authentication Issue and Prometheus 403 Forbidden Error

Open
#20 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5
Forks
8
PR merge metrics
No merged PRs in 30d

Description

I have set up an Infinispan cluster. When I use curl to connect Prometheus, it returns a 403 (Forbidden) error.
Command Used:
CreateCommand": [
"podman",
"run",
"-d",
"--name",
"infinispan",
"--network",
"infinispan-net",
"-p",
"11222:11222",
"-e",
"USER=admin",
"-e",
"PASS=admin",
"-e",
"INFINISPAN_METRICS=true",
"-e",
"INFINISPAN_METRICS_SECURITY=false",
"-e",
"AUTHORIZATION=false",
"-v",
"infinispan-data:/opt/infinispan/server/data",
"quay.io/infinispan/server:latest"
],

Error Received:

shritech@shritech-Inspiron-5570:~$ curl -u admin:admin http://localhost:11222/metrics
ISPN080052: The request authentication mechanism 'null' is not supportedshritech@shritech-Inspiron-5570:~$

![Image](https://github.com/user-attachments/assets/1e18d296-3957-49ab-9431-6dc19fea42cc)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Podman command and the curl request to /metrics, then compare the authentication, authorization, and metrics environment settings with the reported response. Done means the Prometheus endpoint responds successfully instead of returning the 403 or the unsupported authentication mechanism error.

Written by the indexing model from the issue text.

Assessment

Tech stack
prometheus
Domain
authentication, observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.