查看詳情

xcrun altool提交APP STORE報錯網絡異常,錯誤代碼-26000,-1011的分析及解決

提交APP到APP STORE上審核,出錯了,使用 xcrun altool --validate-app -f /My/1.0.ipa -t ios --apiKey HMXL9464NW --apiIssuer c72e7e49-7e99-49ub-8db3-16d1d5e09591 --verbose 命令進行校驗時報錯,信息一大堆,如下:


Last login: Wed May 13 23:13:43 on ttys000

localhost:~ admin$ xcrun altool --validate-app -f /My/1.0.ipa -t ios --apiKey HMXL9464NW --apiIssuer c72e7e49-7e99-49ub-8db3-16d1d5e09591 --verbose

2020-05-13 23:27:43.814 altool[1735:3947350] Verbose logging enabled.

Generated JWT: eyJhbGciOiJFUzI1NiIsImtpZCI6IlhMWEw5NDY0TlciLCJ0eXAiOiJKV1QifQ.eyJleHAiOjE1ODkzODQ4NjQsImlzcyI6ImM3MmU3ZTQ5LTdlOTktNGYwYi04ZGIzLTE2ZDFkNWUwOTU5MSIsImF1ZCI6ImFwcHN0b3JlY29ubmVjdC12MSIsImlhdCI6MTU4OTM4MzY2NH0.dLpxTSQDVqIIIOze4AsGtZUF6xzZml-r2uURFhmax_upMFJgd03RawfDqTuapGn8poIVykeY1Ps7wgCq7b29nw

2020-05-13 23:27:43.818 altool[1735:3947350] *** SESSION AUTH: Webservice call to create a transporter session.

2020-05-13 23:27:43.821 altool[1735:3947368] {

    Authorization = "Bearer eyJhbGciOiJFUzI1NiIsImtpZCI6IlhMWEw5NDY0TlciLCJ0eXAiOiJKV1QifQ.eyJleHAiOjE1ODkzODQ4NjQsImlzcyI6ImM3MmU3ZTQ5LTdlOTktNGYwYi04ZGIzLTE2ZDFkNWUwOTU5MSIsImF1ZCI6ImFwcHN0b3JlY29ubmVjdC12MSIsImlhdCI6MTU4OTM4MzY2NH0.dLpxTSQDVqIIIOze4AsGtZUF6xzZml-r2uURFhmax_upMFJgd03RawfDqTuapGn8poIVykeY1Ps7wgCq7b29nw";

}

2020-05-13 23:27:43.847 altool[1735:3947368] jsonURL = https://contentdelivery.itunes.apple.com/WebObjects/MZLabelService.woa/json/MZContentDeliveryService

2020-05-13 23:27:43.848 altool[1735:3947368] jsonRequest as dictionary = {

    id = "20200513232743-027";

    jsonrpc = "2.0";

    method = authenticateForSession;

    params =     {

        Application = altool;

        ApplicationBundleId = "com.apple.itunes.altool";

        FrameworkVersions =         {

            "com.apple.itunes.connect.ITunesConnectFoundation" = "4.00 (1181)";

            "com.apple.itunes.connect.ITunesPackage" = "4.00 (1181)";

            "com.apple.itunes.connect.MZXMLMarshalling" = "4.00 (1181)";

        };

        HttpHeaders =         {

            Authorization = "Bearer eyJhbGciOiJFUzI1NiIsImtpZCI6IlhMWEw5NDY0TlciLCJ0eXAiOiJKV1QifQ.eyJleHAiOj...";

        };

        OSIdentifier = "Mac OS X 10.14.5 (x86_64)";

        Version = "4.00 (1181)";

    };

}

2020-05-13 23:27:43.848 altool[1735:3947368] Setting request length to: 761

2020-05-13 23:27:45.982 altool[1735:3947368] MZWebServiceAuthenticateForSession connection:didReceiveResponse:: -1

2020-05-13 23:27:45.982 altool[1735:3947368] MZWebServiceAuthenticateForSession connection:didReceiveData:: 60

2020-05-13 23:27:45.982 altool[1735:3947368] *** Error: Server returned an invalid MIME type: text/plain, body: Unauthenticated


Request ID: NOR33SYIJ5ZRFUKIAE6EAPEQBM.0.0

2020-05-13 23:27:45.998 altool[1735:3947368] Web service call (authenticateForSession) result: {

    ErrorMessage = "The server returned an invalid response. This may indicate that a network proxy ...";

    Errors =     (

        "The server returned an invalid response. This may indicate that a network proxy ..."

    );

}

2020-05-13 23:27:45.998 altool[1735:3947368] {

    ErrorMessage = "The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later.";

    Errors =     (

        "The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later."

    );

}

2020-05-13 23:27:46.069 altool[1735:3947350] *** Error: Unable to validate archive '/My/1.0.ipa': (

    "Error Domain=NSCocoaErrorDomain Code=-1011 \"Authentication failed\" UserInfo={NSLocalizedDescription=Authentication failed, NSLocalizedFailureReason=Failed to authenticate for session: (\n    \"Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-26000 \\\"The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later.\\\" UserInfo={NSLocalizedRecoverySuggestion=The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later., NSLocalizedDescription=The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later., NSLocalizedFailureReason=App Store operation failed.}\"\n)}"

)


看這報錯信息好像跟網絡狀態有關,可能是由于代理服務器異常或者蘋果服務器異常導致的,拿提示的ITunesConnectionAuthenticationErrorDomain Code=-26000,或者The server returned an invalid response. This may indicate that a network proxy去百度上搜索,沒有找到什么實質性的解決辦法,考慮到我本機并未使用代理服務器上傳,蘋果服務器出問題的概率更小,那就有可能是網絡原因導致的,可以嘗試重置電腦、路由器試試,果然,電腦重置一下就可以上傳了。

備忘:還有一個情況,由于其他原因,當時提交APP的時候,我本機設置的時間比實際時間晚兩天,重啟后我將電腦時間修正了。


原創內容,轉載請注明出處:網站建設,APP開發,小程序開發請找江西居道科技有限公司,http://www.419003.tw

智能建站系統代理招商
所屬分類:文章中心??????Time:2020-05-15 22:17:36??????人氣:713
關閉
13517086454
球探足球比分app下载苹果 ds视讯怎么下载 一定牛江西快三五省 河内五分彩实战经验 亿客隆 波叔一波中特万料堂平台 上海时时乐走势图360 中国福利彩票中奖 广西快3全天计划群 体彩排列5中几个有奖 重庆幸运农场最新开奖结果 澳洲幸运5哪里有提前开 江苏11选5历史开奖数据查询 香港六合彩开奖结果表 高频彩缩水手机正式版下载v2 360彩票走势图表11选5 MG真人官网