Closed jessesimpson36 closed 1 month ago
Right now, I'm thinking this might be an issue with the zeebe gateway. When I try to authenticate and request from it's /v2/topology
restapi endpoint, I get the following error:
curl --request POST ${ZEEBE_AUTHORIZATION_SERVER_URL} \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode "audience=${ZEEBE_TOKEN_AUDIENCE}" \
--data-urlencode "client_id=${ZEEBE_CLIENT_ID}" \
--data-urlencode "client_secret=${ZEEBE_CLIENT_SECRET}" \
--data-urlencode "scope=${ZEEBE_TOKEN_SCOPE}"
{
"token_type": "Bearer",
"expires_in": 3599,
"ext_expires_in": 3599,
"access_token": "MYBEARERTOKEN"
}
curl -L -X GET \
-H 'Accept: application/json' \
-H 'Authorization: Bearer MYBEARERTOKEN' \
'http://localhost:8080/v2/topology'
{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"detail": "URI with undefined scheme",
"instance": "/v2/topology"
}
Which also matches the error in the zeebe gateway logs:
java.lang.IllegalStateException: java.lang.IllegalArgumentException: URI with undefined scheme
I was able to resolve this issue by supplying the following variable in the zeebe-gateway configmap:
camunda:
identity:
baseUrl: http://cpt-identity:80
Since this https://github.com/camunda/camunda-platform-helm/pull/2389 is merged, we can now close this issue
Describe the issue:
When installing from the 8.6 alpha subdirectory with a configuration that has OIDC enabled, Operate and Tasklist are not able to connect to zeebe.
In this environment, all the applications are Ready except for operate / tasklist:
Inside the log file for operate, we get
Which indicates that when operate connects to zeebe, it can't call the API.
In the zeebe, the error we see is
So I think the api operate is requesting from zeebe is
cluster-topology-sync
. For further testing, we could make use of this project to test the endpoints: https://github.com/camunda-community-hub/camunda-8-examples/blob/main/zeebe-client-plain-java/src/main/java/io/camunda/zeebe/example/cluster/TopologyViewer.javaI've also tested this same values.yaml against the latest 8.5 release, and everything came up healthy.
I've also tested against 8.6.0-rc1, and the issue still occurs in rc1.
Actual behavior:
Expected behavior:
How to reproduce:
Logs:
operate-logs.txt tasklist.txt zeebe-gateway-logs.txt zeebe-logs.txt
Environment:
Please note: Without the following info, it's hard to resolve the issue and probably it will be closed.