BIG-RAT / jamfcpr

Replicate packages between Jamf Pro Servers
Apache License 2.0
76 stars 3 forks source link

No packages found error with Jamf Cloud JCDS despite log showing non-empty JCDS Packages list after "checking Jamf Cloud" message #2

Closed sdagley closed 3 years ago

sdagley commented 3 years ago

Tested with jamfcpr 0.9.7 and a Jamf Cloud DP

After clicking "List" and error message "Attention: No packages found. Please verify server, username, and password are correct." is displayed.

Looking at the jamfcpr log following the "checking Jamf Cloud" label there is a list of all available packages following the log statement "JCDS Packages:"

Additional data point: Prior to the "checking Jamf Cloud" label there are many occurrences of the following for some, but not all, of the files that are in the JCDS

20210321_223109 [ListCloudPackages-casperJxmlGet] entry: FileServer(ip: "", share: "", type: "", domain: "", , ... 20210321_223109 [betweenTags] Nothing found between https:// and //.

BIG-RAT commented 3 years ago

Wondering if you also have file distribution points in addition to the JCDS and which is the primary. What version of Jamf Pro are you running?

On Mar 21, 2021, at 10:45 PM, Steve Dagley @.**@.>> wrote:

Tested with jamfcpr 0.9.7 and a Jamf Cloud DP

After clicking "List" and error message "Attention: No packages found. Please verify server, username, and password are correct." is displayed.

Looking at the jamfcpr log following the "checking Jamf Cloud" label there is a list of all available packages following the log statement "JCDS Packages:"

Additional data point: Prior to the "checking Jamf Cloud" label there are many occurrences of the following for some, but not all, of the files that are in the JCDS

20210321_223109 [ListCloudPackages-casperJxmlGet] entry: FileServer(ip: "", share: "", type: "", domain: "", , ... 20210321_223109 [betweenTags] Nothing found between https:// and //.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/BIG-RAT/jamfcpr/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJYQF5VMMWH27SU5ZLSSHDTE2VMRANCNFSM4ZSH5WQA.

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/BIG-RAT/jamfcpr/issues/2", "url": "https://github.com/BIG-RAT/jamfcpr/issues/2", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

sdagley commented 3 years ago

No File Share DPs, only JCDS. Jamf Pro 10.27.0

BIG-RAT commented 3 years ago

Any chance I could see, at least part of, what is returned for packageData in the log (after removing specific download directory and token)? Something like: 20210322_081023 [ListCloudPackages-casperJxmlGet] packageData: <packages><package><id>274</id><checksum>eeb620e2752290b8912dd5bf567864c5</checksum><size>7498747</size><lastModified>1588195848000</lastModified><fileURL>https://use1-jcds.services.jamfcloud.com//download/directorystring/JamfConnectSync-1.4.3.pkg?token=somelongstring</fileURL></package><package><id>223</id><checksum>571abaa9d6775a972f4605ab6e4b97c4</checksum><size>5405</size><lastModified>1569355241000</lastModified><fileURL>https://use1-jcds.services.jamfcloud.com//download/directorystring/Cylance2.0.1500-2018-11-28.pkg?token=somelongstring</fileURL></package><package><id>336</id><checksum>7e953202951cbd2ff2b13c3984501ee7</checksum><size>15514</size><lastModified>1615908045000</lastModified><fileURL>https://use1-jcds.services.jamfcloud.com//download/directorystring/JamfConnectLaunchAgent-2.2.2.pkg?token=somelongstring</fileURL></package><package><id>342</id><checksum>1b202f8b6d5a7d757c8ff737d71b51ca</checksum><size>17667</size><lastModified>1611677704000</lastModified><fileURL>https://use1-jcds.services.jamfcloud.com//download/directorystring/WeWorkEnroll.pkg?token=somelongstring</fileURL></package><package><id>279</id><checksum>13af77d60614608bcbd8d1a5d0173edb</checksum><size>24348</size><lastModified>1588715387000</lastModified><fileURL>https://use1-jcds.services.jamfcloud.com//download/directorystring/dockutil.pkg?token=somelongstring</fileURL></package><package><id>337</id><checksum>8eda3a98aae03605984b222112baf407</checksum><size>5154379</size><lastModified>1604436614000</lastModified><fileURL>https://use1-jcds.services.jamfcloud.com//download/directorystring/DEPNotify_1.1.5_signed.pkg?token=somelongstring</fileURL></package>

BIG-RAT commented 3 years ago

Should be resolved with v0.9.8

sdagley commented 3 years ago

Verified that the v0.9.8 build available from the Releases page resolves the issue.