Troubleshooting VisualStudioCredential

Library name and version
Azure.Identity
Query/Question
I am reading this page:
https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/troubleshooting.md
(Which btw has broken links in this section)
And am looking under VisualStudioCredential.  My Tools -> Options -> Azure Service Authentication is set with my Azure account. I have tried logging in and logging out (even clearing out the Identity folder/cache) but this still fails to work for me.
I am able to use environmental variables, so I have a workaround in the meantime.  However it would be great to figure out what is going on here and perhaps add to the documentation to assist others that are running into the same issue.
Thank you for any assistance you can provide. 🙏
Environment
Windows 10
Visual Studio 2022 17.1 Preview 2

Thank you for your feedback.  Tagging and routing to the team members best able to assist.

Hi @Mike-E-angelo -
Could you provide some additional detail about how you are attempting to use the VisualStudioCredential and what specific error(s) or exception you are hitting?

Hi @christothes thank you for your assistance.  In my troubleshooting of Azure App Services, I am publishing the same contents locally to a folder, where the exe is generated.  I then run the locally-published exe and encounter the error.  The resulting exception is extensive, and the aggregate sum of all the possible errors listed in the aforementioned document.  Again this goes away if I use the environmental variables, but all remaining avenues result in an exception.
Here is a sample of what I see:
Unhandled exception. Azure.Identity.CredentialUnavailableException: DefaultAzureCredential failed to retrieve a token from the included credentials. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/defaultazurecredential/troubleshoot
- EnvironmentCredential authentication unavailable. Environment variables are not fully configured. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/environmentcredential/troubleshoot
- ManagedIdentityCredential authentication unavailable. Multiple attempts failed to obtain a token from the managed identity endpoint.
- Process "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\Asal\TokenService\Microsoft.Asal.TokenService.exe" has failed with unexpected error: TS003: Error, TS004: Unable to get access token.  'AADSTS50020: User account '{EmailHidden}' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '872cd9fa-d31f-45e0-9eab-6e460a02d1f1'(Visual Studio) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
Trace ID: fe4ffa10-d2aa-4f06-a13f-382d2deb3002
Correlation ID: 83523e02-7be3-41e8-ab73-4dafc271a8dd
Timestamp: 2022-01-11 18:02:56Z'.
- Stored credentials not found. Need to authenticate user in VSCode Azure Account. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/vscodecredential/troubleshoot
- Azure CLI not installed
- Az.Account module >= 2.2.0 is not installed.
 ---> System.AggregateException: Multiple exceptions were encountered while attempting to authenticate. (EnvironmentCredential authentication unavailable. Environment variables are not fully configured. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/environmentcredential/troubleshoot) (ManagedIdentityCredential authentication unavailable. Multiple attempts failed to obtain a token from the managed identity endpoint.) (Process "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\Asal\TokenService\Microsoft.Asal.TokenService.exe" has failed with unexpected error: TS003: Error, TS004: Unable to get access token.  'AADSTS50020: User account '{EmailHidden}' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '872cd9fa-d31f-45e0-9eab-6e460a02d1f1'(Visual Studio) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
Trace ID: fe4ffa10-d2aa-4f06-a13f-382d2deb3002
Correlation ID: 83523e02-7be3-41e8-ab73-4dafc271a8dd
Timestamp: 2022-01-11 18:02:56Z'.) (Stored credentials not found. Need to authenticate user in VSCode Azure Account. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/vscodecredential/troubleshoot) (Azure CLI not installed) (Az.Account module >= 2.2.0 is not installed.)
 ---> Azure.Identity.CredentialUnavailableException: EnvironmentCredential authentication unavailable. Environment variables are not fully configured. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/environmentcredential/troubleshoot
   at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage)
   at Azure.Identity.EnvironmentCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.EnvironmentCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.DefaultAzureCredential.GetTokenFromSourcesAsync(TokenCredential[] sources, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
 ---> (Inner Exception #1) Azure.Identity.CredentialUnavailableException: ManagedIdentityCredential authentication unavailable. Multiple attempts failed to obtain a token from the managed identity endpoint.
 ---> System.AggregateException: Retry failed after 4 tries. Retry settings can be adjusted in ClientOptions.Retry. (The operation was cancelled because it exceeded the configured timeout of 0:00:01. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.) (The operation was cancelled because it exceeded the configured timeout of 0:00:01. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.) (The operation was cancelled because it exceeded the configured timeout of 0:00:01. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.) (The operation was cancelled because it exceeded the configured timeout of 0:00:01. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.)
 ---> System.Threading.Tasks.TaskCanceledException: The operation was cancelled because it exceeded the configured timeout of 0:00:01. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.
 ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, Boolean async)
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   --- End of inner exception stack trace ---
   at Azure.Core.Pipeline.ResponseBodyPolicy.ThrowIfCancellationRequestedOrTimeout(CancellationToken originalToken, CancellationToken timeoutToken, Exception inner, TimeSpan timeout)
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RedirectPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   --- End of inner exception stack trace ---
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Identity.ManagedIdentitySource.AuthenticateAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
   at Azure.Identity.ImdsManagedIdentitySource.AuthenticateAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
 ---> (Inner Exception #1) System.Threading.Tasks.TaskCanceledException: The operation was cancelled because it exceeded the configured timeout of 0:00:01. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.
 ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, Boolean async)
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   --- End of inner exception stack trace ---
   at Azure.Core.Pipeline.ResponseBodyPolicy.ThrowIfCancellationRequestedOrTimeout(CancellationToken originalToken, CancellationToken timeoutToken, Exception inner, TimeSpan timeout)
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RedirectPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)<---

 ---> (Inner Exception #2) System.Threading.Tasks.TaskCanceledException: The operation was cancelled because it exceeded the configured timeout of 0:00:01. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.
 ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, Boolean async)
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   --- End of inner exception stack trace ---
   at Azure.Core.Pipeline.ResponseBodyPolicy.ThrowIfCancellationRequestedOrTimeout(CancellationToken originalToken, CancellationToken timeoutToken, Exception inner, TimeSpan timeout)
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RedirectPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)<---

 ---> (Inner Exception #3) System.Threading.Tasks.TaskCanceledException: The operation was cancelled because it exceeded the configured timeout of 0:00:01. Network timeout can be adjusted in ClientOptions.Retry.NetworkTimeout.
 ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, Boolean async)
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   --- End of inner exception stack trace ---
   at Azure.Core.Pipeline.ResponseBodyPolicy.ThrowIfCancellationRequestedOrTimeout(CancellationToken originalToken, CancellationToken timeoutToken, Exception inner, TimeSpan timeout)
   at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RedirectPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)<---

   --- End of inner exception stack trace ---
   at Azure.Identity.ImdsManagedIdentitySource.AuthenticateAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityClient.AuthenticateAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage)
   at Azure.Identity.ManagedIdentityCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.DefaultAzureCredential.GetTokenFromSourcesAsync(TokenCredential[] sources, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)<---

 ---> (Inner Exception #2) Azure.Identity.CredentialUnavailableException: Process "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\Asal\TokenService\Microsoft.Asal.TokenService.exe" has failed with unexpected error: TS003: Error, TS004: Unable to get access token.  'AADSTS50020: User account '{EmailHidden}' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '872cd9fa-d31f-45e0-9eab-6e460a02d1f1'(Visual Studio) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
Trace ID: fe4ffa10-d2aa-4f06-a13f-382d2deb3002
Correlation ID: 83523e02-7be3-41e8-ab73-4dafc271a8dd
Timestamp: 2022-01-11 18:02:56Z'.
 ---> System.InvalidOperationException: TS003: Error, TS004: Unable to get access token.  'AADSTS50020: User account '{EmailHidden}' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '872cd9fa-d31f-45e0-9eab-6e460a02d1f1'(Visual Studio) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
Trace ID: fe4ffa10-d2aa-4f06-a13f-382d2deb3002
Correlation ID: 83523e02-7be3-41e8-ab73-4dafc271a8dd
Timestamp: 2022-01-11 18:02:56Z'
   at Azure.Identity.VisualStudioCredential.RunProcessesAsync(List`1 processStartInfos, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Azure.Identity.VisualStudioCredential.RunProcessesAsync(List`1 processStartInfos, Boolean async, CancellationToken cancellationToken)
   at Azure.Identity.VisualStudioCredential.GetTokenImplAsync(TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)
   at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage)
   at Azure.Identity.VisualStudioCredential.GetTokenImplAsync(TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)
   at Azure.Identity.VisualStudioCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.DefaultAzureCredential.GetTokenFromSourcesAsync(TokenCredential[] sources, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)<---

 ---> (Inner Exception #3) Azure.Identity.CredentialUnavailableException: Stored credentials not found. Need to authenticate user in VSCode Azure Account. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/vscodecredential/troubleshoot
 ---> System.InvalidOperationException: CredRead has failed but error is unknown.
   at Azure.Identity.WindowsNativeMethods.ThrowIfFailed(Boolean isSucceeded, String methodName)
   at Azure.Identity.WindowsNativeMethods.CredRead(String target, CRED_TYPE type)
   at Azure.Identity.WindowsVisualStudioCodeAdapter.GetCredentials(String serviceName, String accountName)
   at Azure.Identity.VisualStudioCodeCredential.GetStoredCredentials(String environmentName)
   --- End of inner exception stack trace ---
   at Azure.Identity.VisualStudioCodeCredential.GetStoredCredentials(String environmentName)
   at Azure.Identity.VisualStudioCodeCredential.GetTokenImplAsync(TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)
   at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage)
   at Azure.Identity.VisualStudioCodeCredential.GetTokenImplAsync(TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)
   at Azure.Identity.VisualStudioCodeCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.DefaultAzureCredential.GetTokenFromSourcesAsync(TokenCredential[] sources, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)<---

 ---> (Inner Exception #4) Azure.Identity.CredentialUnavailableException: Azure CLI not installed
   at Azure.Identity.AzureCliCredential.RequestCliAccessTokenAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
   at Azure.Identity.AzureCliCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage)
   at Azure.Identity.AzureCliCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.AzureCliCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.DefaultAzureCredential.GetTokenFromSourcesAsync(TokenCredential[] sources, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)<---

 ---> (Inner Exception #5) Azure.Identity.CredentialUnavailableException: Az.Account module >= 2.2.0 is not installed.
   at Azure.Identity.AzurePowerShellCredential.CheckForErrors(String output)
   at Azure.Identity.AzurePowerShellCredential.RequestAzurePowerShellAccessTokenAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
   at Azure.Identity.AzurePowerShellCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage)
   at Azure.Identity.AzurePowerShellCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.AzurePowerShellCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.DefaultAzureCredential.GetTokenFromSourcesAsync(TokenCredential[] sources, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)<---

   --- End of inner exception stack trace ---
   at Azure.Identity.DefaultAzureCredential.GetTokenFromSourcesAsync(TokenCredential[] sources, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)
   at Azure.Identity.DefaultAzureCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage)
   at Azure.Identity.DefaultAzureCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.DefaultAzureCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Security.KeyVault.ChallengeBasedAuthenticationPolicy.AuthenticateRequestAsync(HttpMessage message, Boolean async)
   at Azure.Security.KeyVault.ChallengeBasedAuthenticationPolicy.ProcessCoreAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RedirectPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
   at Azure.Core.Pipeline.HttpPipeline.SendRequestAsync(Request request, CancellationToken cancellationToken)
   at Azure.Security.KeyVault.KeyVaultPipeline.SendRequestAsync(Request request, CancellationToken cancellationToken)
   at Azure.Security.KeyVault.KeyVaultPipeline.GetPageAsync[T](Uri firstPageUri, String nextLink, Func`1 itemFactory, String operationName, CancellationToken cancellationToken)
   at Azure.Core.PageResponseEnumerator.FuncAsyncPageable`1.AsPages(String continuationToken, Nullable`1 pageSizeHint)+MoveNext()
   at Azure.Core.PageResponseEnumerator.FuncAsyncPageable`1.AsPages(String continuationToken, Nullable`1 pageSizeHint)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   at Azure.AsyncPageable`1.GetAsyncEnumerator(CancellationToken cancellationToken)+MoveNext()
   at Azure.AsyncPageable`1.GetAsyncEnumerator(CancellationToken cancellationToken)+MoveNext()
   at Azure.AsyncPageable`1.GetAsyncEnumerator(CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   at Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationProvider.LoadAsync()
   at Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationProvider.LoadAsync()
   at Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationProvider.Load()
   at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
   at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
   at Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
   at Microsoft.Extensions.Hosting.HostBuilder.Build()

In particular, I am most interested in this exception:
- Process "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\Asal\TokenService\Microsoft.Asal.TokenService.exe" has failed with unexpected error: TS003: Error, TS004: Unable to get access token.  'AADSTS50020: User account '{EmailHidden}' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '872cd9fa-d31f-45e0-9eab-6e460a02d1f1'(Visual Studio) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

I have the account specified in Tools --> Options --> Azure Service Authentication and I would expect this identity to be identified/selected, but it does not seem to be finding it.
Please do let me know if that gives you a little more context on what I am experiencing and/or if there is further information I can provide to assist. 👍

The error in the exception seems to be explaining what is occurring here. Is the live.com account you are signing in with a member of the tenant containing the resource?
---> System.InvalidOperationException: TS003: Error, TS004: Unable to get access token.  'AADSTS50020: User account '{EmailHidden}' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '872cd9fa-d31f-45e0-9eab-6e460a02d1f1'(Visual Studio) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

It does indeed seem to explain what is wrong @christothes, but what is wrong does not match up with what I am seeing in the tenant.  I could of course be completely misunderstanding something here so your patience is appreciated while we figure this out.
When I look in my Azure Active Directory, I see my account with an Identity Issuer of MicrosoftAccount.  It has an UPN of<EMAIL_ADDRESS>Note that I am using a Microsoft Account that is linked to my external email address (i.e., not a live.com or outlook.com address, but a Microsoft Account nonetheless).
Further, I have been around MSFT tech for so long that when I see live.com I immediately equate it with MicrosoftAccount.  Maybe this is not the case here?  If it is actually using a live.com email address, I am not sure which one it is using, as I have not used a live.com email address on this particular PC.  This is why I assume it means MicrosoftAccount.
FWIW, what would be valuable here is to emit the exact email it is using.  If that is possible, that would be rather valuable to put in the exception message as well.
As I mentioned, I have signed out with all my accounts and have cleared out the identity folder, rebuilding the cache.  I have (to my recollection) not used a live.com email on this particular PC, so it is interesting that it is saying that (if it indeed is using an actual live.com address).
Any further clarification would be greatly appreciated.

Could you validate by signing out and back in of Visual Studio using the steps outlined in this troubleshooting guide?

Thank you for the suggestion, @christothes.  Apologies if  I wasn't clear about this in my previous reply, but I did attempt a sign in/out already, along with clearing out the identity folder/cache and having it rebuild.  I am definitely open to any further suggestions so please let me know what other considerations there are in determining the issue here.

Sorry for that - I thought you were looking to confirm which account was actually being used.
Does this work if you are using an AAD account from the tenant where the resource is located?

No worries @christothes there are clearly a lot of moving pieces here. 😁  When you say AAD account, are you saying a new one created specifically in the Azure Active Directory?  To be sure the account that I am using is an AAD account and exists in my Azure Active Directory, with the UPN described above.  I could possibly try creating a new account and trying that if that is what you mean?

Correct - a native AAD account rather than a guested one.

OK @christothes, thank you for the confirmation.
I created a basic user in my directory and as a result I now have two accounts in the Tools --> Options --> Azure Service Authentication control, and can set identity between the previous MicrosoftAccount and the new directory account.  When using the MicrosoftAccount I get the error as reported here, but when using the new directory account it appears to work as expected, authenticating as Visual Studio.
Well, to be more precise, I am now getting a security error about accessing key vault with the Visual Studio application id (872cd9fa-d31f-45e0-9eab-6e460a02d1f1).  To me, this seems like a step further from where I was before.
So, this seems to work with the native directory account, but not with the MicrosoftAccount.

I wanted to check in on this issue.  Is there any timeline for a fix, by chance?  I am using environmental variables as the workaround for the time being but it would sure be nice to take advantage of the built-in UI and features.
Please do let me know if there is any further information that I can provide to further diagnose.

Hi @Mike-E-angelo - sorry for the delay on this. We're working on finding the correct contact to help troubleshoot this, as it is more of an AAD configuration issue. I should have more information soon.

Hey no worries @christothes, I wanted to make sure this is on the radar and it sounds like it is.  Thank you for the update and your efforts out there. 👍

I looked into this a little - I work on the web service. For this particular request
Trace ID: fe4ffa10-d2aa-4f06-a13f-382d2deb3002
Correlation ID: 83523e02-7be3-41e8-ab73-4dafc271a8dd
Timestamp: 2022-01-11 18:02:56Z
It looks like MSAL is using an authority of https://login.microsoftonline.com/f8cdef31-a31e-4b4a-93e4-5f571e91255a. This is almost certainly NOT the authority MSAL wants to be using, as there are no users in the f8cdef31-a31e-4b4a-93e4-5f571e91255a tenant. I think the next step is to figure out why MSAL is trying to use this authority.

Hi @Mike-E-angelo - Could you try specifying a tenant ID of "common" in the VisualStudioCredentialOptions.TenantId and let us know if that works?

Thank you for the update and suggestion @christothes... To provide a little more clarity here on my side, I never created a VisualStudioCredentialOptions (or VisualStudioCredential for that matter) in my code.  Rather, I am only using the DefaultAzureCredential class, which goes through the list of available options for the provided environment.
Additionally and FWIW, I did try to view the troubleshooting article that was the subject of my post here but it appears to 404 ATM.  Has this been moved/removed?

In that case, you'd want to set:
https://github.com/Azure/azure-sdk-for-net/blob/68e901e4573ccfd07ca41ced6e5c4c3c65ddd5f1/sdk/identity/Azure.Identity/src/DefaultAzureCredentialOptions.cs#L35

OK great, thank you for the update/correction, @christothes as well as your continued collaboration here, it is very much appreciated.
I did try the following with a simple .NET6 console application:
// See https://aka.ms/new-console-template for more information

using Azure.Identity;
using Azure.Security.KeyVault.Secrets;

var credential = new DefaultAzureCredential(new DefaultAzureCredentialOptions() { VisualStudioTenantId = "common" });
var client     = new SecretClient(new Uri("https://<id>.vault.azure.net"), credential);
await client.GetSecretAsync("key").ConfigureAwait(false);

But unfortunately, I get an error:
Azure.Identity.CredentialUnavailableException: 'DefaultAzureCredential failed to retrieve a token from the included credentials. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/defaultazurecredential/troubleshoot
- EnvironmentCredential authentication unavailable. Environment variables are not fully configured. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/environmentcredential/troubleshoot
- ManagedIdentityCredential authentication unavailable. Multiple attempts failed to obtain a token from the managed identity endpoint.
- Process "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\Asal\TokenService\Microsoft.Asal.TokenService.exe" has failed with unexpected error: TS003: Error, TS009: tenant parameter must be a GUID.
- Stored credentials not found. Need to authenticate user in VSCode Azure Account. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/vscodecredential/troubleshoot
- Azure CLI not installed
- Az.Account module >= 2.2.0 is not installed.'
``

According to the message, it appears the `TenantId` is expected to be a GUID.  Please do let me know if there is any further configuration to attempt and I will assist you.

Hello, I wanted to check in with this issue.  Any update would be greatly appreciated.

Hi @Mike-E-angelo - I apologize for the slow response on this. Could you please try specifying the tenant ID of the tenant where the account is a guest?

Hi @christothes thank you for your reply. I can confirm that if I hardcode the tenant id I am able to acquire a token.  This is the expected behavior from doing direct configuration if I understand correctly.

Yes, the issue in this case is that the tenant cannot be predicted in a scenario where the user is not from the tenant being targeted. In some instances, such as with Key Vault, the Oauth challenge contains the correct tenant information, which can be used to retry with the correct tenant. However, outside of this, the tenant must be configured with the tenant Id is not known.

Thank you for that update @christothes. I guess I am confused on how the tenant is not being established by the Visual Studio options.  Seems like tenant information is everywhere when Azure is accessed from Visual Studio.
As a quick example, we can see Visual Studio correctly knows my subscriptions here:

So I am having trouble understanding why it is not able to determine the tenant from that information.

I believe the issue is that the home tenant for the MSA is incorrect for the resource in question. Since this account can be guested into any number of additional tenants, the Visual Studio account picker doesn't know which one to select and so it defaults to the home tenant.

@Mike-E-angelo - I think we better understand the scenario now, but we were not able to follow up in time. Is it possible to get a new correlation ID / timestamp, as the old ones expired ( think they stay in our DB for a number of days)?
The f8cdef31-a31e-4b4a-93e4-5f571e91255a tenant is the tid claim with which AAD replies. You can see it in the Id Token or in the AT token. Logically speaking, the user should continue to exist there.

Thank you very much for looking into this @bgavrilMS.
I tried again and have this for you:
Trace ID: 250df731-84f5-44c6-8bfe-5d009c89ef02
Correlation ID: e59d7a1c-e5e8-4798-ba8c-bafce33657ce
Timestamp: 2022-03-28 15:51:28Z

Please do let me know if any further information is needed and I will do my best to assist you.

I believe the issue is that the home tenant for the MSA is incorrect for the resource in question. Since this account can be guested into any number of additional tenants, the Visual Studio account picker doesn't know which one to select and so it defaults to the home tenant.

This ^^ seems to be the root cause.
The error message associated is The user came from the '******' federated domain, and their identity provider identifier is 'uri:WindowsLiveID'. A user was sent to a tenanted endpoint, and signed into an AAD account that doesn't exist in your tenant. If this user should be a member of the tenant, they should be invited via the B2B system.

Thank you for investigating this and confirming @bgavrilMS.  It is appreciated.
Can you further confirm that it would be possible to first look into associated non-live.com tenants of the user and if one and only one exists, to attempt that one first before attempting the live.com tenant?
I guess it is also possible to add an additional selector in the Azure Service Authentication options screen but my preference is to get this fixed/addressed in the fastest way possible with the least amount of work/risk. :)

Hello, I wanted to check in on this issue.  Might it be possible to pull in the tenant id as a hint from environmental configuration?  That is, the AZURE_TENANT_ID environmental/configuration variable?  Right now, I am having to use this along with AZURE_CLIENT_ID and AZURE_CLIENT_SECRET to get a proper Azure credential token.  If this feature used the AZURE_TENANT_ID as a hint then I could remove the other two, which would be an improvement.
Thank you for any consideration.

Hello I wanted to check in on this issue.  Any update that you can provide @bgavrilMS / @christothes ?

Hi @Mike-E-angelo Sorry for the delay - To your question about AZURE_TENANT_ID - if you are using DefaultAzureCredential, we should be pulling the TenantId from the environment as a default. Are you not seeing that behavior in your environment?
https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/src/Credentials/DefaultAzureCredentialOptions.cs#L36

OK! Pardon the confusion here @christothes I did try that earlier but apparently, I was running into some sort of state problem and/or needed to restart Visual Studio.  I can now confirm that setting the AZURE_TENANT_ID along with setting the live.com account in Azure Service Authentication does in fact work as expected!  All things considered, this is an acceptable workaround for me until further work is done on your end to formally select this property via the Azure Service Authentication interface.
My only remaining suggestion would be to consider updating the documentation to reflect this as a known issue along with this suggested workaround.  Beyond that, as far as I am concerned, I am satisfied with this approach and will now take this issue off my nag list. 😇
Thank you very much for your patience and efforts out there. 🙏👍


Remove sleep on Nitro enclave startup

Requested feature
Currently, when veracruz-server starts a Nitro enclave, it performs a 2 second sleep while it waits for the enclave to boot. This is kludgy and prone to spurious errors.
We should remove that sleep and replace it with a more deterministic solution.
Motivation
Current solution is a kludge and is prone to spurious errors
Additional context
One proposal is to replace the sleep with a listener on a socket. When the enclave completes its boot, it should connect to that socket port, indicating to the server that it has completed start up and is ready to accept commands.
This listener should have a timeout on it, so that in the event the enclave process fails to start, we get a definitive error instead of hanging.

Closing this because of #485.


Hiring: Setup of platform and Dividends Token&Referral Implimentation

I am looking for a developer for this platform, who is able to setup in cloud security (complete setup - hot wallet/cold wallet procedures - bank account API/fintech, etc.)
I did try to contact the peatio team, but they did not seem interested in any custom development.
The following has to be implemented:
Setup platform securily (all above)
Trading Fees Dividends of a Custom ERC20 token on the system (75% trading fees distributed to holders according to their holders)
Referral Program 10% of users trading fees are to be taken from the 25% earned to the platform, so when a referred member fee is distributed; 75% to custom ERC20 token Holders, 15%(referred)/25%(not referred) to platform and 10% for the user who referred.
Basic Notes:

Dividends and referral is to be distributed daily
Referral Program the percent (10%) is to be taken from the 25% earned to the platform, so when a referred member fee is distributed; 75% to custom ERC20 token Holders, 15/25% to platform, 10% for the user who referred, if referred)
System feature to payout referral once daily (time to be set in administration panel) - payout in all the different traded coins respectively to them
The percentages should be able to be changed in the administration panel.
Generally all settings implimented should be able to be changed in the administration panel.
Able to freeze withdrawl on Custom ERC20 token via. admin panel.

Initial Trading pairs(before exchange launch):
-Custom ERC20 token/USD - enabled
-Custom ERC20 token/ETH - enabled
-Custom ERC20 token/BTC - enabled
-BTC/USD - disabled
-ETH/USD - disabled
-ETH/BTC - disabled
I will be able to go into detail if somebody here is interested with the experience, most likely somebody has already implemented these features for a previous client.
Please leave an estimated price for the project.

Hi, @CryptoTT.
You may contact<EMAIL_ADDRESS>to get professional help of https://www.peatio.tech platform installation.

Hi, @CryptoTT.
You may contact<EMAIL_ADDRESS>to get professional help of www.peatio.tech platform installation.

Hi, @CryptoTT.
You may contact<EMAIL_ADDRESS>to get professional help of www.peatio.tech platform installation.

I did try and talk to peatio.tech, but it seemed they were not interested in any custom development, as they had bigger customers - thats why I went here.
As for why I asked for security experience is because I have only developed myself in .net and windows - so I would like somebody with experience, as installing myself is possible, I would want to know that it is secure.

@CryptoTT Hi, I think this is not right place for things of this kind. You would better contact peatio.tech.


add manager api and remove API_PERFIX to config

Current coverage is 45.31% (diff: 0.00%)

Merging #259 into master will increase coverage by 2.21%

@@             master       #259   diff @@
==========================================
  Files            11         11
  Lines          8995       9041    +46
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3877       4097   +220
+ Misses         4090       3891   -199
- Partials       1028       1053    +25

Powered by Codecov. Last update e37b8e2...ffad593


Add PHPUnit Path Coverage config as comments

pathCoverage was enabled in 1.1.11. See #69
But for some reason it's gone in 1.1.12.
It seems only Xdebug supports this feature. So I put the config as comments.
https://github.com/koriym/Koriym.PhpSkeleton/discussions/74#discussioncomment-1006798

So I put this on hold until all drivers support it.

Not sure when or possible or not.
Maybe only "add /.phpunit.cache/" commit?

How about this?
This is the best for me now.

No, there is no need for explanatory text in the config, your are repeating the instructions in phpunit?

I've read a few comparison articles and I haven't found any consensus that path coverage is always better than statement (line) coverage.
I' m closing this issue.

@koriym I didn't explain my opinition clearly.
My opinion is that line coverage is not enough. It is because the boundary value test is not enough.
And we should use branch coverage by default.

@koriym Do you object to adding a config different from the default as a comment?

My opinion is that line coverage is not enough.

Disagreed. There are many opinions on this, and it seems to vary from person to person and from project to project as to whether it is "enough".

@koriym I got your opinion. And I got another idea.
I'll send next PR.


Deprecation warnings running powershell_script

c:/opscode/chef/embedded/lib/ruby/gems/2.7.0/gems/chef-16.0.287-universal-mingw32/lib/chef/provider/powershell_script.rb:97:in `block (2 levels) in validate_script_syntax!': warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call (StructuredWarnings::BuiltInWarning)

Fixed in #9850


OpenJson - Valid Batching Open

Would the use of OpenJson be a valid option here too? Where we convert our objects to a JSON string, then send that JSON string to a stored procedure where we use OpenJson to extract the data out. And also wonder if OpenJson makes since in a relational DB like SQL or is it better suited for NoSQL? Does it make sense to convert c# objects to JSON, then convert it back to its relational form to insert as rows/columns using OpenJson?
https://learn.microsoft.com/en-us/sql/t-sql/functions/openjson-transact-sql?view=sql-server-ver16

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 13e567cf-316e-e988-1708-b38e411f4e55
Version Independent ID: a4bfe7a9-eddb-9bd1-d117-0dea47f66f09
Content: How to use batching to improve application performance - Azure SQL
Content Source: azure-sql/performance-improve-use-batching.md
Service: sql-database
Sub-service: performance
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

@bsulliva Thank you for reaching out. We will check and get back shortly.

@bsulliva I see where you're going, but this is a complicated question and beyond the scope of the GitHub Issues for Docs. This may not be the best forum to trial these type of ideas. I recommend Microsoft Q & A (Azure SQL), SQL Server Feedback, Microsoft Support, or your support partners.
#please-close


Advertise new version through NumFocus

Problem

NumFocus is publishing a blog post (and a newsletter) with software updates; see for example the February 2024 post
It would be interesting to be part of those updates - may be it should be an action for the Jupyter Community group to proxy all Jupyter sub-project updates to a single update to NumFOCUS.
Proposed Solution

I contact NumFOCUS to learn the process for submitting such updates

I contact NumFocus but did not get an answer. I sent a email today specifically to the newsletter author. Hopefully I'll get an answer.

Looks like we can now close this issue as a follow-up to the move to the Linux foundation?


Replace ternaries with if / else if / else

It's easier to read and maintain with normal if / else if / else =)

I'm going to leave it as the ternary for now, I don't think that change will give a significant amount of benefit from a readability perspective given how small the whole function is.


Users/nigurr/port xplat agent from master

Porting changes from master to Releases/0.5

Hi @nigurr, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Nitin Gurram). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

approved for test publish changes. get approved from respective owners for other changes.

We shouldn't take this.  I will create releases/0.6 based off of master today


Deep Learning Models

Implement deep learning classifiers and regressors using the scikit-learn wrapper to Keras.
https://keras.io/scikit-learn-api/

Implemented in https://github.com/ScottFreeLLC/AlphaPy/releases/tag/2.3.1


Create group of docker containers

Is it possible to create a group containing two application of type docker?
I would like to have a simple group containing a web server and a database.
I have tried to create a json file but I got the following error:
{"message":"Object is not valid","details":[{"attribute":"value","error":"AppDefinition must either contain one of 'cmd' or 'args', and/or a 'container'."}]}
the json configuration I have used is the following:
{   "id": "/product",   "groups": [     {       "id": "/product/database",       "apps": [          {          "id": "/product/redis",          "container":          {            "type": "DOCKER",            "volumes": [],            "docker": {              "image": "redis",              "network": "BRIDGE",              "portMappings": [                {                  "containerPort": 80,                  "hostPort": 0,                  "protocol": "tcp"                }              ],              "privileged": false,              "forcePullImage": false            }        },        "instances": 1,        "cpus": 0.1,        "mem": 64         }       ]     },{       "id": "/product/service",       "dependencies": ["/product/database"],       "apps": [          {          "id": "/product/php",          "container": {            "type": "DOCKER",            "volumes": [],            "docker": {              "image": "php",              "network": "BRIDGE",              "portMappings": [                {                  "containerPort": 80,                  "hostPort": 0,                  "protocol": "tcp"                }              ],              "privileged": false,              "forcePullImage": true            }        },        "instances": 1,        "cpus": 0.1,        "mem": 64         }       ]     }   ] }
Marathon 0.15.3
Mesos 0.27.2

Hi @Gidipp ,
I do think that you posted your configuration against the /apps endpoint, which will not work with a group structure, instead you might want to POST the configuration to the /groups endpoint. In that case your configuration will work and produce the following structure
/product
  - /database/
  - /service/
  - /redis
  - /php

If you want the following structure:
/product
  - /database/
      - /redis
  - /service/
      - /php

You have to change the JSON to this structure:
{
  "id": "/product",
  "groups": [
    {
      "id": "/product/database",
      "apps": [
        {
          "id": "/product/database/redis",
          "container": {
            "type": "DOCKER",
            "volumes": [],
            "docker": {
              "image": "redis",
              "network": "BRIDGE",
              "portMappings": [
                {
                  "containerPort": 80,
                  "hostPort": 0,
                  "protocol": "tcp"
                }
              ],
              "privileged": false,
              "forcePullImage": false
            }
          },
          "instances": 1,
          "cpus": 0.1,
          "mem": 64
        }
      ]
    },
    {
      "id": "/product/service",
      "dependencies": [
        "/product/database"
      ],
      "apps": [
        {
          "id": "/product/service/php",
          "container": {
            "type": "DOCKER",
            "volumes": [],
            "docker": {
              "image": "php",
              "network": "BRIDGE",
              "portMappings": [
                {
                  "containerPort": 80,
                  "hostPort": 0,
                  "protocol": "tcp"
                }
              ],
              "privileged": false,
              "forcePullImage": true
            }
          },
          "instances": 1,
          "cpus": 0.1,
          "mem": 64
        }
      ]
    }
  ]
}

Please let me know if that fixes your issue.

Thank you very match for your help.
I have changed the API endpoint to /groups and effectively it works fine.
However I don't understand what would be the best way to access the database from the application.
I can't use an HTTP proxy since the connection is pure TCP and I won't like to use the HOST network because I would lose the possibility to run multiple Redis container in the same host.
Ideally I would like to have two variables ( e.g. REDIS_HOST and REDIS_PORT) in the application that are updated when the redis container is started (and every time is restarted).
Is it something somehow possible?
Thanks

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2244. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Added some more C# tests (mainly for the PSI)

This change is

Whoops. I guess I got distracted and pushed some failing tests.


Update the plugin description in test central repo

What this PR does / why we need it
Which issue(s) this PR fixes

Fixes #
Describe testing done for PR

Release note

Additional information
Special notes for your reviewer

@chandrareddyp After merging #461, this PR will need to be rebased AND the test central repo will need to be regenerated.
Thanks!


Alpine Linux 3.5

MAINTAINER is deprecated
Alpine Linux 3.5

Switch from OpenSSL to LibreSSL

Thanks for your contribution, but Alpine Linux is not a supported platform due to:

Musl is not compatible with Jemalloc (memory allocator)
Musl have issues when loading shared libraries created with Golang


Block select (Alt-mouse-drag) causes AV

When trying to select a block with Alt-mouse-drag causes the application to fall over on Windows 8.

Hi -
I have experienced this bug for many versions of Notepad2-mod now... but it seems to only affect the x64 build.
Attached: test.zip containing the file test.vbs that I can reliably use to reproduce the problem.
Version used: Notepad2-mod (64 bit) 4.2.25 r972 (68b1190)
Platform: Windows 7 Professional, 64-bit
Steps to reproduce:

Open the attached file
Scroll so lines 31-37 are visible
While holding down alt, click and hold on line 32 between characters  3 & 4 (the start of the word "IsMember") and move the mouse pointer in circles around the starting point

Result:

Doing this, I can get Notepad2-mod to crash 75-90% of the time. Not always. It appears if I keep retrying, the crash becomes less likely to occur. It becomes more likely after restarting.
Note that I can get it to crash while trying to alt-select other parts of the file. (I first thought the code folding feature might be responsible, but it can crash when selecting text that is not considered foldable.)
I have tried the same using a vanilla notepad2.ini file but can still reproduce the crash.
I have tried the same using Notepad2-mod (x86) 4.2.25 r972 (68b1190) and do not experience the crash.
I have tried the same using Notepad2 4.2.25 (x64) from flos-freeware.ch and do not experience the crash.
I may be wrong, but it sounds to me like the bug is coming from one of three sources:

the Notepad2-mod code
the 64-bit compile process
a version of Scintilla in Notepad2-mod that is not in Notepad2

I am continuing to test to see if I can further narrow down the problem.

Hi!
I think this could be the bug in Scintilla I traced back some time ago
in 2013.
I never could do a bug fix, nor did I forward my report, shame on me.
Well, if I remember well, the problem is, that all procedures are
message based and therefore not real time procedures.
So, when you are selecting some text, the code sequence has somthing
like this in it:

sendmessage(get_selection_length)
allocate new textbuffer in size of selection_length
sendmessage(copy get_selected_text to textbuffer)
(sorry for that extreme pseudo code)

Back to the Bug. It is much easier to provoke than you think.
For instance, let's talk about Line 31:
If IsMember("Group B") = True Or _
Just select "IsMembe" (without the "r").
Now with one swift and fast move select the remaining line.
It is important, that you stay in one single Line.
The Editor should now crash.
This is what happens.
While you select more characters, the intermediate answer of
get_selection_length is for instance 8 ("IsMember"). Scintilla allocates
a buffer for 8 characters.
But when it comes to "copy get_selected_text to textbuffer" your
selection is 31 ("IsMember("Group B") = True Or _"). This leads to a
clear buffer overflow.
Sometimes notepad dodges it, sometime it crashes...
If I should find the right code area, I will hopefully provide more
detailed information...
Regards
Am 05.04.2016 um 06:12 schrieb craigo-:

Hi -
I have experienced this bug for many versions of Notepad2-mod now...
but it seems to only affect the x64 build.
Attached: test.zip
https://github.com/XhmikosR/notepad2-mod/files/203788/test.zip
containing the file test.vbs that I can reliably use to reproduce the
problem.
Version used: Notepad2-mod (64 bit) 4.2.25 r972 (68b1190
https://github.com/XhmikosR/notepad2-mod/commit/68b11903fc662cd538ed2324585e50c508cd4014)
Platform: Windows 7 Professional, 64-bit
Steps to reproduce:

Open the attached file
Scroll so lines 31-37 are visible
While holding down alt, click and hold on line 32 between
characters 3 & 4 (the start of the word "IsMember") and move the
mouse pointer in circles around the starting point

Result:
capture
https://cloud.githubusercontent.com/assets/4467963/14270681/93862116-fb44-11e5-901a-9b702ad3c435.PNG
Doing this, I can get Notepad2-mod to crash 75-90% of the time. Not
always. It appears if I keep retrying, the crash becomes less likely
to occur. It becomes more likely after restarting.
Note that I can get it to crash while trying to alt-select other parts
of the file. (I first thought the code folding feature might be
responsible, but it can crash when selecting text that is not
considered foldable.)
I have tried the same using a vanilla notepad2.ini file but can still
reproduce the crash.
I have tried the same using Notepad2-mod (x86) 4.2.25 r972 (68b1190
https://github.com/XhmikosR/notepad2-mod/commit/68b11903fc662cd538ed2324585e50c508cd4014)
and do not experience the crash.
I have tried the same using Notepad2 4.2.25 (x64) from
flos-freeware.ch and do not experience the crash.
I may be wrong, but it sounds to me like the bug is coming from one of
three sources:

the Notepad2-mod code
the 64-bit compile process
a version of Scintilla in Notepad2-mod that is not in Notepad2

I am continuing to test to see if I can further narrow down the problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/XhmikosR/notepad2-mod/issues/37#issuecomment-205634705

Now I think harder about it, I had a bugfix concept.
I did forward the previous get_selection_length as "max_length" via the wParam for the get_selected_text message. That worked good, but still, I didn't send a DIFF or pull request...
I think there was an issue for using the wParam.
I really have to dig my working environment and find my patch...

This sounds rather promising, @oezgueremir. If we could work around the problem within notepad2-mod's code, then that sounds good... But wondering where the actual problem is originating. Should we be reporting this upstream to the Scintilla devs? Do you think this is something they could/should address?
In your experience, have you ever seen this bug using notepad2-mod x86?

I can confirm that this problem still exists when using notepad2-mod <IP_ADDRESS>0 (x64 build) on Windows 7 Pro x64.

Reproducing this issue with attached debugger throws an exception:
"Run-Time Check Failure #1 - A cast to a smaller data type has caused a
loss of data.
If this was intentional, you should mask the source of the cast with the
appropriate bitmask.
For example:
char c = (i & 0xFF);
Changing the code in this way will not affect the quality of the resulting
optimized code."
in Scintilla's PlatWin.cxx method SurfaceGDI::AlphaRectangle() calling
dwordFromBGRA()
A workaround this would be compiling release version without run-time check
for typecast to smaller type (/RTCc).
Other Solution - Fixing it in the methode above (PlatWin.cxx method
SurfaceGDI::AlphaRectangle()):
Maybe:
...
DWORD valFill = dwordFromBGRA(
LOBYTE(fill.GetBlue() * alphaFill / 255),
LOBYTE(fill.GetGreen() * alphaFill / 255),
LOBYTE(fill.GetRed() * alphaFill / 255),
LOBYTE(alphaFill));
  DWORD valOutline = dwordFromBGRA(
    LOBYTE(outline.GetBlue() * alphaFill / 255),
    LOBYTE(outline.GetGreen() * alphaFill / 255),
    LOBYTE(outline.GetRed() * alphaFill / 255),
    LOBYTE(alphaOutline));

...
(Rem.: LOBYTE macro from <minwindef.h>  #define LOBYTE(w) ((BYTE)(((
DWORD_PTR)(w)) & 0xff))
2016-06-07 3:11 GMT+02:00 craigo-<EMAIL_ADDRESS>
I can confirm that this problem still exists when using notepad2-mod
<IP_ADDRESS>0 (x64 build) on Windows 7 Pro x64.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/XhmikosR/notepad2-mod/issues/37#issuecomment-224134664,
or mute the thread
https://github.com/notifications/unsubscribe/AIZfznd4yoEpmgZ7f587tVW43z49bMh9ks5qJMVCgaJpZM4AjdPu
.

Or, you could let the Scintilla developer know about the issue. Just saying.

Ok, Scintilla Bug-Tracker #1838.
2016-06-07 10:44 GMT+02:00 XhmikosR<EMAIL_ADDRESS>
Or, you could let the Scintilla developer know about the issue. Just
saying.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/XhmikosR/notepad2-mod/issues/37#issuecomment-224217440,
or mute the thread
https://github.com/notifications/unsubscribe/AIZfzkmd2w13RrYP6D6yTG09rD-oBxZPks5qJS9agaJpZM4AjdPu
.

@RaPeHoff: thanks, I will follow that ticket.

Just bringing to your attention that the abovementioned Scintilla bug report has been closed as "wontfix". there is a bit of dialogue as to why...
https://sourceforge.net/p/scintilla/bugs/1838/

... Yes, this issue is not the reason for the "crash" which was reported
before.
Except, if you compile the application with option /RTCc (run-time checks
for casts) - if you don't use this option, you will have no problem here
(even if this piece of code violates some basic programming guidelines).
The reported problem seems to be related to a buffer-overflow, caused by a
trailing '\0' in a text-buffer which is too small for this.
Unfortunately I have no time at the moment to debug into this ...
Regards,
Rainer
2016-09-06 4:11 GMT+02:00 craigo-<EMAIL_ADDRESS>
Just bringing to your attention that the abovementioned Scintilla bug
report has been closed as "wontfix". there is a bit of dialogue as to why...
https://sourceforge.net/p/scintilla/bugs/1838/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/XhmikosR/notepad2-mod/issues/37#issuecomment-244833860,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIZfzjxMat1xd5RJGhVTF5-EFVzlOJmVks5qnMvMgaJpZM4AjdPu
.

The buffer overflow is in Scintilla or in our code?

confirmed. notepad2-mod x64 4.2.25 r985 (and early versions), windows 7.
after block select (alt+shift or alt+click) notepad crash, sometimes immediately, sometimes before exit.
original notepad2 never crashed.
this bug very old and therefore i never use notepad2-mod.

The related answer from Neil Hodgson:
" ...
The original notepad2 crash is more likely to be that the call made to
Scintilla to get the selection (possibly SCI_GETSELTEXT) adds a NUL (0)
byte to the end of the buffer so it requires 1 more byte than the selection
length.
..."
implies, that it must be the code which uses the Scintilla library, so it
is the notepad2 code.
Regards,
Rainer
2016-09-06 10:42 GMT+02:00 XhmikosR<EMAIL_ADDRESS>
The buffer overflow is in Scintilla or in our code?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/XhmikosR/notepad2-mod/issues/37#issuecomment-244887153,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIZfzlMs4_M7o4lFTKyVI31GGUkTSx9Xks5qnSeCgaJpZM4AjdPu
.

I do see numerous related issues in Coverity but I don't have time to try and fix them.
If anyone wants request access to Coverity and submit a PR to fix them.

Hi, @XhmikosR -
I have tested rizonesoft/Notepad3 (build 392) on Windows 7 x64, and this issue appears to be fixed in that codebase. Is that enough evidence for you to incorporate the same fix into this project?

If you make a PR with that fix only and a link to the upstream patch, I could have a look.

I'd love to, but try as I may, I'm not yet proficient enough in C, Git or GitHub to assist. I'm sure one of you lot out there is.

the PR (#178) exists already since Nov 17, 2016
https://github.com/XhmikosR/notepad2-mod/pull/178#issue-189981703
2017-01-26 23:27 GMT+01:00 craigo-<EMAIL_ADDRESS>
I'd love to, but try as I may, I'm not yet proficient enough in C, Git or
GitHub to assist. I'm sure one of you lot out there is.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/XhmikosR/notepad2-mod/issues/37#issuecomment-275533861,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIZfzgImOU1bAfVePpG7M9RosNU3kJypks5rWR29gaJpZM4AjdPu
.

@RaPeHoff: yes but I don't see any info that this is the same patch as there. And if so, who's the author, attribution etc.

the author is me (in both cases: PR #178 and Notepad3 fix), the difference
is: Notepad3 has interwined more fixes and features
and i had no time to learn Git deeply enough to supply attribution or
branch linkages between different forks (notepad2-mod, Notepad3).
2017-01-27 8:59 GMT+01:00 XhmikosR<EMAIL_ADDRESS>
@RaPeHoff https://github.com/RaPeHoff: yes but I don't see any info
that this is the same patch as there. And if so, who's the author,
attribution etc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/XhmikosR/notepad2-mod/issues/37#issuecomment-275609020,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIZfzoWUCGg6JjD6r7DIX7P20gpdFRz0ks5rWaPpgaJpZM4AjdPu
.

I don't follow other forks hence my question.
Is the patch the exact same one?

... i checked again - yes, PR #178 is exactly the patch, which has been
applied to Notepad3 regarding this issue (notepad2-mod #37).
2017-01-27 9:32 GMT+01:00 XhmikosR<EMAIL_ADDRESS>
I don't follow other forks hence my question.
Is the patch the exact same one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/XhmikosR/notepad2-mod/issues/37#issuecomment-275613746,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIZfztF8XuczVysb8Xj3qW3YItwDOsfOks5rWaumgaJpZM4AjdPu
.

only need to change two line in EditMarkAll()

To whoever has this crash, can you try the patch from #182?

I don't currently have a dev setup. I can test binaries...

Hi @craigo- can you try the build from https://github.com/zufuliu/notepad2/releases?

@zufuliu It is merged.

@zufuliu, I can test... Within the next 48 hours.

https://github.com/XhmikosR/notepad2-mod/issues/199

@zufuliu, I have just tested your x64 build v2.4.5b1028 (internally listed as version 4.2.25 r1028) from github.com/zufuliu/notepad2/releases... It does not exhibit this problem.
At the same time, I tested the latest x64 build (<IP_ADDRESS>5) from @XhmikosR, and it does still crash as previously described. Looking forward to a new binary release :)

@craigo- PR #182 is just merged, it will available in a later release.

I'll release a new stable soon. I need to find time to make the changes for VS2017.


Add 3D-GAN PyTorch implementation.

[x] README.md
[x]  Different files according to format, with command-line arguments as well.

Som Tambe

Also remove .DS_Store file in your commit

I have done the said changes, please review them and let me know of any problem :)

Done final changes. Please review.


grommet.github.io with https issues

There are several issues with grommet.github.io over https.  These appear in the console when the CodePen is loaded.  This also prevents the CodePen from rendering.

Updated references in CodePen to use raw get for CSS and JS:
. https://rawgit.com/grommet/grommet/stable/grommet.min.css
. https://rawgit.com/grommet/grommet/stable/grommet.min.js
And updated reference to google font to use https.


Expose option to skip beautification

I would like to be able to bypass the beautification process. I can see there's an existing variable that can be used, but it's hard-coded.
I would like this exposed as one of the beautification options.
I'll go ahead and submit a PR, unless I'm missing something.

#11 is what i was looking for. Merging would be very appreciated.

Closed via https://github.com/rejas/gulp-json-editor/pull/11


Update presubmit.yml for bzlmod

Feedback from: https://github.com/bazelbuild/bazel-central-registry/pull/1052

This looks okay assuming that building everything doesn't require dev dependencies: They will not be available in the BCR test setup which works by creating a synthetic empty module depending on your root module - your module won't be the root module.

Makes sense, so i'll make this more strict to just build //rules since some other things require dev dependencies.

Noticing some more changes I need to make to MODULE.bazel, testing with path override. Will update this PR.

Had to make two changes:

Mark bazel_skylib as a non-dev dependency, this is loaded by our rules so it cant be development only.
Move the buildifier target from //:BUILD.bazel to //tools:BUILD.bazel, this allows us to move the load out of the rules path and allows us to keep buildifier as a dev depenedency

I added an alias so you can still do bazel run //:buildifier

With these changes, I get a green build depending on rules_ios from another bzlmod module:
bazel build @rules_ios//rules/...

INFO: Analyzed 67 targets (134 packages loaded, 17858 targets configured).
INFO: Found 67 targets...
INFO: From Linking external/rules_ios~override/rules/hmap/hmaptest:
ld: warning: ignoring duplicate libraries: '-lc++'
INFO: From Linking external/rules_ios~override/rules/hmap/hmaptool:
ld: warning: ignoring duplicate libraries: '-lc++'
INFO: From Linking external/rules_ios~override/rules/hmap/hmapdump:
ld: warning: ignoring duplicate libraries: '-lc++'
INFO: Elapsed time: 28.322s, Critical Path: 7.12s
INFO: 442 processes: 257 internal, 142 darwin-sandbox, 43 local.
INFO: Build completed successfully, 442 total actions


refactor(s2s): update handlers

What:

Why: テストが読みづらいため、ファイルを分割。

How:

Checklist:

[ ] Documentation
[x] Tests
[ ] Ready to be merged
[x] Added myself to contributors table

Coverage remained the same at 100.0% when pulling 2e3309738f926c2945c7460d31d0fce2296f6d8b on pr-split-handler into ae3c150ae91b028f7178cc8b497b15d080c2b7f9 on master.


Update CurlFactory::finishError() in order to use curl_strerror() if curl_error() returns 0 on failure

Under certain conditions that I'm trying to debug, I get incomplete error messages.
The missing part is which curl_error() should return, by instance "Could not resolve host: nonexistent-host".
Expected:

cURL error 6: Could not resolve host: nonexistent-host (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

Actual:

cURL error 6:  (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

CurlFactory::finishError() is where I've narrowed the issue, but I'm still not able to tell how this scenario occurs:
https://github.com/guzzle/guzzle/blob/bf595424e4d442a190582e088985dc835a789071/src/Handler/CurlFactory.php#L142
I have noticed this issue after upgrading from PHP 7.2.0 to 7.3.4, with the exact same library version:
composer show guzzlehttp/guzzle
name     : guzzlehttp/guzzle
descrip. : Guzzle is a PHP HTTP client library
keywords : client, curl, framework, http, http client, rest, web service
versions : * 6.3.3
type     : library
license  : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
source   : [git] https://github.com/guzzle/guzzle.git 407b0cb880ace85c9b63c5f9551db498cb2d50ba
dist     : [zip] https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba 407b0cb880ace85c9b63c5f9551db498cb2d50ba
path     : /var/www/html/mynubity/vendor/guzzlehttp/guzzle
names    : guzzlehttp/guzzle

autoload
files
psr-4
GuzzleHttp\ => src/

requires
guzzlehttp/promises ^1.0
guzzlehttp/psr7 ^1.4
php >=5.5

requires (dev)
ext-curl *
phpunit/phpunit ^4.8.35 || ^5.7 || ^6.4 || ^7.0
psr/log ^1.0

suggests
psr/log Required for using the Log middleware

I suspect that the problem is originated by CurlMultiHandler under certain condition, so I must keep testing.

Finally, I think I found the origin of the issue at curl_multi_info_read(): https://bugs.php.net/bug.php?id=77946. I've added CurlMultiHandlerTest::testCurlErrorMessage() in order to cover this case.

Thank you for the PR. It seams you were correct with your analysis that this was a bug with PHP.
The PHP core team has patched the issue now.
I dont see a reason to change this library atm. Im leaving this open for an other maintainer to close or to decide to merge it.

I dont see a reason to change this library atm.

Thank you for your feedback.
IMO, the only valid reason to merge this PR is to cover the case for environments where a buggy PHP version is available.


Issue with third-party keyboards initial popup height in WebView on iOS 17.x

Steps to reproduce

Integrate either webview_flutter or flutter_inappwebview in a Flutter application.
Ensure the application is running on iOS 17.4.1 or 17.3.1.
Access an HTML5 page within the WebView to trigger the keyboard.
Repeatedly close and open the keyboard on the same HTML5 page.
Observe the initial and subsequent popup heights of the keyboard.

Expected results
The keyboard should pop up at a consistent height close to the bottom of the screen, similar to the behavior observed with native keyboards.
Actual results
The keyboard pops up at a varying height far from the bottom, and the position continues to rise with each popup before correcting after a delay.
Using third-party keyboards (Sogou, Baidu) within WebView widgets (webview_flutter or flutter_inappwebview) on iOS 17.4.1 and 17.3.1 results in the keyboard initially popping up far from the bottom of the screen. Each subsequent popup starts higher than the last, and the position only corrects itself after a delay. Native keyboards do not exhibit this behavior, and the issue does not appear in iOS versions 15.8 or 16.2.
WebView Versions: webview_flutter v4.7, flutter_inappwebview v6
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'webview',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final webviewcontroller = WebViewController()
    ..setJavaScriptMode(JavaScriptMode.unrestricted)
    ..setBackgroundColor(const Color(0x00000000))
    ..setNavigationDelegate(
      NavigationDelegate(
        onNavigationRequest: (NavigationRequest request) {
          return NavigationDecision.navigate;
        },
      ),
    )
    ..loadRequest(Uri.parse('https://www.baidu.com/'));

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Flutter Simple Example')),
      resizeToAvoidBottomInset: true, // 解决键盘顶起页面
      body: WebViewWidget(controller: webviewcontroller),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

https://github.com/flutter/flutter/assets/17829789/76514a16-ba8c-4b60-bb2c-211d1e182820
Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.2 23C64 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.19.6 on channel stable at /Users/debugger/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (5 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/debugger/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.88.0

[✓] Connected device (4 available)
    • iPhone4 (mobile) • 00008110-000A6C442EE8401E • ios            • iOS 16.2 20C65
    • Lz (mobile)      • 00008130-000804500A50001C • ios            • iOS 17.3.1 21D61
    • macOS (desktop)  • macos                     • darwin-arm64   • macOS 14.2 23C64 darwin-arm64
    • Chrome (web)     • chrome                    • web-javascript • Google Chrome 124.0.6367.60
    ! Error: Browsing on the local area network for iPhone14. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[!] Network resources
    ✗ A network error occurred while checking "https://maven.google.com/": Operation timed out

! Doctor found issues in 1 category.

I see there's an open issue addressing the case you described https://github.com/flutter/flutter/issues/139127. Closing this issue as a duplicate, so please follow up on it for further updates. Thank you!


Move some content from README.md to the docs/ directory

In another project I did it like this: https://github.com/cosmoscout/cosmoscout-vr/tree/develop/docs
I think we should use a similar approach for Fly-Pie. And yes, several parts of the README.md should be moved to the docs directory! I think that only the "About Fly-Pie" section and an additional "Getting Started" section is required.
Originally posted by @Schneegans in https://github.com/Schneegans/Fly-Pie/issues/78#issuecomment-755172193

Maybe you can use something like this for the horizontal line at the bottom?
hr.zip

Maybe you can use something like this for the horizontal line at the bottom?
hr.zip


[tool_crash] String: <57 characters>

Command
flutter --no-color run --machine --device-id=US5TLZWO99999999 --profile --dart-define=flutter.inspector.structuredErrors=true lib\main.dart

Steps to Reproduce

...
...
...

Logs
String: <57 characters>

[✓] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.19044.2075], locale en-IN)
    • Flutter version 3.0.5 at D:\FlutterSdk\flutter_windows_3.0.5-stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (3 months ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\golki\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop for Windows
    ✗ Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] Connected device (4 available)
    • A1601 (mobile)    • US5TLZWO99999999 • android-arm64  • Android 5.1 (API 22)
    • Windows (desktop) • windows          • windows-x64    • Microsoft Windows [Version 10.0.19044.2075]
    • Chrome (web)      • chrome           • web-javascript • Google Chrome 105.0.5195.127
    • Edge (web)        • edge             • web-javascript • Microsoft Edge 105.0.1343.53

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: f1875d570e39de09040c8f79aa13cc56baab8db1

Closing as duplicate of https://github.com/flutter/flutter/issues/108812


Handles spoiler tag, version bump

Here you go :)
I should probably make tests...
......... probably

awesome thanks!
just added the test case
https://github.com/akhoury/html-md-optional_window/commit/76f220c269867bc9ca6849aa41d423404deb8e8f


Publish 01/11/2022 3:30 PM PT

Docs Build status updates of commit e22a3dc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Add-MailboxFolderPermission.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-ComplianceSecurityFilter.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-ComplianceSecurityFilter.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-MailboxFolderPermission.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


v4.0.2 release installs v4.0.1

Downloaded v4.0.2 from github and tried to install with AppCake but as seen in appcake the version is wrong.

pwn20wnd just forgot to edit it to v4.0.2. Dont worry you're still on v4.0.2 not v4.0.1


Sticky sessions/cookie will not check if the backend still exists

Using the current morbier release candidate (rc2).
Issue
Using docker let's say I start a service with replica set to 5 and sticky sessions, a user connects and gets assigned to the 5th backend, in the process setting the cookie to the IP of that service.
Now a couple days later the user tries to connect again but for some reason the service was scaled back to 3 replicas and replica 5 is gone, instead of doing a fallback to another server currently traefik will force the routing to go to the given target backend.
The cookie is set to be removed when the browsing session ends but Chrome 57 seems to be keeping it forever, maybe because I have set it to resume my session on exit/restart.
Possible Solutions

Check if the given backend is up on access if given a sticky cookie (might be a little expensive to do on every query)
If we get a gateway timeout expire the cookie so that on next refresh we get a proper backend (though we might want to keep the cookie if the backend is in the configuration and just unhealthy)

@christopherobin thanks for filing the issue.
Do I understand correctly that according to your tests, Traefik does not switch the backend if the "sticky one" becomes unavailable? If that's not the case, then we have a bug (because the documentation states otherwise).

Tested some more, it seems to be kinda hit or miss, sometimes it will properly update the backend instantly, and sometimes I get a timeout with "Bad Gateway" after 30s that gets fixed with a couple more refreshes.

Sorry, it might actually have been bug #1156 since I can't seem to reproduce it once traefik.docker.network is set properly.
Closing the issue, will monitor some more and re-open if necessary.


Error while upgrading to 26.6.2

💥 Regression Report
A clear and concise description of what the regression is.
Last working version
Worked up to version: v26.6.1
Stopped working in version: v26.6.2
To Reproduce
Steps to reproduce the behavior:

Perform  a yarn upgrade<EMAIL_ADDRESS>on a project running and older version.

Expected behavior
A clear and concise description of what you expected to happen.
While attempting to upgrade to the latest version, yarn is throughing an error mentioning one of the sub-packages is not available.
An unexpected error occurred: "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz: Request failed \"404 Not Found\"".

Link to repl or repo (highly encouraged)
Easy to reproduce locally, not project related.
Run npx envinfo --preset jest
Paste the results here:
  System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  Binaries:
    Node: 10.20.1 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm

Package became available shortly after.

Wow, first I've heard of an install failing mid-publish 😅


2022-10-11-Mango-Markets.md

/qualitycheck

Wallet 1 placed a MNGO-SOL Perp Sell Order for 483 million MNGO perpetual futures at 3.8 cents per future ❌ ,
Wallet 2 bought the MNGO-SOL Sell Order from Wallet 1, effectively opening a MNGO long position for Wallet 2. ❌ and
Hacker's Wallet 1 and Wallet 2 were funded with 5 million USDC each. ❌ can be verified by the markdown links already attached

/qualitycheck

/payout

@jwalin12 can you please email your BTC address to<EMAIL_ADDRESS>Please include the QR code.


Allow use of vectors for task gains

As per title, this PR allows for the use of vector for kp and kd gains in IK and TSID tasks.
Follows #653.

cc @CarlottaSartore

Btw, one test failed on macOS with the following message
51/53 Test #51: QPInverseKinematicsUnitTests ..........................***Failed    0.25 sec
[2023-04-17 15:13:16.979] [thread: 102396] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link19] Unable to find the mask parameter. The default value is used: true true true.
[2023-04-17 15:13:16.980] [thread: 102396] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link19] Unable to find the use_orientation_exogenous_feedback parameter. The default value is used: false.
[2023-04-17 15:13:16.980] [thread: 102396] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link19] Unable to find the use_position_exogenous_feedback parameter. The default value is used: false.
[2023-04-17 15:13:16.980] [thread: 102396] [blf] [info] [CoMTask::initialize] [CoMTask] Unable to find the mask parameter. The default value is used: true true true.
[2023-04-17 15:13:16.983] [thread: 102396] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link34] Unable to find the mask parameter. The default value is used: true true true.
[2023-04-17 15:13:16.983] [thread: 102396] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link34] Unable to find the use_orientation_exogenous_feedback parameter. The default value is used: false.
[2023-04-17 15:13:16.983] [thread: 102396] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link34] Unable to find the use_position_exogenous_feedback parameter. The default value is used: false.
[2023-04-17 15:13:16.983] [thread: 102396] [blf] [info] [CoMTask::initialize] [CoMTask] Unable to find the mask parameter. The default value is used: true true true.
[2023-04-17 15:13:16.988] [thread: 102396] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link29] Unable to find the mask parameter. The default value is used: true true true.
[2023-04-17 15:13:16.988] [thread: 102396] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link29] Unable to find the use_orientation_exogenous_feedback parameter. The default value is used: false.
[2023-04-17 15:13:16.988] [thread: 102396] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link29] Unable to find the use_position_exogenous_feedback parameter. The default value is used: false.
[2023-04-17 15:13:16.988] [thread: 102396] [blf] [info] [CoMTask::initialize] [CoMTask] Unable to find the mask parameter. The default value is used: true true true.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
QPInverseKinematicsUnitTests is a Catch v2.13.4 host application.
Run with -? for options

-------------------------------------------------------------------------------
QP-IK [With strict limits]
-------------------------------------------------------------------------------
/Users/runner/work/bipedal-locomotion-framework/bipedal-locomotion-framework/src/IK/tests/QPInverseKinematicsTest.cpp:370
...............................................................................

/Users/runner/work/bipedal-locomotion-framework/bipedal-locomotion-framework/src/IK/tests/QPInverseKinematicsTest.cpp:453: FAILED:
  REQUIRE( std::abs(jointVelocity(0)) < tolerance )
with expansion:
  0.0103046824 < 0.01

It's happening time to time