Installed QSDA version 2.2.3, the service is running on my pc but the application list is not refreshing. Also I am unable to setup the connection


2023-07-17 17:17:21.8073 QsdaUI.Service.AnalysisService+1.MoveNext Error 504 Gateway Timeout response from /api/v1/collectors 2023-07-17 17:17:22.0978 QsdaUI.Service.AdminService+.MoveNext Error 504 Gateway Timeout response from /api/v1/connections/list 2023-07-17 17:17:22.0994 QsdaUI.Service.AdminService+.MoveNext Error 504 Gateway Timeout response from /api/v1/connections/list 2023-07-17 17:17:22.0994 QsdaUI.Service.AdminService+.MoveNext Error 504 Gateway Timeout response from /api/v1/connections/list 2023-07-17 17:17:22.3732 QsdaUI.Service.AdminService+.MoveNext Error 504 Gateway Timeout response from /api/v1/connections/list 2023-07-17 17:17:23.2843 Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost.ReportUnhandledException Error Unhandled exception in circuit 'k1UXNnBmLErGkimJ6uPiu1gU_St3svu4u94qHQC-8DI'. System.NullReferenceException: Object reference not set to an instance of an object. at Qsda.UI.Pages.Analyze.PageApplist..MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task) at QsdaUI.Components.ConnectionList..MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState) 2023-07-17 17:18:59.3663 QsdaUI.Service.AnalysisService+1.MoveNext Error 504 Gateway Timeout response from /api/v1/collectors
2023-07-17 17:18:59.3663 QsdaUI.Service.AdminService+.MoveNext Error 504 Gateway Timeout response from /api/v1/connections/list
2023-07-17 17:18:59.3663 QsdaUI.Service.AdminService+.MoveNext Error 504 Gateway Timeout response from /api/v1/connections/list
2023-07-17 17:18:59.3663 QsdaUI.Service.AdminService+.MoveNext Error 504 Gateway Timeout response from /api/v1/connections/list
2023-07-17 17:18:59.6441 QsdaUI.Service.AdminService+.MoveNext Error 504 Gateway Timeout response from /api/v1/connections/list
2023-07-17 17:18:59.6460 Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost.ReportUnhandledException Error Unhandled exception in circuit ‘FmiAESbn1kH3amwzP6XlRy612x5F4HKT_naTjF1hGpk’. System.NullReferenceException: Object reference not set to an instance of an object.
at Qsda.UI.Pages.Analyze.PageApplist..MoveNext()
— End of stack trace from previous location —
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at QsdaUI.Components.ConnectionList..MoveNext()
— End of stack trace from previous location —
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
2023-07-17 17:19:25.4308 QsdaUI.Service.AdminService+.MoveNext Error 504 Gateway Timeout response from /api/v1/connections/list
2023-07-17 17:19:36.1945 QsdaUI.Service.AdminService+.MoveNext Error 504 Gateway Timeout response from /api/v1/connections/test
2023-07-17 17:19:36.3103 Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost.ReportUnhandledException Error Unhandled exception in circuit ‘zspAsIz9ocJ6xgrfU3BO6W1KmJbOVwyg6MIYl2Etx7E’. System.NullReferenceException: Object reference not set to an instance of an object.
at Qsda.UI.Pages.Admin.PageServerConnection..MoveNext()
— End of stack trace from previous location —
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Syncfusion.Blazor.SplitButtons.SfProgressButton.ClickHandler(MouseEventArgs e)
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Syncfusion.Blazor.Internal.SfBaseUtils.InvokeEvent[T](Object eventFn, T eventArgs)
at Syncfusion.Blazor.Buttons.SfButton.OnClickHandler(MouseEventArgs args)
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

If you click on the API link “ping” in the QSDA Control panel, do you get a response?

-Rob

Yes
{“serviceName”:“Qsda.Service”,“workingSetSize”:110436352}

Please try the following:

  1. Stop the QSDA services
  2. Delete the folder C:\ProgramData\EasyQlik\QSDA
    3 Start the QSDA Services.

-Rob

Now getting below in error log and unable to launch :
localhost:5003/serverconnection

2023-07-19 15:13:18.6290 Qsda.Shared.Persistence.ConfigurationRepository. Error Could not find a part of the path ‘C:\ProgramData\EasyQlik\QSDA\qsda-apikey.json’.
2023-07-19 15:13:22.9630 QsdaService.Startup.ConfigureServices Info Qsda.Service is using repository type: database.
2023-07-19 15:13:23.0254 Microsoft.Extensions.Logging.LoggingExtensions.UsingProfileAsKeyRepositoryWithDPA

What error do you get from ?
localhost:5003/serverconnection

It was blank screen, checked this in console log:
blazor.server.js:1 [2023-07-20T09:32:40.692Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting ‘DetailedErrors: true’ in ‘appSettings.Development.json’ or set ‘CircuitOptions.DetailedErrors’.

When you refresh the screen, what errors do you get in the error log? The message
Error Could not find a part of the path ‘C:\ProgramData\EasyQlik\QSDA\qsda-apikey.json’.
should not reappear. QSDA should have recreated the qsda-apikey file. Can you check?

-Rob

2023-07-25 18:40:03.8115 Qsda.Shared.Protection.DataProtection.Unprotect Error Error unprotecting value System.Security.Cryptography.CryptographicException: The key {fe910a7c-ab65-428f-8a16-86e326fe8c90} was not found in the key ring. For more information go to How to: Use Data Protection - .NET | Microsoft Learn
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte protectedData)
at Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.Unprotect(IDataProtector protector, String protectedData)
at Qsda.Shared.Protection.DataProtection.Unprotect(String value)

Did you delete the entire QSDA folder? It looks like it’s failing trying to decrypt something in that folder.

Yes and getting this error in qsda-errorlog:
2023-07-26 19:35:49.5416 Qsda.Shared.Protection.DataProtection.Unprotect Error Error unprotecting value System.Security.Cryptography.CryptographicException: The key {3593af31-7362-46ad-b9f5-f93097fdae4a} was not found in the key ring. For more information go to How to: Use Data Protection - .NET | Microsoft Learn
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte protectedData)
at Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.Unprotect(IDataProtector protector, String protectedData)
at Qsda.Shared.Protection.DataProtection.Unprotect(String value)

Did you install for “all users” or “only for me”?

I recommend you

  1. uninstall QSDA using Windows Programs and Features,
  2. Delete folder C:\Program Data\EasyQlik\QSDA
  3. Delete folder C:\Users*userid*\AppData\Local\EasyQlik\QSDA
    4.Install the latest QSDA, 2.5, available here: Download QSDA Pro - EasyQlik

If you still have difficulty please let me know:

  1. If you installed “for all users” or “only for me”.
  2. Screenshots of the above two folders,