[BUG] ExpiredAuthenticationToken when running the Extractor process at more than one hour
- Lingua principale
- C#
- Stelle
- 448
- Fork
- 247
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Release version
6.0.1.1
### Describe the bug
Hello,
I´m running the extractor from APIM with many objects (apis, version sets, policies fragments, ...) and the extraction is during more than one hour and because this is broken.
The message is like this: System.Net.Http.HttpRequestException: HTTP request to URI
````
https://management.azure.com/subscriptions/***/resourceGroups/rg-abcd-dev-001/providers/Microsoft.ApiManagement/service/apim-abcd-dev-001/apis/api-xpto/tags?api-version=2023-09-01-preview failed with status code 401. Content is '{"error":{"code":"ExpiredAuthenticationToken","message":"The access token expiry UTC time '9/20/2024 4:01:35 AM' is earlier than current UTC time '9/20/2024 4:01:35 AM'."}}'.
````
====
Summary:
````
{"code":"ExpiredAuthenticationToken","message":"The access token expiry UTC time '9/20/2024 4:01:35 AM' is earlier than current UTC time '9/20/2024 4:01:35 AM'."}
````###
### Expected behavior
Full extraction completed successfuly
### Actual behavior
The process is running to more than one hour and i´m reaceiving the access token expiry massage with ExpiredAuthenticationToken code.
````
{"code":"ExpiredAuthenticationToken","message":"The access token expiry UTC time '9/20/2024 4:01:35 AM' is earlier than current UTC time '9/20/2024 4:01:35 AM'."}
````
### Reproduction Steps
Just Running the Extractor
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con il processo Extractor e le relative richieste ad Azure API Management, in particolare con la chiamata all’API di gestione mostrata per l’endpoint dei tag. Riproduci un’estrazione che duri più di un’ora e traccia come viene gestita l’autenticazione dopo la scadenza del token; il lavoro è completato quando l’estrazione completa termina correttamente senza un errore ExpiredAuthenticationToken.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, csharp
- Ambito
- api, authentication, cloud
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100