Closed iobeidi closed 2 weeks ago
Describe the bug I had to reconfigure my tennants 3 to 4 times already due to they stop connecting. the PAT are correct , but everytime i close VSCODE the tennan t starts failling connection giving me a 401
To Reproduce Steps to reproduce the behavior:
Expected behavior working fine
Screenshots
Logs Extension Host] > ISCDataProvider.forceRefresh console.ts:137 [Extension Host] > ISCDataProvider.refresh console.ts:137 [Extension Host] > getTreeItem {collapsibleState: 1, label: 'Sources', tenantId: '1e71e9ee2b8b46a2985384344d1ea330', tenantName: 'client-sb.identitynow.com', tenantDisplayName: '#55 - CPFS', …} console.ts:137 [Extension Host] after update {collapsibleState: 1, label: 'Sources', tenantId: '1e71e9ee2b8b46a2985384344d1ea330', tenantName: 'client-sb.identitynow.com', tenantDisplayName: '#55 - CPFS', …} console.ts:137 [Extension Host] > getChildren {collapsibleState: 1, label: 'Sources', tenantId: '1e71e9ee2b8b46a2985384344d1ea330', tenantName: 'client-sb.identitynow.com', tenantDisplayName: '#55 - CPFS', …} console.ts:137 [Extension Host] > getSources console.ts:137 [Extension Host] > getSessions ['1e71e9ee2b8b46a2985384344d1ea330'] console.ts:137 [Extension Host] > getSessionByTenant 1e71e9ee2b8b46a2985384344d1ea330 console.ts:137 [Extension Host] < getSessionByTenant existing token console.ts:137 [Extension Host] < getSessions console.ts:137 [Extension Host] Paginating call, offset = 0 log.ts:439 ERR [Extension Host] Unable to fetch access token. Aborting. console.ts:137 [Extension Host] Unable to fetch access token. Aborting. notificationsAlerts.ts:40 Error: AxiosError: Request failed with status code 401 at a. (c:\Users\Fawkes.vscode\extensions\yannick-beot-sp.vscode-sailpoint-identitynow-1.3.2\out\extension.js:43:5496) at c (c:\Users\Fawkes.vscode\extensions\yannick-beot-sp.vscode-sailpoint-identitynow-1.3.2\out\extension.js:43:2792) at Object.throw (c:\Users\Fawkes.vscode\extensions\yannick-beot-sp.vscode-sailpoint-identitynow-1.3.2\out\extension.js:43:2075) at c (c:\Users\Fawkes.vscode\extensions\yannick-beot-sp.vscode-sailpoint-identitynow-1.3.2\out\extension.js:43:1684) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
I have just released 1.3.3 that should fix this. Let me know if that's not the case. I'll reopen the issue if necessary.
This seems to be causing a new error, re: #94
Describe the bug I had to reconfigure my tennants 3 to 4 times already due to they stop connecting. the PAT are correct , but everytime i close VSCODE the tennan t starts failling connection giving me a 401
To Reproduce Steps to reproduce the behavior:
Expected behavior working fine
Screenshots
Logs Extension Host] > ISCDataProvider.forceRefresh console.ts:137 [Extension Host] > ISCDataProvider.refresh console.ts:137 [Extension Host] > getTreeItem {collapsibleState: 1, label: 'Sources', tenantId: '1e71e9ee2b8b46a2985384344d1ea330', tenantName: 'client-sb.identitynow.com', tenantDisplayName: '#55 - CPFS', …} console.ts:137 [Extension Host] after update {collapsibleState: 1, label: 'Sources', tenantId: '1e71e9ee2b8b46a2985384344d1ea330', tenantName: 'client-sb.identitynow.com', tenantDisplayName: '#55 - CPFS', …} console.ts:137 [Extension Host] > getChildren {collapsibleState: 1, label: 'Sources', tenantId: '1e71e9ee2b8b46a2985384344d1ea330', tenantName: 'client-sb.identitynow.com', tenantDisplayName: '#55 - CPFS', …} console.ts:137 [Extension Host] > getSources console.ts:137 [Extension Host] > getSessions ['1e71e9ee2b8b46a2985384344d1ea330'] console.ts:137 [Extension Host] > getSessionByTenant 1e71e9ee2b8b46a2985384344d1ea330 console.ts:137 [Extension Host] < getSessionByTenant existing token console.ts:137 [Extension Host] < getSessions console.ts:137 [Extension Host] Paginating call, offset = 0 log.ts:439 ERR [Extension Host] Unable to fetch access token. Aborting. console.ts:137 [Extension Host] Unable to fetch access token. Aborting. notificationsAlerts.ts:40 Error: AxiosError: Request failed with status code 401 at a. (c:\Users\Fawkes.vscode\extensions\yannick-beot-sp.vscode-sailpoint-identitynow-1.3.2\out\extension.js:43:5496)
at c (c:\Users\Fawkes.vscode\extensions\yannick-beot-sp.vscode-sailpoint-identitynow-1.3.2\out\extension.js:43:2792)
at Object.throw (c:\Users\Fawkes.vscode\extensions\yannick-beot-sp.vscode-sailpoint-identitynow-1.3.2\out\extension.js:43:2075)
at c (c:\Users\Fawkes.vscode\extensions\yannick-beot-sp.vscode-sailpoint-identitynow-1.3.2\out\extension.js:43:1684)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)