当前位置: 动力学知识库 > 问答 > 编程问答 >

amazon web services - On Visual Studio load, AWS Toolkit posts get instance metadata and gets timeout (502). How do I disable that?

问题描述:

When I have the AWS Toolkit installed, it takes a long time for Visual Studio (2015 update 2) to open.

Why? Because (as I saw using Fiddler) it's posting to 169.254.169.254/latest/dynamic/instance-identity/document like 9 times, and timing out every time.

I found this article which explains what that's all about.

But how do I turn it off? I really don't want to wait for so long for Visual Studio to load every time I open it.

网友答案:

The underlying SDK that the toolkit uses had a bug, fixed last week, where it was attempting to always fetch instance metadata to try and determine the AWS region (even when not running on an EC2 instance). I don't recall the version of the toolkit being built on that SDK version but it's possible.

A colleague posted an updated toolkit (1.9.6.21) this evening for an unrelated change - can you install this and see if you still see an issue? If so I'll take a look when I get into the office.

分享给朋友:
您可能感兴趣的文章:
随机阅读: