-
Notifications
You must be signed in to change notification settings - Fork 120
v2.1.0-beta2 breaks WindowsAzure.Storage CreateIfNotExistsAsync #416
Comments
I'm seeing the same behavior on calling |
Same issue here. I'm using |
Hm, it seems that I haven't tried this workaround, but I think you can get
|
@yantang-msft @lmolkova can you please take a look and confirm that this is the case |
I have the same issue. Went back to beta 1 and it works fine |
…s exclude list.
Just confirming I'm seeing this too trying to use 2.1.0-beta2 in https://github.com/aspnet/live.asp.net/ here. |
The following workaround indeed works (put this in your var modules = app.ApplicationServices.GetServices<ITelemetryModule>();
var dependencyModule = modules.OfType<DependencyTrackingTelemetryModule>().FirstOrDefault();
if (dependencyModule != null)
{
var domains = dependencyModule.ExcludeComponentCorrelationHttpHeadersOnDomains;
domains.Add("core.windows.net");
domains.Add("core.chinacloudapi.cn");
domains.Add("core.cloudapi.de");
domains.Add("core.usgovcloudapi.net");
} |
@DamianEdwards thanks for confirmation. @cijothomas when can we ship the update? This bug is nasty! |
@SergeyKanzhelev applying your workaround resolves the issue for me as well. Thanks. |
Fix issue #416. Add certain domains to dependency collector's exclude list
Included this in the 2.1 Beta3 release to be released sometime today. |
#418 FIX PR |
Please reopen this issue--you're still missing
|
I'm not sure if adding localhost to the exclusion list by default is a good idea. You can at least add you custom domains in client code to workaround this issue. |
You're right--I forgot about scenarios where a service may call another service on localhost and it should be tracked by AI. It would still be nice though to have this interdependency documented explictly (unless I missed that), or maybe even exclude endpoints instead of domains. |
#488 - for emulator |
Not sure if this is the correct repo to raise this issue however i reasonably certain that some code in the Application insights is the culprit.
When upgrading from version 2.0.0 of package Microsoft.ApplicationInsights.AspNetCore to version v2.1.0-beta2 calls to the CreateIfNotExistsAsync method on the CloudQueue object in WindowsAzure.Storage. Start failing with the following error.
Microsoft.WindowsAzure.Storage.StorageException: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
The text was updated successfully, but these errors were encountered: