Jump to content

Could not open analysis in Web Player 10.10.3 Using Azure Databricks(CustomConnector)


Jeff Lin

Recommended Posts

we open analysis encountered below error:

ERROR;2022-08-19T10:10:10,043+08:00;2022-08-19 02:10:10,043;ace13e2f-354d-40cd-8084-aade16c16d19;1215186ed6VXQA;WorkThread 103_477684;cs_spotfire_admin WAT 6;6512744e4e7609895e10b9634bc03605;Spotfire.Dxp.Web.Prompting.PromptHandler+PromptItem;"System.InvalidOperationException: Unable to create the View 'Spotfire.Dxp.Web.Data.Adapters.AzureDatabricksCustom.AzureDatabricksCustomCredentialsControl' found in the ViewRegistry with argument 'Spotfire.Dxp.Data.Adapters.AzureDatabricksCustom.AzureDatabricksCustomCredentialsPromptModel'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.

--- End of inner exception stack trace ---

at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)

at Spotfire.Dxp.Data.Adapters.AzureDatabricksCustom.MSCommon.MSOpenIDEndpointInfo.init(String discoveryUrl)

at Spotfire.Dxp.Data.Adapters.AzureDatabricksCustom.MSCommon.MSOpenIDEndpointInfo.getEndpointInfo(String tenantID)

at Spotfire.Dxp.Data.Adapters.AzureDatabricksCustom.MSCommon.MSWebUIHandlerBase..ctor(String clientID, String clientSecret, String tenantID, Boolean showUserConsent, TokenAuthenticationSettings tokenAuthSettings)

at Spotfire.Dxp.Data.Adapters.AzureDatabricksCustom.AzureDatabricksCustomWebUIHandler..ctor(AzureDatabricksCustomAdapterPreference conf)

at Spotfire.Dxp.Web.Data.Adapters.AzureDatabricksCustom.AzureDatabricksCustomCredentialsControl.AuthenticateWithMicrosoftPage..ctor(AzureDatabricksCustomCredentialsPromptModel model, AzureDatabricksCustomAdapterPreference conf)

at Spotfire.Dxp.Web.Data.Adapters.AzureDatabricksCustom.AzureDatabricksCustomCredentialsControl..ctor(AzureDatabricksCustomCredentialsPromptModel model)

--- End of inner exception stack trace ---

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at Spotfire.Dxp.Framework.ApplicationModel.ViewRegistry.<>c__DisplayClass12_1.<CreateView>b__3()

at Spotfire.Dxp.Framework.ApplicationModel.ViewRegistry.<>c__DisplayClass12_0.<CreateView>g__HandleExceptions|0(Type typeOfView, Func`1 factoryFunc)

--- End of inner exception stack trace ---

at Spotfire.Dxp.Framework.ApplicationModel.ViewRegistry.<>c__DisplayClass12_0.<CreateView>g__HandleExceptions|0(Type typeOfView, Func`1 factoryFunc)

at Spotfire.Dxp.Framework.ApplicationModel.ViewRegistry.CreateView(Type viewBaseType, Object model)

at Spotfire.Dxp.Framework.ApplicationModel.ViewRegistry.CreateView[T](Object model)

at Spotfire.Dxp.Web.Prompting.PromptHandler.CreatePromptControl(WebAnalysis webAnalysis, Object promptModel)

at Spotfire.Dxp.Web.Prompting.PromptHandler.PromptItem.PromptNext()"

Link to comment
Share on other sites

  • 11 months later...

Hi Jeff

Is this a persistent problem or did it happen just one time? I have run into a similar transient issue that seemed to be caused by Google rotating the certificates on the site that serves the discovery URL.

If the issue is still persisting can you confirm that you can open the discovery url in a browser on one of the server instances.

We are also looking at adding some better error handling to catch this condition and report it more directly instead of the currently confusing message.

Cheers

Dave

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...