-
Notifications
You must be signed in to change notification settings - Fork 88
Description
Describe the bug
Auto Refresh on fetch should return refreshed token, but it return error.
Related Tractus-X EDC Docs:
https://github.com/eclipse-tractusx/tractusx-edc/blob/main/docs/usage/management-api-walkthrough/07_edrs.md#auto-renew-on-fetch
To Reproduce
I use umbrella chart to deploy Data Exchange Subset in the link below.
https://github.com/eclipse-tractusx/tractus-x-umbrella/blob/main/docs/user/linux/README.md
And then follow the Testing the Data Exchange using bruno collection as below link:
https://github.com/eclipse-tractusx/tractus-x-umbrella/blob/main/docs/user/common/guides/data-exchange.md#1-bruno-collection
Everything work fine.
But if the token expired, and I rerun the 04-Get Authorization on Bruno 02-Consume_Data, (with the auto_refresh=true as documented on Tractus-X EDC docs above), I got the following error:
[
{
"message": "Could not execute token refresh: [signToken] Server response to [POST, http://ssi-dim-wallet-stub.tx.test/api/sts] was not one of [200, 201] but was 500: {\"type\":\"about:blank\",\"title\":\"Internal Server Error\",\"status\":500,\"detail\":\"InternalErrorException: Internal Error: Unsupported JWS algorithm RS256, must be ES256K\",\"instance\":\"/api/sts\",\"properties\":{\"timestamp\":1770484474784}}",
"type": "InvalidRequest",
"path": null,
"invalidValue": null
}
]
data consumer edc controlplace logs
│ {"timestamp":"2026-02-07T17:26:33.9261582","level":"DEBUG","message":"Token '91618437-c25a-4148-9f53-10e12e45d63d' expired, need to refresh."} │
│ {"timestamp":"2026-02-07T17:26:33.9268322","level":"DEBUG","message":"DIM Token expired, need to refresh."} │
│ {"timestamp":"2026-02-07T17:26:49.6112445","level":"ERROR","message":"HTTP client exception caught for request [POST, http://ssi-dim-wallet-stub.tx.test/api/sts]"} │
│ {"timestamp":"2026-02-07T17:27:21.9797747","level":"DEBUG","message":"[DataPlaneSelectorManagerImpl] DataPlaneInstance umbrella-dataconsumer-1-edc-dataplane is now in state AVAILABLE"}
Expected behavior
Expected to get the token, not error.
Screenshots/Error Messages
N/A
Context Information
N/A
- Used version: Current Umbrella Charts
- OS: Linux, Minikube
Possible Implementation
N/A
Others
Looking at the log, something related to Wallet Stub STS?