microsoft / dev-tunnels

Dev Tunnels SDK
MIT License
286 stars 20 forks source link

devtunnel user login hangs #452

Closed danmiser closed 3 months ago

danmiser commented 3 months ago

I'm running on Windows 11 ARM. When doing "devtunnel user login", it just hangs. Anything I can do differently to get this working?

Tunnel service URI : https://global.rel.tunnels.api.visualstudio.com/ Tunnel service version : 1.0.1270.60565 (95ecea7066; 2024-05-16 22:40:13Z) Tunnel service cluster : use2

Using token cache file: C:\Users\dan\AppData\Local\DevTunnels\devtunnels-tokens-github MSAL-Cache: Initialized 'Storage' MSAL-Cache: Reading Data MSAL-Cache: Reading from file MSAL-Cache: Cache file exists? 'False' MSAL-Cache: Got '0' bytes from file storage Using client AppId: c0df98ca-23b4-4bce-bb9f-72039b28d3a5 Using token cache file: C:\Users\dan\AppData\Local\DevTunnels\devtunnels-tokens-microsoft MSAL-Cache: Initialized 'Storage' MSAL-Cache: Registering token cache with on disk storage MSAL-Cache: Done initializing MSAL: [Cache Session Manager] Entering the cache semaphore. Real semaphore: True. Count: 1 MSAL: [Cache Session Manager] Entered cache semaphore MSAL-Cache: [Microsoft.Identity.Client.Extensions] Before access Acquiring lock for token cache MSAL: [Microsoft.Identity.Client.Extensions] Before access Acquiring lock for token cache MSAL-Cache: [Microsoft.Identity.Client.Extensions] Before access, the store has changed MSAL: [Microsoft.Identity.Client.Extensions] Before access, the store has changed MSAL-Cache: Reading Data MSAL-Cache: Reading from file MSAL-Cache: Cache file exists? 'True' MSAL-Cache: Read '0' bytes from the file MSAL-Cache: Got '0' bytes from file storage MSAL-Cache: [Microsoft.Identity.Client.Extensions] Read '0' bytes from storage MSAL: [Microsoft.Identity.Client.Extensions] Read '0' bytes from storage MSAL-Cache: [Microsoft.Identity.Client.Extensions] Deserializing the store MSAL: [Microsoft.Identity.Client.Extensions] Deserializing the store MSAL: [Internal cache] Clearing user token cache accessor. MSAL-Cache: [Microsoft.Identity.Client.Extensions] After access MSAL: [Microsoft.Identity.Client.Extensions] After access MSAL-Cache: Released lock MSAL: [Cache Session Manager] Released cache semaphore MSAL: [Internal cache] Total number of cache partitions found while getting refresh tokens: 0 MSAL: [GetAccounts] Found 0 RTs and 0 accounts in MSAL cache. MSAL: IsLegacyAdalCacheEnabled: yes MSAL: [Region discovery] Not using a regional authority. MSAL: [Instance Discovery] Tried to use network cache provider for login.microsoftonline.com. Success? False. MSAL: [Instance Discovery] Tried to use known metadata provider for login.microsoftonline.com. Success? True. MSAL: [GetAccounts] Found 0 RTs and 0 accounts in MSAL cache after environment filtering. MSAL: IsLegacyAdalCacheEnabled: yes MSAL: IsLegacyAdalCacheEnabled: yes MSAL: Found 0 cache accounts and 0 broker accounts MSAL: Returning 0 accounts Using client AppId: c0df98ca-23b4-4bce-bb9f-72039b28d3a5 MSAL-Cache: Registering token cache with on disk storage MSAL-Cache: Done initializing MSAL: [Cache Session Manager] Entering the cache semaphore. Real semaphore: True. Count: 1 MSAL: [Cache Session Manager] Entered cache semaphore MSAL-Cache: [Microsoft.Identity.Client.Extensions] Before access Acquiring lock for token cache MSAL: [Microsoft.Identity.Client.Extensions] Before access Acquiring lock for token cache MSAL-Cache: [Microsoft.Identity.Client.Extensions] Before access, the store has changed MSAL: [Microsoft.Identity.Client.Extensions] Before access, the store has changed MSAL-Cache: Reading Data MSAL-Cache: Reading from file MSAL-Cache: Cache file exists? 'True' MSAL-Cache: Read '0' bytes from the file MSAL-Cache: Got '0' bytes from file storage MSAL-Cache: [Microsoft.Identity.Client.Extensions] Read '0' bytes from storage MSAL: [Microsoft.Identity.Client.Extensions] Read '0' bytes from storage MSAL-Cache: [Microsoft.Identity.Client.Extensions] Deserializing the store MSAL: [Microsoft.Identity.Client.Extensions] Deserializing the store MSAL: [Internal cache] Clearing user token cache accessor. MSAL-Cache: [Microsoft.Identity.Client.Extensions] After access MSAL: [Microsoft.Identity.Client.Extensions] After access MSAL-Cache: Released lock MSAL: [Cache Session Manager] Released cache semaphore MSAL: [Internal cache] Total number of cache partitions found while getting refresh tokens: 0 MSAL: [GetAccounts] Found 0 RTs and 0 accounts in MSAL cache. MSAL: IsLegacyAdalCacheEnabled: yes MSAL: [Region discovery] Not using a regional authority. MSAL: [Instance Discovery] Tried to use network cache provider for login.microsoftonline.com. Success? False. MSAL: [Instance Discovery] Tried to use known metadata provider for login.microsoftonline.com. Success? True. MSAL: [GetAccounts] Found 0 RTs and 0 accounts in MSAL cache after environment filtering. MSAL: IsLegacyAdalCacheEnabled: yes MSAL: IsLegacyAdalCacheEnabled: yes MSAL: [RuntimeBroker] WAM supported OS. MSAL: [RuntimeBroker] MsalRuntime initialization successful. MSAL: [RuntimeBroker] ListWindowsWorkAndSchoolAccounts option was not enabled. MSAL: Filtering broker accounts by environment. Before filtering: 0 MSAL: [Region discovery] Not using a regional authority. MSAL: [Instance Discovery] Tried to use network cache provider for login.microsoftonline.com. Success? False. MSAL: [Instance Discovery] Tried to use known metadata provider for login.microsoftonline.com. Success? True. MSAL: After filtering: 0 MSAL: Found 0 cache accounts and 0 broker accounts MSAL: Returning 0 accounts MSAL-Cache: Got '0' bytes to write to storage MSAL-Cache: Writing cache file MSAL-Cache: Writing file without special permissions Using client AppId: c0df98ca-23b4-4bce-bb9f-72039b28d3a5 Using token cache file: C:\Users\dan\AppData\Local\DevTunnels\devtunnels-tokens-microsoft MSAL-Cache: Initialized 'Storage' MSAL-Cache: Registering token cache with on disk storage MSAL-Cache: Done initializing MSAL: MSAL MSAL.NetCore with assembly version '4.55.0.0'. CorrelationId(73efca8e-9b5d-4675-b192-46dec76d7940) MSAL: DefaultBrowserOptions configured. HidePrivacyPrompt False MSAL: HtmlMessageSuccess? True MSAL: HtmlMessageError? True MSAL: BrowserRedirectSuccess? False MSAL: BrowserRedirectError? False MSAL: === InteractiveParameters Data === LoginHint provided: False User provided: False UseEmbeddedWebView: System ExtraScopesToConsent: Prompt: not_specified HasCustomWebUi: False

MSAL: === Request Data === Authority Provided? - True Scopes - 46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2/.default Extra Query Params Keys (space separated) - ApiId - AcquireTokenInteractive IsConfidentialClient - False SendX5C - False LoginHint ? False IsBrokerConfigured - True HomeAccountId - False CorrelationId - 73efca8e-9b5d-4675-b192-46dec76d7940 UserAssertion set: False LongRunningOboCacheKey set: False Region configured:

MSAL: === Token Acquisition (InteractiveRequest) started: Scopes: 46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2/.default Authority Host: login.microsoftonline.com MSAL: [Instance Discovery] Instance discovery is enabled and will be performed MSAL: [Region discovery] Not using a regional authority. MSAL: [Instance Discovery] Tried to use network cache provider for login.microsoftonline.com. Success? False. MSAL: Fetching instance discovery from the network from host login.microsoftonline.com. MSAL: Starting [Oauth2Client] Sending GET request MSAL: Starting [HttpManager] ExecuteAsync MSAL: [HttpManager] Sending request. Method: GET. Host: https://login.microsoftonline.com. MSAL: [HttpManager] Received response. Status code: OK. MSAL: Finished [HttpManager] ExecuteAsync in 695 ms MSAL: Finished [Oauth2Client] Sending GET request in 702 ms MSAL: Starting [OAuth2Client] Deserializing response MSAL: Finished [OAuth2Client] Deserializing response in 28 ms MSAL: [Instance Discovery] Tried to use network cache provider for login.microsoftonline.com. Success? True. MSAL: [Instance Discovery] After hitting the discovery endpoint, the network provider found an entry for login.microsoftonline.com ? True. MSAL: Authority validation enabled? False. MSAL: Authority validation - is known env? True. MSAL: Broker is configured. Starting broker flow without knowing the broker installation app link. MSAL: [RuntimeBroker] WAM supported OS. MSAL: [RuntimeBroker] MsalRuntime initialization successful. MSAL: Can invoke broker. Will attempt to acquire token with broker. MSAL: [RuntimeBroker] Using Windows account picker. MSAL: [RuntimeBroker] Calling SignInInteractivelyAsync this will show the account picker. MSAL: [RuntimeBroker] Validating Common Auth Parameters. MSAL: [WamBroker] Scopes were passed in the request. MSAL: [WamBroker] Acquired Common Auth Parameters. MSAL: [RuntimeBroker] AcquireTokenInteractive - login hint provided? False MSAL: [MSAL:0001] INFO SetCorrelationId:220 Set correlation ID: 73efca8e-9b5d-4675-b192-46dec76d7940 MSAL: [MSAL:0001] INFO SetCorrelationId:220 Set correlation ID: 73efca8e-9b5d-4675-b192-46dec76d7940 MSAL: [MSAL:0001] INFO ExecuteInteractiveRequest:738 The original authority is 'https://login.microsoftonline.com/common' MSAL: [MSAL:0001] INFO ExecuteInteractiveRequest:738 The original authority is 'https://login.microsoftonline.com/common' MSAL: [MSAL:0001] WARNING TryNormalizeRealm:2219 No HomeAccountId provided to normalize the realm MSAL: [MSAL:0001] WARNING TryNormalizeRealm:2219 No HomeAccountId provided to normalize the realm MSAL: [MSAL:0001] INFO ExecuteInteractiveRequest:749 The normalized realm is '' MSAL: [MSAL:0001] INFO ExecuteInteractiveRequest:749 The normalized realm is '' MSAL: [MSAL:0001] INFO ModifyAndValidateAuthParameters:182 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)' MSAL: [MSAL:0001] INFO ModifyAndValidateAuthParameters:182 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)' MSAL: [MSAL:0001] INFO ModifyAndValidateAuthParameters:199 Authority Realm: common MSAL: [MSAL:0001] INFO ModifyAndValidateAuthParameters:199 Authority Realm: common MSAL: [MSAL:0002] WARNING TryReadUniversalStorage:638 Attempted to read cache with a non-normalized realm, access token and ID token reads will fail MSAL: [MSAL:0002] WARNING TryReadUniversalStorage:638 Attempted to read cache with a non-normalized realm, access token and ID token reads will fail MSAL: [MSAL:0002] WARNING ReadAccountById:225 Account id is empty - account not found MSAL: [MSAL:0002] WARNING ReadAccountById:225 Account id is empty - account not found Tunnel CLI version: 1.0.1301+f410beb2af