IOS Add device : Undefined Communication Error and Enrolment Failed

Hi Guys,

I have some problems whith Iphone & SMC. It's impossible for me to add an iPhone.

After flashing the QRCode it says : "Activation failed. Undefined error"

SMC server = 7.1.4 (rev 11838)

IOS : 10.3.3

 

Here is the log file :

" | 2018/06/06 15:59:58:396 | Logging of errors enabled
V | 2018/06/06 16:00:17:518 | Show QR code scanner
V | 2018/06/06 16:00:56:322 | Scanned data is: TOTO.fr/.../pbhsvh89
V | 2018/06/06 16:00:56:366 | Server URL is: TOTO
V | 2018/06/06 16:00:56:366 | Last path component is: pbhsvh89?email=feziofjze%40ferr.fr&url=TOTO&ch=U8R8uu4fCJP66Owjpf4FBCuXmYLTVJJXLf8QTgw7ijY
V | 2018/06/06 16:00:56:366 | Token is: pbhsvh89
V | 2018/06/06 16:00:56:381 | Wrote 'pinnedHashes' successfully to keychain
V | 2018/06/06 16:00:58:387 | Read 'pinnedHashes' from keystore: 62:70:6c:69:73:74:30:30:d4:01:02:03:04:05:08:18:19:54:24:74:6f:70:58:24:f:6e:576:65:72:d1:06:07:54:72:6f:6f:74:80:01:a4:09:0a:10:11:55:24:6e:75:6c:6c:d2:0b:0c:0d:0e:56:24:63:6c:61:700:00:00:00:00:00:1a:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:d3
V | 2018/06/06 16:00:58:397 | Activation ID is: ACC65A88-568B-4218-A3D8-56418F36C999
V | 2018/06/06 16:00:58:400 | Sending POST activation to TOTO/.../checkin
V | 2018/06/06 16:00:59:959 | Read 'pinnedHashes' from keystore: 62:70:6c:69:73:74:30:30:d4:01:02:03:04:05:08:18:19:54:2
V | 2018/06/06 16:00:59:964 | Read 'pinnedHashes' from keystore: 62:70:6c:69:73:74:30:30:d4:01:02:0
E | 2018/06/06 16:01:00:019 | Pinning failed for hash: 53:c4:7c:ba:ee:1f:08:93:fa:e8:ec:23:a5:fe:0
V | 2018/06/06 16:01:00:027 | Wrote 'lastInvalidHash' successfully to keychain
V | 2018/06/06 16:01:02:034 | Status code: 0
E | 2018/06/06 16:01:02:036 | Connection Error: Error Domain=NSURLErrorDomain Code=-999 "annulé" UserInfo={NSErrorFailingURLKey=TOTO/.../checkin, NSErrorFailingURLStringKey=TOTO/.../checkin, NSLocalizedDescription=annulé}
V | 2018/06/06 16:01:02:039 | Sending POST activation to TOTO/.../checkin
V | 2018/06/06 16:01:03:480 | Read 'pinnedHashes' from keystore: 
V | 2018/06/06 16:01:03:486 | Read 'pinnedHashes' from keystore: 62:708:69:76:65:72:d1:06:07:54:2e:6f:62:6a:65:63:7
E | 2018/06/06 16:01:03:506 | Pinning failed for hash: 53:c4:7c::2d:ff:10:4e:0c:3b:8a:36
V | 2018/06/06 16:01:03:512 | Removed last invalid hash
V | 2018/06/06 16:01:03:518 | Wrote 'lastInvalidHash' successfully to keychain
V | 2018/06/06 16:01:05:528 | Status code: 0
E | 2018/06/06 16:01:05:528 | Connection Error: Error Domain=NSURLErrorDomain Code=-999 "annulé" UserInfo={NSErrorFailingURLKey=TOTO/.../checkin, NSErrorFailingURLStringKey=TOTO/.../checkin, NSLocalizedDescription=annulé}
E | 2018/06/06 16:01:05:530 | Error sending activation data, no response from server
W | 2018/06/06 16:01:05:531 | Activation did finish with error: {
reason = ErrorUndefined;
summary = ErrorCouldNotActivate;
}
E | 2018/06/06 16:01:05:532 | Activation wizard view controller did finish with error: {
reason = ErrorUndefined;
summary = ErrorCouldNotActivate;
}
E | 2018/06/06 16:01:05:533 | Activation did finish with error: {
reason = ErrorUndefined;
summary = ErrorCouldNotActivate;" 

 

The enrolment is working well with Android devices.

I tried to create a new certificate from Apple, also a new certificate from Sophos, but it didn't solved the problem.

The ports 5223, 8192, 8193, 8194, 443, 80, 2195, 2196 are opened...

 

Does anyone have a suggestion to fix it?

 

Thank you

Pierre

  • Does manual setup work? Instead of scanning QR, enter the information manually. I know sometimes the QR code wont work for us and it requires us to restart our on-premise MDM VM to fix it. 

  • In reply to MatthewBosley:

    I've tried to add via the QR and also manually. The QR fails and adding the device manually fails as well. I did notice that the device does get added to Endpoint, however it does not process the policies. I've tried to enroll the device with no success.