question

WarrenPilkington-2900 avatar image
0 Votes"
WarrenPilkington-2900 asked RayWong-8173 commented

OSD over CMG failes with error 80072efe - Failed to receive response over WinHTTP

Myself and one of my colleagues are at the moment attempting to use our Windows 10 OSD task sequence, which we modified for CMG use (so no domain join etc), and first time around it worked and completed for my colleague, which was pleasing.

However, over the last few days, whenever we try the same OSD task sequence, smsts.log frequently shows error 80072efe - which translates to "The connection with the server was terminated abnormally." This appears to be at random points when downloading a file in a package or application, so is never the same file, but produces a failure which eventually shows as error 80070002 when the task sequence exits with an error - "the system cannot find the specified file."

The downloads appear to be coming from the blob part of the storage on the CMG DP, which is expected behaviour. I see the error more often if multiple small files are downloading as part of a package or application.

Setting the task sequence variable SMSTSDownloadRetryCount to 5 does allow for retries of content, but it appears to start the retry of the whole content, not just the file where it had failed, so it can often fail again even before it get so the point of continuing. Even adding the additional task sequence variable SMSTSDownloadRetryDelay set to 30 (so 30 seconds before retry) didn't make a difference.

Other things I've checked:

 Redistributing the content back to the CMG's DP
 Removing and distributing the content to the CMG DP
 The CMG is functioning normally and checking the connection analyzer shows all is well.
 The Windows PE boot image for the TS is the same as before when it worked.

My colleague who had the success also sees similar failures, and there's no networking changes at their end either.

Due to its somewhat random nature of failing to connect, is there anything worth checking on the CMG side to ensure that it successfully authenticates the content request and services it without any issues, or are there issues with Azure Storage at present where the CMG DP is (the option to use the CMG as a DP and use cloud storage is enabled) which might be causing the problem?

mem-cm-osd
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just wondering if anyone here still experiencing the issue and what's the fix for this?
The dropout seems to be intermittent.

0 Votes 0 ·
Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered

As the message implies, there's something at the network layer/level that is interfering with connection. This is outside the scope of control or visibility of any ConfigMgr component or service. A wide variety of other, network layer/level things could be the culprit here though including proxy servers, firewalls, ISP connectivity, etc.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ClientAdmin avatar image
0 Votes"
ClientAdmin answered

@WarrenPilkington-2900 We are facing the exact same problem since a few days with our in-place upgrade task sequences. And honestly we discard the infrastructure layer of the network because there were no changes and before this started we had no problems. What version of ConfigMgr are you using?

It would be great to stay in touch here.

Kind regards
Matias

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ClientAdmin avatar image
0 Votes"
ClientAdmin answered

@WarrenPilkington-2900: Are you still facing the issues?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

StruijkJorisvander-5084 avatar image
0 Votes"
StruijkJorisvander-5084 answered Jason-MSFT edited

We also face the exact same issue here. Also no relevant changes made on our side.

When saying that the culprit could be in such different places, this also means that cause for the error could also be with MS. We had no issues. No issues connecting from our large internal network to the CMG and no issues connecting from a multitude of different devices all running from there own internet connection.
And then all of a sudden these error start to appear...

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

If you feel this is an issue with the service, then you need to open a support case.

0 Votes 0 ·
ClientAdmin avatar image
0 Votes"
ClientAdmin answered Jason-MSFT commented

The issue went away after a few days (about 14) without doing anything on our side... But now after a couple of days of everything working fine we start seeing the same problem again. I'm sure Microsoft is having problems they don't want to tell us because they have no solution or maybe they have no sufficient monitoring on their systems and don't realize there are issues.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Same answer, "If you feel this is an issue with the service, then you need to open a support case."

0 Votes 0 ·
StruijkJorisvander-5084 avatar image
0 Votes"
StruijkJorisvander-5084 answered StruijkJorisvander-5084 commented

We removed the CMG from SCCM and added it back with the exact same configuration and all seems to be working again.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Spoke to soon,
Downloading from CMG still is failing for some devices and successful for others. We did notice something on devices where download is failing. When i copy the URL for the failing file into Chrome browser on the same device, the file is nicely being downloaded without error. This seems like downloading large files from CMG using the SCCM client is not working properly.

0 Votes 0 ·
MatiasHohl-7091 avatar image
0 Votes"
MatiasHohl-7091 answered

Actually we are not facing the issue anymore. As soon as it happens again I will reopen an MS case that was closed without a solution or explanation.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PeterBeynsberger-9526 avatar image
0 Votes"
PeterBeynsberger-9526 answered

I have this issue with several of my customers. For some customers it was not there and now is. For others it went away.

After a lot of testing, I linked the cause to the toolkit package:

https://msendpointmgr.com/2014/06/25/downloadfilewithranges-failed-80072ee2-on-packages-in-configmgr-2012-r2/

Since I implement these two vars by default in every setup, they do not work for the CMG DP. If I stage from the distribution point in the datacenter it works fine.

Workaround:

Zip the toolkit package and create a ps1 script with the following code:

Expand-Archive -Path "$PSScriptRoot\nameofyourzip.zip" -DestinationPath "$PSScriptRoot"

Put the ps1 together with the zip file and create a new toolkit package with this two files.

Create a 'run powershell script' step in front of the toolkit package steps and put it on bypass.

This not only prevents the 80072efe errors. It speeds up the toolkit step as well.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.