Retry revoking token in case of network problems
VladRassokhin opened this issue · 2 comments
VladRassokhin commented
Observed next line in build log:
Cannot revoke HashiCorp Vault token: I/O error on POST request for "https://vault.consul:8200/v1/auth/token/revoke-self": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
org.jetbrains.teamcity.vault.support.LifecycleAwareSessionManager#revoke
should retry several times
VladRassokhin commented
Meanwhile TC server will also try to revoke token once build finishes
VladRassokhin commented
Added retry with backoff