Jan 26, 2022
03:17 AM
Dear ChrisG, Thanks for your suggestions. I tried your script and the a file (with the same name) appeared in the processing server but with 0 KB size. -> I found some segments of our SCCM import zip files but with 0 KB and I found some with 3072KB size (this is the segment limit). If you tried to open it tells it can not open the files. Answers to your questions: Yes I checked the IIS and Flexnet logs and unfortunately I didn't find "suspicious" log record. We have firewall but it worked before with that configurations. As I know we don't have loadbalancer, reverse proxy etc. One of the SSCM imports gives me this log record: 2022-01-26 09:54:51,301 [Upload.UploadProcess ] [INFO ] Found 2 new package(s) to upload 2022-01-26 09:54:51,473 [Upload.UploadProcess ] [INFO ] Processing package 'I[S=SCCM_Import_Name]_20220126085135.zip' in C:\ProgramData\Flexera Software\Beacon\IntermediateData 2022-01-26 09:54:51,504 [Upload.UploadProcess ] [INFO ] Uploading to https://beacon_url.com/inventory-beacons/api/upload/ 2022-01-26 09:54:51,614 [tionProtocolIdentifier] [INFO ] The protocol used for communication is Tls12 2022-01-26 09:54:51,614 [Upload.UploadProcess ] [INFO ] Uploading using TLS version Tls12 2022-01-26 09:54:51,614 [otNetVersionIdentifier] [INFO ] .Net framework version identified is .NET Framework 4.6.2 2022-01-26 09:54:51,614 [Upload.UploadProcess ] [INFO ] .Net framework present: .NET Framework 4.6.2 2022-01-26 09:54:51,614 [Upload.UploadProcess ] [INFO ] Starting upload of 804,2KiB package in 1 segments... 2022-01-26 09:54:51,614 [Upload.UploadProcess ] [INFO ] - uploading segment 1: 804,2KiB 2022-01-26 09:54:52,254 [Upload.UploadProcess ] [INFO ] File queued successfully on server 2022-01-26 09:54:52,254 [Upload.UploadProcess ] [INFO ] Upload successful, move to uploaded folder This upload worked like as expected but the other 3 are not. I recognised a strange "behaviour" from the ComplienceUpload.exe: 2022-01-26 10:06:31,361 [Upload.UploadProcess ] [INFO ] Processing package 'I[S=SCCM_Import_Name]_20220126090627.zip' in C:\ProgramData\Flexera Software\Beacon\IntermediateData 2022-01-26 10:06:31,393 [Upload.UploadProcess ] [INFO ] Uploading to https://beacon_url.com/inventory-beacons/api/upload/ 2022-01-26 10:06:31,486 [tionProtocolIdentifier] [INFO ] The protocol used for communication is Tls12 2022-01-26 10:06:31,486 [Upload.UploadProcess ] [INFO ] Uploading using TLS version Tls12 2022-01-26 10:06:31,502 [otNetVersionIdentifier] [INFO ] .Net framework version identified is .NET Framework 4.6.2 2022-01-26 10:06:31,502 [Upload.UploadProcess ] [INFO ] .Net framework present: .NET Framework 4.6.2 2022-01-26 10:06:31,502 [Upload.UploadProcess ] [INFO ] Starting upload of 27,3MiB package in 10 segments... 2022-01-26 10:06:31,502 [Upload.UploadProcess ] [INFO ] - uploading segment 1: 3,0MiB 2022-01-26 10:06:32,064 [Upload.UploadProcess ] [INFO ] - uploading segment 2: 3,0MiB 2022-01-26 10:06:32,080 [Upload.UploadProcess ] [WARN ] Upload package failed, retrying in 16 seconds (error: Upload segment failed (An error occurred while sending the request.)) 2022-01-26 10:06:48,173 [Upload.UploadProcess ] [INFO ] Resuming upload of 27,3MiB package - 24,3MiB to upload in 9 segments... 2022-01-26 10:06:48,173 [Upload.UploadProcess ] [INFO ] - uploading segment 1: 3,0MiB In the bold lines you can see It can upload one segment of the 10 but when the second one is coming it gives the error. Do you have any other idea? What to check, what log to analyse or it could be some network related issue(s)? It's just really "strange" that some of them are working and some of them are don't. Thanks for your time!
... View more
Jan 21, 2022
02:47 AM
Dear Flexera Community.
I have a problem with my SCCM imports. I have one which is running completely succesful and I have several ones that can't upload the gathered data. The data gathering in all cases are good, I think I have a problem with the upload.
The interesting part of the situation that if the gathered data file (*.zip) is smaller than 3 MB (don't have to cut it into pieces) the beacon can upload without any errors, but if greater then 3MB the upload is failed.
Here is the LOG from the beacon:
LOG1: This appears when the beacon is retrying upload the segments:
(error: Upload segment failed (An error occurred while sending the request.))
LOG2: After several tryings the beacon gives me this ERROR:
[Upload.UploadProcess ] [ERROR] Package upload failed Flexera.SaaS.Transport.Core.ComplianceApiException: Upload segment failed (An error occurred while sending the request.) ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: The request was canceled. ---> System.InvalidOperationException: The stream was already consumed. It cannot be read again. at System.Net.Http.StreamContent.PrepareContent() at System.Net.Http.StreamContent.SerializeToStreamAsync(Stream stream, TransportContext context) at System.Net.Http.HttpContent.CopyToAsync(Stream stream, TransportContext context) at System.Net.Http.HttpContent.CopyTo(Stream stream) at System.Net.HttpWebRequest.EndWriteHeaders_Part2() --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at Flexera.SaaS.Transport.Upload.UploadClient.UploadSegment(FileSegment segment) at Flexera.SaaS.Transport.Upload.UploadProcess.TryUpload(UploadClient client, UploadedPackageFile package, Action notifySuccessfulConnection) at Flexera.SaaS.Transport.Upload.UploadProcess.Retry[T](String actionName, Func`2 action, Int32 times) at Flexera.SaaS.Transport.Upload.UploadProcess.ProcessPackage(UploadedPackageFile package) at Flexera.SaaS.Transport.Upload.UploadProcess.ProcessPackageList(Int32 exitCode, List`1 packages)
There wasn't any network, infrastucture etc. change.
I tried to change the "NetworkTime" registry and deleted all the previous file from the IntermediateData folder.
Thanks for you time!
... View more
Latest posts by gyorisziszi
Subject | Views | Posted |
---|---|---|
244 | Jan 26, 2022 03:17 AM | |
430 | Jan 21, 2022 02:47 AM |
Activity Feed
- Posted Re: SCCM data upload failure on FlexNet Manager Forum. Jan 26, 2022 03:17 AM
- Posted SCCM data upload failure on FlexNet Manager Forum. Jan 21, 2022 02:47 AM