Communication with Apple failed A non-HTTP 200 response was received (400) for URL https://developerservices2.apple.com/services/QH65B2/ios/submitDevelopmentCSR.action?clientId=XABBG36SBA

Has someone run into this problem in Xcode?

I was trying to run a sample iOS project on real device with personal team. with automatically manage signing on. But Xcode show the error:

Communication with Apple failed A non-HTTP 200 response was received (400) for URL https://developerservices2.apple.com/services/QH65B2/ios/submitDevelopmentCSR.action?clientId=XABBG36SBA

error screenshot

At first I thought this is a problem with apple's server. But 4 days later I still have this problem in my Xcode.

There are similar topics on apple developer forum but with no replies

Replies

here is the request failed detail:



2018-11-29 02:00:01 +0000 IDEProvisioningLedgerEntry: 2018-11-29 02:00:01 +0000 IDEProvisioningLedgerEntry: Sending request 7D28B80A-3C7B-4535-A776-92FB191DF18B to <https://developerservices2.apple.com/services/QH65B2/ios/submitDevelopmentCSR.action?clientId=XABBG36SBA> for account weizhou.feng@***.com. Payload:

{

Accept = "text/x-xml-plist";

"Accept-Encoding" = "gzip, deflate";

"Content-Length" = 1516;

"Content-Type" = "text/x-xml-plist";

DSESSIONID = 177fh3khme0oc4ih6aqiqjrplffc4ntjniqpiifj9hlfll77puo6;

"User-Agent" = Xcode;

"X-Apple-App-Info" = "com.apple.gs.xcode.auth";

"X-Apple-GS-Token" = "AAAABLwIAAAAAFv9R0QRDWdzLnhjb2RlLmF1dGi9ALpO7vMavQV+BpusdOu2LPR9H0ZfEWnrOA/LVa6umyhuVLw0Qlp+S+0pECPe3Ag/87je9/r1yX0kaiU3aZXBfC7lLzrO1Uyqw6RBXzUKAE3RylC/yyR6amg6M0xFcHTQ2NUNGBST6UB6E7ABqQF970AuMVFE";

"X-Apple-I-Client-Time" = "2018-11-29T02:00:01Z";

"X-Apple-I-Identity-Id" = "001813-08-84bec2e6-c49c-468f-b046-5c73b7098776";

"X-Apple-I-Locale" = "en_CN";

"X-Apple-I-MD" = "AAAABQAAABDtg6G3vHzGPwm3p4Xf/gxUAAAAAQ==";

"X-Apple-I-MD-LU" = 5E67C8EC865A7D1B5D2D9DF4C4E0B94DAE6CC38031E39D6E0BD85C20A6262282;

"X-Apple-I-MD-M" = "zYf50UanS29ND7NL21VIyva+k49SRqLRI7kOAY76AfIvGfPBYDhsA1iUY+xRXGuotqtrKz1Kmm4RreIZ";

"X-Apple-I-MD-RINFO" = 17106176;

"X-Apple-I-TimeZone" = "GMT+8";

"X-MMe-Client-Info" = "<iMac18,3> <Mac OS X;10.13.6;17G65> <com.apple.AuthKit/1 (com.apple.dt.Xcode/14460.46)>";

"X-Mme-Device-Id" = "C30C07C8-C8CA-5F2E-9DC8-70AC10B934F6";

"X-Xcode-Version" = "10.1 (10B61)";

}

{

"DTDK_Platform" = ios;

clientId = xxxxxxxxxx;

csrContent = "-----BEGIN CERTIFICATE REQUEST-----\nXMIICRTCCAS0CAQAwADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKhR\nFsNrgoA44yDw2z2FhGnommbnAuEfY/GQhjbfo2uqKyOvJnMIfn5fc4LNK20/Vhs4\nSAIDSJFYIWmlq2Ryof1bRY523Gllz8BQgoI+u9lFw6mK3kq9tIaUJ2cCwdEvOxkY\nDg9VbTUYQ7fM37Bvc49WWKHMHJsJzqOIA9rPHJNzNqIFf9Euj25ezl5JJpWdx4LM\nQbOM8x6CijHDE0PeEtnvswXOKkH1/UlMs0AjdL9LlezynfVK320ZAe+2Af5zo2PN\nhH1knWdwHKE5lznbJAZ5boKvwoc2l6uKQp5JqFwznWQaj0CK1PQ6YbeNHaub+sUh\nTcnl62AbLH0GR7Je/NkCAwEAAaAAMA0GCSqGSIb3DQEBBQUAA4IBAQAXiTPOkM5R\nXa6FJnCEtr3CR95w364T3Fqv9siIZmq6E6YRJr55jMsE718MZasd359EupurrF2h\nBcV9hazty7JxIxdVbZuO0XsOjYEwjJ03n2U50JVMkXckxxqP5E2NC8QA+Y5VTxWH\nragBA32I5vr68qmbwDB2sMUleChgJ5InqRa0FAmTe0FBn3Kk2UfXy3qmRALsEJIx\nmWsThlY3545uRNLSTYsSolFsGIII2+2z6c5cWLEF371pyFI8DiQuRUFbnXm1pwix\nSuekfKOVez8bWPmffVBQ65QeABeo/+Tf2D3AKBLut7WuTeb+lKU5Z9TK64it8YEQ\nXRem8vVxrBnt\n-----END CERTIFICATE REQUEST-----\n";

machineId = "xxxxxxxxxxxxxxxxxxxxxxxxxxx";

machineName = "xxxxxxx\U7684iMac";

protocolVersion = QH65B2;

requestId = "7D28B80A-3C7B-4535-A776-92FB191DF18B";

teamId = xxxxxxxxxxx;

}


2018-11-29 02:00:02 +0000 IDEProvisioningLedgerEntry: 2018-11-29 02:00:02 +0000 IDEProvisioningLedgerEntry: Received response for 7D28B80A-3C7B-4535-A776-92FB191DF18B @ <https://developerservices2.apple.com/services/QH65B2/ios/submitDevelopmentCSR.action?clientId=XABBG36SBA>. Error = Error Domain=DVTPortalResponseErrorDomain Code=0 "Communication with Apple failed" UserInfo={NSLocalizedDescription=Communication with Apple failed, NSLocalizedRecoverySuggestion=A non-HTTP 200 response was received (400) for URL https://developerservices2.apple.com/services/QH65B2/ios/submitDevelopmentCSR.action?clientId=xxxxxxxxx}


2018-11-29 02:00:02 +0000 IDEProvisioningLedgerEntry: 2018-11-29 02:00:02 +0000 IDEProvisioningLedgerEntry: Response payload: HTTP 400 Bad Request

im having the same issue, installed xcode 2 times and it didnt work. I tried my phone on another macbook and it worked so the problem its in the macbook. i have tried everything but didnt work. i have the theory that if i enroll the development bundle will get fix but i aint goint to pay 100 bucks. if you find a solution please notify me. Thanks and good luck!

Have you solved this problem?

I am confused with this problem. If you have any solution, please notify me!