azure-service-bus-java
azure-service-bus-java copied to clipboard
Error occurred while refreshing token that is not retriable. Not scheduling refresh task.
Actual Behavior
- Getting the error: " Error occurred while refreshing token that is not retriable. Not scheduling refresh task."
Expected Behavior
- No error while refreshing the token
Apologies for the vague error description, but this is all I'm getting from my deployment logs. Below the full output:
2022-04-04 07:45:25,557 ERROR [com.azu.cor.amq.imp.ActiveClientTokenManager] (reactor-executor-2) Error occurred while refreshing token that is not retriable. Not scheduling refresh task. Use ActiveClientTokenManager.authorize() to schedule task again. audience[amqp://ddc-d-sbn.servicebus.windows.net/ddc-sbt-capture-results/subscriptions/capture-results-subscription] scopes[https://servicebus.azure.net/.default] period >= 0 required but it was -1484075030000000000
Versions
- OS platform and version: Linux, AKS
- Maven package version or commit ID: Latest
Some more information:
I'm using AKS. I've followed the examples provided from these guides: https://docs.microsoft.com/nl-nl/azure/service-bus-messaging/service-bus-java-how-to-use-queues
Also, I'm using Managed ID as authentication. That should be implemented correctly, since I've also already implemented it for my Blob Storage code and that is working correctly.