We built a Ubuntu 14.04.1 LTS box from scratch yesterday during our JAMF jumpstart. When we went to start testing prestage enrollments today we found the we were getting an error on the DEP section under Global Management. The error is "unable to contact https:.//mdmenrollment.apple.com to get the list of devices". Whenever we refresh the page we get a single device to show up under the devices tab in the DEP setting. Another refresh another device should up. I've re downloaded the tokens and keys from the JSS and deploy.apple.com, We've deleted the DEP on the JSS and deploy.apple.com and made new ones transferring devices, but we cannot get the error to be resolved.
Has anyone seen this issue before?
TL:DR our DEP settings says it cannot connect to mdmenrollment but every refresh of the page brings another device into the JSS
Have seen this quite a bit on a 9.8 install as of yesterday. Did the same thing as you, deleting and recreating all tokens and keys. It went away after a few minutes and I was able to at least assign devices to a prestage.
But, even after adding computers to a prestage DEP enrollment is really not working on OS X the way we've come to expect. The setup assistant blows right by the DEP enrollment acknowledgement page. Only after a user has logged in do they get a push notification asking if they'd like to DEP enroll their device.
I wonder if anyone has parsed the first boot logs of either a Mac or iOS device when it is actually performing DEP enrollment?
Have you checked the JAMFSoftwareServer.log file? We were having the same issue after the 9.8 upgrade, though it was unrelated to the upgrade itself. With the release of iOS9, Apple updated the DEP T&C's. The error we saw was that the new T&C's needed to be accepted, which has to be done by the agent account in the DEP portal
That was it! How dumb that Apple would handle it that way. Yes, I looked back in my email, and I see they notified me four days ago that new terms and conditions needed to be accepted as a result of iOS 9 being released, but we only manage Macs, so I had put that aside.
The solution to "Unable to contact https://mdmenerollment.apple.com to get a list of devices" error in the Casper Suite this week is to login to your organization's DEP portal on Apple's site and accept the new terms. You may need to have someone else with creds to manage your DEP do it if you can't.
I have logged into our school's DEP account, and have accepted the new T&C's, but still getting the above error in the JSS. Any ideas? Did it take a while for this problem to go away for you after you accepted the new terms?
The JAMF support team fixed my issue… the time on our JSS server has slipped behind by 6 minutes (which is odd because it was already set to pull internet time from Apple's time servers). Once we updated the time our problem went away.
After multiple troubleshooting steps
Renewed server token file
Replaced the public key
made sure the time and date were correct on the JSS Server
Accepted the new Terms and Agreement from Apple
I ended up renewed server token file, replaced the public key again and creating a new Prestage Enrollment
so far we do not have any errrors