Tech Community Live: Endpoint Manager edition
Jul 21 2022, 08:00 AM - 12:00 PM (PDT)

Cant send content to Cloud Management Gateway

%3CLINGO-SUB%20id%3D%22lingo-sub-2671622%22%20slang%3D%22en-US%22%3ECant%20send%20content%20to%20Cloud%20Management%20Gateway%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2671622%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20facing%20to%20an%20issue%20with%20my%20CMG%2C%20i%20am%20in%20CM%202103%20and%20i%20use%20CMG%20to%20manage%20my%20internet%20client%3C%2FP%3E%3CP%3EWhen%20i%20want%20to%20distrubute%20content%20to%20CMG%20i%20have%20these%20error%20from%20PkgXferMgr%20log%20file%20%3A%3C%2FP%3E%3CP%3EWARNING%3A%20Exception%20occurred%20accessing%20storage%3B%20StorageException%20error%20%3D%20()%3AThe%20underlying%20connection%20was%20closed%3A%20An%20unexpected%20error%20occurred%20on%20a%20send.%3C%2FP%3E%3CP%3EWARNING%3A%20Caught%20exception%20Microsoft.WindowsAzure.Storage.StorageException%20-%20The%20underlying%20connection%20was%20closed%3A%20An%20unexpected%20error%20occurred%20on%20a%20send.%3C%2FP%3E%3CP%3EUploadPackageToCloudWithContentInfo()%20failed.%20Error%20%3D%200x80131500%3C%2FP%3E%3CP%3Ehave%20any%20one%20any%20idea%20for%20the%20reason%20to%20these%20problem%20and%20how%20i%20can%20resolve%20it%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2671622%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECMG%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2671652%22%20slang%3D%22en-US%22%3ERe%3A%20Cant%20send%20content%20to%20Cloud%20Management%20Gateway%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2671652%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F445721%22%20target%3D%22_blank%22%3E%40adwaaziz%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20error%20points%20in%20the%20direction%20of%20the%20storage%20in%20Azure.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20start%20with%20checking%20the%20connection%20from%20within%20MEMCM%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fmanage%2Fcmg%2Fmonitor-clients-cloud-management-gateway%22%20target%3D%22_blank%22%20rel%3D%22noopener%20ugc%20noreferrer%22%3Erunning%20the%20connection%20analyzer%20against%20the%20CMG.%3C%2FA%3E%26nbsp%3Band%20you%20can%20check%20if%20the%20CMG%20is%20configured%20with%20a%20threshold%20and%20if%20that's%20not%20met.%20If%20that%20doesn't%20give%20any%20errors%20or%20indicators%2C%20you%20can%20check%20the%20log%20files%3A%3C%2FP%3E%3CDIV%20class%3D%22table-scroll-wrapper%20has-inner-focus%22%3ELog%20name%20Description%20Computer%20with%20log%20file%3CTABLE%3E%3CTBODY%3E%3CTR%3E%3CTD%3ECloudMgr.log%3C%2FTD%3E%3CTD%3ERecords%20details%20about%20deploying%20the%20cloud%20management%20gateway%20service%2C%20ongoing%20service%20status%2C%20and%20use%20data%20associated%20with%20the%20service.%20To%20configure%20the%20logging%20level%2C%20edit%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ELogging%20level%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Evalue%20in%20the%20following%20registry%20key%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EHKLM%5CSOFTWARE%5C%20Microsoft%5CSMS%5CCOMPONENTS%5C%20SMS_CLOUD_%20SERVICES_MANAGER%3C%2FTD%3E%3CTD%3EThe%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Einstalldir%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efolder%20on%20the%20primary%20site%20server%20or%20CAS.%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3ECMGSetup.log%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fmanage%2Fcmg%2Fmonitor-clients-cloud-management-gateway%23bkmk_note1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ENote%201%3C%2FA%3E%3C%2FTD%3E%3CTD%3ERecords%20details%20about%20the%20second%20phase%20of%20the%20cloud%20management%20gateway%20deployment%20(local%20deployment%20in%20Azure).%20To%20configure%20the%20logging%20level%2C%20use%20the%20setting%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ETrace%20level%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(%3CSTRONG%3EInformation%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(Default)%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EVerbose%3C%2FSTRONG%3E%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EError%3C%2FSTRONG%3E)%20on%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EAzure%20portal%5CCloud%20services%20configuration%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etab.%3C%2FTD%3E%3CTD%3EThe%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%25approot%25%5Clogs%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eon%20your%20Azure%20server%2C%20or%20the%20SMS%2FLogs%20folder%20on%20the%20site%20system%20server%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3ECMGService.log%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fmanage%2Fcmg%2Fmonitor-clients-cloud-management-gateway%23bkmk_note1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ENote%201%3C%2FA%3E%3C%2FTD%3E%3CTD%3ERecords%20details%20about%20the%20cloud%20management%20gateway%20service%20core%20component%20in%20Azure.%20To%20configure%20the%20logging%20level%2C%20use%20the%20setting%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ETrace%20level%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(%3CSTRONG%3EInformation%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(Default)%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EVerbose%3C%2FSTRONG%3E%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EError%3C%2FSTRONG%3E)%20on%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EAzure%20portal%5CCloud%20services%20configuration%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etab.%3C%2FTD%3E%3CTD%3EThe%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%25approot%25%5Clogs%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eon%20your%20Azure%20server%2C%20or%20the%20SMS%2FLogs%20folder%20on%20the%20site%20system%20server%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3ESMS_Cloud_ProxyConnector.log%3C%2FTD%3E%3CTD%3ERecords%20details%20about%20setting%20up%20connections%20between%20the%20cloud%20management%20gateway%20service%20and%20the%20cloud%20management%20gateway%20connection%20point.%3C%2FTD%3E%3CTD%3ESite%20system%20server%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3ECMGContentService.log%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fmanage%2Fcmg%2Fmonitor-clients-cloud-management-gateway%23bkmk_note1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ENote%201%3C%2FA%3E%3C%2FTD%3E%3CTD%3EWhen%20you%20enable%20a%20CMG%20to%20also%20serve%20content%20from%20Azure%20storage%2C%20this%20log%20records%20the%20details%20of%20that%20service.%3C%2FTD%3E%3CTD%3EThe%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%25approot%25%5Clogs%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eon%20your%20Azure%20server%2C%20or%20the%20SMS%2FLogs%20folder%20on%20the%20site%20system%20server%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FDIV%3E%3CUL%3E%3CLI%3EFor%20troubleshooting%20deployments%2C%20use%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ECloudMgr.log%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ECMGSetup.log%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3EFor%20troubleshooting%20service%20health%2C%20use%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ECMGService.log%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ESMS_Cloud_ProxyConnector.log%3C%2FSTRONG%3E.%3C%2FLI%3E%3CLI%3EFor%20troubleshooting%20client%20traffic%2C%20use%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ECMGHttpHandler.log%3C%2FSTRONG%3E%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ECMGService.log%3C%2FSTRONG%3E%2C%20and%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ESMS_Cloud_ProxyConnector.log%3C%2FSTRONG%3E.%3C%2FLI%3E%3C%2FUL%3E%3CP%3ECheck%20if%20the%20certificate%20is%20uploaded%20correctly%20to%20Azure.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHopefully%20that%20will%20point%20you%20in%20the%20right%20direction.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2716657%22%20slang%3D%22en-US%22%3ERe%3A%20Cant%20send%20content%20to%20Cloud%20Management%20Gateway%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2716657%22%20slang%3D%22en-US%22%3EHello%3CBR%20%2F%3EI%20have%20checked%20all%20of%20these%20files%20but%20no%20indication%20for%20the%20reeason%20of%20these%20error%3CBR%20%2F%3EI%20have%20also%20recreate%20the%20CMG%20and%20delete%20Applications%20on%20Azure%20AD%20but%20also%20i%20have%20the%20same%20error%3CBR%20%2F%3Efor%20information%20i%20have%20two%20subscription%20linked%20to%20my%20MECM%20%3F%20i%20dont%20think%20these%20make%20problem%20%3F%3CBR%20%2F%3ESome%20one%20have%20an%20idea%20where%20i%20can%20find%20information%20on%20mecm%20database%20about%20CMG%20%3F%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

 

I am facing to an issue with my CMG, i am in CM 2103 and i use CMG to manage my internet client

When i want to distrubute content to CMG i have these error from PkgXferMgr log file :

WARNING: Exception occurred accessing storage; StorageException error = ():The underlying connection was closed: An unexpected error occurred on a send.

WARNING: Caught exception Microsoft.WindowsAzure.Storage.StorageException - The underlying connection was closed: An unexpected error occurred on a send.

UploadPackageToCloudWithContentInfo() failed. Error = 0x80131500

have any one any idea for the reason to these problem and how i can resolve it ?

 

Best regards,

3 Replies

@adwaaziz 

The error points in the direction of the storage in Azure.

 

I would start with checking the connection from within MEMCM by running the connection analyzer against the CMG. and you can check if the CMG is configured with a threshold and if that's not met. If that doesn't give any errors or indicators, you can check the log files:

Log name Description Computer with log file
CloudMgr.logRecords details about deploying the cloud management gateway service, ongoing service status, and use data associated with the service. To configure the logging level, edit the Logging level value in the following registry key: HKLM\SOFTWARE\ Microsoft\SMS\COMPONENTS\ SMS_CLOUD_ SERVICES_MANAGERThe installdir folder on the primary site server or CAS.
CMGSetup.log Note 1Records details about the second phase of the cloud management gateway deployment (local deployment in Azure). To configure the logging level, use the setting Trace level (Information (Default), Verbose, Error) on the Azure portal\Cloud services configuration tab.The %approot%\logs on your Azure server, or the SMS/Logs folder on the site system server
CMGService.log Note 1Records details about the cloud management gateway service core component in Azure. To configure the logging level, use the setting Trace level (Information (Default), Verbose, Error) on the Azure portal\Cloud services configuration tab.The %approot%\logs on your Azure server, or the SMS/Logs folder on the site system server
SMS_Cloud_ProxyConnector.logRecords details about setting up connections between the cloud management gateway service and the cloud management gateway connection point.Site system server
CMGContentService.log Note 1When you enable a CMG to also serve content from Azure storage, this log records the details of that service.The %approot%\logs on your Azure server, or the SMS/Logs folder on the site system server
  • For troubleshooting deployments, use CloudMgr.log and CMGSetup.log
  • For troubleshooting service health, use CMGService.log and SMS_Cloud_ProxyConnector.log.
  • For troubleshooting client traffic, use CMGHttpHandler.log, CMGService.log, and SMS_Cloud_ProxyConnector.log.

Check if the certificate is uploaded correctly to Azure.

 

Hopefully that will point you in the right direction. 

 

Hello
I have checked all of these files but no indication for the reeason of these error
I have also recreate the CMG and delete Applications on Azure AD but also i have the same error
for information i have two subscription linked to my MECM ? i dont think these make problem ?
Some one have an idea where i can find information on mecm database about CMG ?
Hi,

Do you distribute software updates packages on your CMG ?
Have you add a new VM instance in CMG properties ?
CRL or TLS 1.2 are enable or disable in CMG properties ?
Can you check if wsyncmgr.log report sync errors with SUP ?
Have you verify your certificate wasn't expired ?
What's the result of the CMG connexion analyzer ?