Auto Download Package Updates: Download Failed: Specified argument was out of the range of valid values. Parameter name: value.
I keep seeing this error on any auto download package updates.
Download Failed: Specified argument was out of the range of valid values. Parameter name: value.
PDQ support had me restart the background service which resolves it for any pending packages, but then if a new auto download package shows up ready to download, it happens all over again.
I shouldn't have to restart the background service on our server every day to be able to download these updates.
We didn't experience this until we converted our standalone server to a central server.
Does anyone have any insight on a more permanent fix?
Comments
Can you share the full error? You will probably have to retrieve it from the Event Log.
Do you use a proxy? If so, double-check your settings in Preferences.
When you converted your standalone server to Server mode, did you move it to a new host?
Log Name: Application
Source: PDQ Deploy
Date: 3/30/2021 11:27:50 AM
Event ID: 1191
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: ***************************
Description:
Event ID: 1191 System.ArgumentOutOfRangeException
Specified argument was out of the range of valid values.
Parameter name: value
AppDomain : PDQDeployService.exe
CLR Version : 4.0.30319.42000
Current AppDomain : PDQDeployService.exe
Database : C:\ProgramData\Admin Arsenal\PDQ Deploy\Database.db
Date : 2021-03-30T15:27:50.1254356Z
Entry : C:\Program Files (x86)\Admin Arsenal\PDQ Deploy\PDQDeployService.exe
Error : Specified argument was out of the range of valid values.
: Parameter name: value
Error Type : System.ArgumentOutOfRangeException
HResult : 0x80131502 Code:5378 Facility:19 Warning
License Mode : Enterprise Mode
Manufacturer : VMware, Inc. (VMware Virtual Platform)
Memory : 8 GB (2.5 GB free)
ParamName : value
PID : 17532
Process : PDQDeployService
Product : PDQ Deploy
SentryEnabled : True
Service Mode : Server
value : text/html; charset=UTF-8
Version : 19.3.30.0
Windows : Microsoft Windows Server 2019 Datacenter (10.0.17763)
Specified argument was out of the range of valid values.
Parameter name: value
System.ArgumentOutOfRangeException
value: text/html; charset=UTF-8
ParamName: value
HResult: 0x80131502 Code:5378 Facility:19 Warning
at AdminArsenal.MimeType.op_Implicit(String value)
at AdminArsenal.Subscription.SubscriptionProtocol.GetXmlInternalStatic(Action`1 addStats, String page, String query, Action`1 prepareRequestHeaders, Action`1 processResponseHeaders)
at AdminArsenal.Subscription.SubscriptionProtocol.GetXmlInternal(Action`1 addStats, String page, String query)
at AdminArsenal.PDQDeploy.Library.LibraryPackageVersion.GetPackageXml(LibraryRequestSource source)
at AdminArsenal.PDQDeploy.Library.LibraryPackageVersion.GetPackageXElement(LibraryRequestSource source)
at AdminArsenal.PDQDeploy.Library.LibraryPackageVersion.GetVersionPackageDefinitionDownload(LibraryRequestSource source)
at AdminArsenal.PDQDeploy.Library.LibraryPackageVersionDataManager.<SchemaUpgrade_MissingLibraryPackageDefinitions>b__20_1(LibraryPackageVersionId item)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="PDQ Deploy" />
<EventID Qualifiers="0">1191</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2021-03-30T15:27:50.172323000Z" />
<EventRecordID>25508</EventRecordID>
<Channel>Application</Channel>
<Computer>*************************</Computer>
<Security />
</System>
<EventData>
<Data>Event ID: 1191 System.ArgumentOutOfRangeException
Specified argument was out of the range of valid values.
Parameter name: value
AppDomain : PDQDeployService.exe
CLR Version : 4.0.30319.42000
Current AppDomain : PDQDeployService.exe
Database : C:\ProgramData\Admin Arsenal\PDQ Deploy\Database.db
Date : 2021-03-30T15:27:50.1254356Z
Entry : C:\Program Files (x86)\Admin Arsenal\PDQ Deploy\PDQDeployService.exe
Error : Specified argument was out of the range of valid values.
: Parameter name: value
Error Type : System.ArgumentOutOfRangeException
HResult : 0x80131502 Code:5378 Facility:19 Warning
License Mode : Enterprise Mode
Manufacturer : VMware, Inc. (VMware Virtual Platform)
Memory : 8 GB (2.5 GB free)
ParamName : value
PID : 17532
Process : PDQDeployService
Product : PDQ Deploy
SentryEnabled : True
Service Mode : Server
value : text/html; charset=UTF-8
Version : 19.3.30.0
Windows : Microsoft Windows Server 2019 Datacenter (10.0.17763)
Specified argument was out of the range of valid values.
Parameter name: value
System.ArgumentOutOfRangeException
value: text/html; charset=UTF-8
ParamName: value
HResult: 0x80131502 Code:5378 Facility:19 Warning
at AdminArsenal.MimeType.op_Implicit(String value)
at AdminArsenal.Subscription.SubscriptionProtocol.GetXmlInternalStatic(Action`1 addStats, String page, String query, Action`1 prepareRequestHeaders, Action`1 processResponseHeaders)
at AdminArsenal.Subscription.SubscriptionProtocol.GetXmlInternal(Action`1 addStats, String page, String query)
at AdminArsenal.PDQDeploy.Library.LibraryPackageVersion.GetPackageXml(LibraryRequestSource source)
at AdminArsenal.PDQDeploy.Library.LibraryPackageVersion.GetPackageXElement(LibraryRequestSource source)
at AdminArsenal.PDQDeploy.Library.LibraryPackageVersion.GetVersionPackageDefinitionDownload(LibraryRequestSource source)
at AdminArsenal.PDQDeploy.Library.LibraryPackageVersionDataManager.<SchemaUpgrade_MissingLibraryPackageDefinitions>b__20_1(LibraryPackageVersionId item)
</Data>
</EventData>
</Event>
No, we did not move to a new host when we converted to server mode.
The proxy is set to use system settings, and works for all other applications.
When this problem starts happening, are you able to download new packages from the Package Library? Also, does anything else break, like Help --> Check for Update?
I'll let you know.
Need to wait until the issue occurs again, likely tomorrow.
To answer your questions:
3 Auto Download updates waiting on approval this morning. Selected LibreOffice update, clicked the "Approve Now" button. It worked. Then selected both the Chrome and Edge updates, clicked "Approve Now", now they had the red circle with the exclamation in it. Same error message as before if I hover over. Right clicking on either pacakge and saying "Approve" or "Redownload" does nothing.
I was able to download a new package from the library (FileZilla) without issue.
Checking for update seems to work fine. We're on the latest version though, so it just confirms as such and says no update it available.
That is bizarre. When you switched to Server mode, did you update Deploy at the same time? If so, you could try downgrading to the previous version (uninstall, install old version).
So remembering back, this appears to have started when we upgraded to the newest version.
I'll give the previous version a try to see how it works.
Turns out this was an issue with our proxy. Sometimes it would allow file downloads from PDQ.com, others times it wouldn't. Found the URL blocks in the logs and whitelisted pdq.com. No more issues. Strange how it wasn't consistent.
Wanted to update here just in case anyone else ran across this.