iOS Question Problem uploading to itunes

davemorris

Active Member
Licensed User
Longtime User
Hi, Guy
Just tried to upload a new version of my code to itunes and it returned an error (it has always previously worked) - It seems to be reporting a general error - see below (any suggestions)
The user id and password is the one I always use.
-------------------
Uploading ipa file.
Submitting app (this step can take several minutes to complete).
Error: 2024-01-06 22:41:45.811 Starting altool...
2024-01-06 22:41:45.814 Initializing bundle from: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework
2024-01-06 22:41:45.818 Will look for transporter at executable bundle relative path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2024-01-06 22:41:45.818 Looking for Transporter at path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2024-01-06 22:41:45.818 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2024-01-06 22:41:45.818 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../itms/bin/iTMSTransporter
2024-01-06 22:41:45.818 Looking for Transporter at path: /Applications/Transporter.app/Contents/itms/bin/iTMSTransporter
2024-01-06 22:41:45.818 Looking for Transporter at path: /usr/local/itms/bin/iTMSTransporter
2024-01-06 22:41:45.818 Using default transporter location: /usr/local/itms/bin/iTMSTransporter
2024-01-06 22:41:45.820 Will look for transporter at executable bundle relative path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2024-01-06 22:41:45.820 Looking for Transporter at path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2024-01-06 22:41:45.820 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2024-01-06 22:41:45.820 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../itms/bin/iTMSTransporter
2024-01-06 22:41:45.820 Looking for Transporter at path: /Applications/Transporter.app/Contents/itms/bin/iTMSTransporter
2024-01-06 22:41:45.820 Looking for Transporter at path: /usr/local/itms/bin/iTMSTransporter
2024-01-06 22:41:45.820 Using default transporter location: /usr/local/itms/bin/iTMSTransporter
2024-01-06 22:41:45.820 iTMSTransporter is not available. Using REST APIs.
2024-01-06 22:41:46.438
=======================
WEB SERVICE REQUEST 'generateAppleConnectToken'
URL: https://contentdelivery.itunes.apple.com/WebObjects/MZLabelService.woa/json/MZITunesSoftwareService
timeout: 1800
method: POST
httpHeaders: {
"Content-Length" = 511;
"Content-Type" = "application/json";
"x-request-id" = "20240106224146-957";
"x-tx-client-name" = altool;
"x-tx-client-version" = "7.006 (15006)";
"x-tx-method" = generateAppleConnectToken;
}
httpBody: {
id = "20240106224146-957";
jsonrpc = "2.0";
method = generateAppleConnectToken;
params = {
Application = altool;
ApplicationBundleId = "com.apple.itunes.altool";
FrameworkVersions = {
"com.apple.itunes.connect.ITunesConnectFoundation" = "7.006 (15006)";
"com.apple.itunes.connect.ITunesConnectFoundationExtras" = "7.006 (15006)";
"com.apple.itunes.connect.ITunesPackage" = "7.006 (15006)";
};
OSIdentifier = "Mac OS X 14.2.1 (x86_64)";
Password = **hidden value**;
Username = "[email protected]";
Version = "7.006 (15006)";
};
}
=======================
2024-01-06 22:41:47.127
=======================
WEB SERVICE RESPONSE (generateAppleConnectToken):
status code: 200 (no error)
MIME/TYPE: application/json
httpHeaders: {
"Accept-Language" = "en-GB,en;q=0.9";
"Cache-Control" = "private, no-cache, no-store, must-revalidate, max-age=0";
Connection = "keep-alive";
"Content-Encoding" = gzip;
"Content-Length" = 225;
"Content-Type" = "application/json";
Date = "Sat, 06 Jan 2024 22:41:47 GMT";
Expires = "Thu, 04-Jan-2024 19:09:50 GMT";
Pragma = "no-cache";
Server = "daiquiri/3.0.0";
"Strict-Transport-Security" = "max-age=31536000; includeSubDomains";
"apple-originating-system" = MZContentDeliveryProducer;
"apple-seq" = "0.0";
"apple-timing-app" = "267 ms";
"apple-tk" = false;
b3 = "817aba5b1eaa9068553928226d69cd6a-70ea069c4f8778fb";
"x-apple-application-instance" = 241015;
"x-apple-application-site" = MR22;
"x-apple-jingle-correlation-key" = QF5LUWY6VKIGQVJZFARG22ONNI;
"x-apple-request-uuid" = "817aba5b-1eaa-9068-5539-28226d69cd6a";
"x-b3-spanid" = 70ea069c4f8778fb;
"x-b3-traceid" = 817aba5b1eaa9068553928226d69cd6a;
"x-daiquiri-instance" = "daiquiri:13624002:mr85p00it-hyhk03094901:7987:23HOTFIX13:daiquiri-amp-processing-shared-int-001-mr, daiquiri:18493001:mr85p00it-hyhk03154801:7987:23HOTFIX13:daiquiri-amp-all-shared-ext-001-mr";
"x-json-content-length" = 454;
"x-request-through-daiquiri-producer" = "mr-internal";
"x-responding-instance" = "MZContentDeliveryProducer:241015:::";
"x-webobjects-loadaverage" = 0;
}
httpBody: {"result":{"Errors":["Unable to generate an Apple Connect token at this time due to a general error (1611)"],"RestartClient":false,"ErrorCode":1611,"ErrorMessage":"Unable to generate an Apple Connect token at this time due to a general error (1611)","ShouldUseRESTAPIs":false,"Success":false},"id":"20240106224146-957","jsonrpc":"2.0","error":{"message":"Unable to generate an Apple Connect token at this time due to a general error (1611)","code":1611}}
=======================
2024-01-06 22:41:47.129 Web service call (generateAppleConnectToken) result: {
ErrorCode = 1611;
ErrorMessage = "Unable to generate an Apple Connect token at this time due to a general error (1\U2026";
Errors = (
"Unable to generate an Apple Connect token at this time due to a general error (1\U2026"
);
RestartClient = 0;
ShouldUseRESTAPIs = 0;
Success = 0;
}
2024-01-06 22:41:47.138 {
ErrorCode = 1611;
ErrorMessage = "Unable to generate an Apple Connect token at this time due to a general error (1611)";
Errors = (
"Unable to generate an Apple Connect token at this time due to a general error (1611)"
);
RestartClient = 0;
ShouldUseRESTAPIs = 0;
Success = 0;
}
2024-01-06 22:41:47.139 Non-localized server string received: 'Unable to generate an Apple Connect token at this time due to a general error'.
2024-01-06 22:41:47.140 Non-localized server string received: 'Unable to generate an Apple Connect token at this time due to a general error'.
2024-01-06 22:41:47.241 Bad status code: <MZWebServiceDAWTokenForUsernameAndPassword: 0x7f7e84c04660>
2024-01-06 22:41:47.241 *** Error: Error uploading 'StormRun.ipa'.
2024-01-06 22:41:47.242 *** Error: Unable to upload archive. Failed to get authorization for username '[email protected]' and password. (
"Error Domain=NSCocoaErrorDomain Code=0 \"Status code: 0\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}"
) (-1011)
{
NSLocalizedDescription = "Unable to upload archive.";
NSLocalizedFailureReason = "Failed to get authorization for username '[email protected]' and password. (\n \"Error Domain=NSCocoaErrorDomain Code=0 \\\"Status code: 0\\\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}\"\n)";
}

Thanks Dave
 

davemorris

Active Member
Licensed User
Longtime User
Very sorry guys - I fixed it!

Was using the wrong password - I was using the Apple account password not the App Specific Password. It now works
 
Upvote 0
Solution
Top