John Rood
John Rood

Reputation: 835

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.

Upvotes: 1

Views: 142

Answers (1)

Steve Roberts
Steve Roberts

Reputation: 734

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.

Upvotes: 1

Related Questions