Corrupted IO Stalk this page with RSS github twitter linkedin CC-BY

PowerShell DSC and the cryptic error message!

DSC is a great idea that is still in the process of being completely baked out in windows. As such there are still a few quirks and issues, one of them being error messages.
Today I ran into one of those ever great cryptic messages Failed to get the action from server http://server/PSDSCPullServer.svc/Action(ConfigurationId='foo')/GetAction, so lets talk about it.

After a bit of investigation this was caused because my server, while it could resolve the address for the DSC pull server, it could not actually reach it over the network.
This could have been probably better worded as Operation "getting action from server http://server/PSDSCPullServer.svc/Action(ConfigurationId='foo')/GetAction" timed out, or if the error had an http status code attached to it There was an error getting action from server http://server/PSDSCPullServer.svc/Action(ConfigurationId='foo')/GetAction the server responded: 403

so in an effort to give some quick, albiet common sense, troubleshooting tips for this here we go: