Skip to content

connect to KQL not working in codespaces #2467

@colombod

Description

@colombod

in a code space install extension using

#r "nuget: Microsoft.DotNet.Interactive.Kql, *-*"

then try to connect to a cluster

#!connect kql --kernel-name telemetry --cluster "cluster address" --database "some db"

this error will be reported

Error: [0]Kusto.Data.Exceptions.KustoClientAuthenticationException: Kusto client failed to perform authentication: 'Unable to open a web page using xdg-open, gnome-open, or kfmclient tools. See inner exception for details. Possible causes for this error are: tools are not installed or they cannot open a URL. Make sure you can open a web page by invoking from a terminal: xdg-open https://www.bing.com . [InnerException: Exception]: Failed to locate a utility to launch the default web browser.'
Timestamp=2022-11-15T00:32:16.2742934Z
MachineName=codespaces-0d8e55
ProcessName=dotnet
ProcessId=13201
ThreadId=13279
AppDomainName=Microsoft.DotNet.Interactive.App
ActivityStack=(Empty activity stack)
ErrorMessage=
DataSource=
DatabaseName=
ClientRequestId=
 --->
MSAL.NetCore.4.37.0.0.MsalClientException: 
	ErrorCode: linux_xdg_open_failed
Microsoft.Identity.Client.MsalClientException: Unable to open a web page using xdg-open, gnome-open, or kfmclient tools. See inner exception for details. Possible causes for this error are: tools are not installed or they cannot open a URL. Make sure you can open a web page by invoking from a terminal: xdg-open https://www.bing.com 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions