I created a DSC Pull Server using the instructions in the e-book and everything went fine. I created a Configuration, and set a 2nd server to pull this configuration from the Pull server. It does not work. Here is what I have tried so far.
If I run Trace-xDSCOperation and specify one of the failure IDs (there are lots) this is output:
Configuration is sent from computer NULL by user sid S-1-5-18.
WebDownloadManager for configuration 0c6dfa3e-0b9c-4c91-8145-2363d7aa32af Do-DscAction command with server url: http://MYTARGETSERVER:8080/PSDSCPullServer.svc.
Attempting to get the action from pull server using Download Manager WebDownloadManager. Configuration Id is 0c6dfa3e-0b9c-4c91-8145-2363d7aa32af. Checksum is . Compliance status is false.
WebDownloadManager for configuration 0c6dfa3e-0b9c-4c91-8145-2363d7aa32af Do-DscAction command, GET Url: PSDSCPullServer.svc/Action(ConfigurationId=‘0c6dfa3e-0b9c-4c91-8145-2363d7aa32af’)/Get
Action.
This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager WebDownloadManager. ErrorId is 0x1. ErrorDetail is The attempt to
get the action from server http://MYTARGETSERVER:8080/PSDSCPullServer.svc/Action(ConfigurationId=‘0c6dfa3e-0b9c-4c91-8145-2363d7aa32af’)/GetAction returned unexpected response code Int
ernalServerError.
WebDownloadManager for configuration 0c6dfa3e-0b9c-4c91-8145-2363d7aa32af Do-DscAction command, GET call result: The attempt to get the action from server http://MYTARGETSERVER:8080/PSD
SCPullServer.svc/Action(ConfigurationId=‘0c6dfa3e-0b9c-4c91-8145-2363d7aa32af’)/GetAction returned unexpected response code InternalServerError…
If I browse to that address, both from my desktop and the pull server itself, I get a 'Server error in ‘/’ Application.
Following some advice from Don Jones and Steven Murawski I have also done run these commands on the Pull Server.
Test-xDSCResource -Name xDSCWebService
True
Get-DSCLocalConfigurationManager
AllowModuleOverwrite : False
CertificateID :
ConfigurationID :
ConfigurationMode : ApplyAndMonitor
ConfigurationModeFrequencyMins : 30
Credential :
DownloadManagerCustomData :
DownloadManagerName :
RebootNodeIfNeeded : False
RefreshFrequencyMins : 15
RefreshMode : PUSH
PSComputerName :
From the server that should be pulling the configuration:
Get-DSCLocalConfigurationManager
AllowModuleOverwrite : False
CertificateID :
ConfigurationID : 0c6dfa3e-0b9c-4c91-8145-2363d7aa32af
ConfigurationMode : ApplyOnly
ConfigurationModeFrequencyMins : 30
Credential :
DownloadManagerCustomData : {MSFT_KeyValuePair (key = “ServerUrl”), MSFT_KeyValuePair (key = “AllowUnsecureConnection”)}
DownloadManagerName : WebDownloadManager
RebootNodeIfNeeded : False
RefreshFrequencyMins : 15
RefreshMode : PUSH
PSComputerName :
I am pretty sure this says PUSH and not PULL because in trying to troubleshoot this I pushed a Configuration out to it just to make sure that would work.
What next?