1 Reply Latest reply: Nov 7, 2017 3:03 AM by Roel van de Ven RSS

    App download fails in Qlik Sense Mobile

    Stefan Utermark

      Hi@World,

       

      I try to familiarize myself with the Qlik Sense Mobile app. After problems with the server login I can now work online. However, I can't download apps because I always get this error:"App download failed when downloading "xxx" a problem occurred. The network connection has been disconnected."

       

      Image-1.jpg

       

      Additional information:

       

      Qlik Sense Mobile App: 1.1.35

      Qlik Sense: September 2017 (11.14.3)

       

      I've looked also in the mobile logs and found this error:


      2017-10-25 14:25:20,415-DEBUG received failure: 11; details: {httpStatusCode: 500; contentType: application/json; charset=utf-8; content: {"type":"error","severity":"WARNING","message":"The service did not respond or could not process the request"}} =>virtual void DownloadSessionImpl::onRequestFailure(HttpRequestSender::HttpRequestSenderErrorCode, HttpRequestSender::ResponseDetails &, uint32_t)(301) [0x1b1922b80]<=


      Knows someone else. this problem or has a solution? Could we missed to open relevant ports? For api service downloadprep?


      Log Detail
      2017-10-25 14:25:20,111-INFO  WEB>>: (debug) ["Download requested for online app: 0e2cc163-a5c9-47ed-bf72-560ae5ed4939"]<<WEB =>void PresentationManagerImpl::notifyMessageFromJavascript(QString)(158) [0x1b1922b80]<=

      2017-10-25 14:25:20,114-DEBUG HttpProxy: processing HTTP request 8 /local/api/csm/v0/downloads?cachebust=1508934320101 =>void HttpHandler::route(HttpSocketWrapper *, const QString &)(73) [0x1b1922b80]<=

      2017-10-25 14:25:20,114-DEBUG process = downloads =>virtual void SyncApiHandlerImpl::process(HttpSocketWrapper *, const QString &)(21) [0x1b1922b80]<=

      2017-10-25 14:25:20,115-DEBUG Json text is : {"appId":"0e2cc163-a5c9-47ed-bf72-560ae5ed4939","bookmarkId":null} =>bool HttpSocket::readJson(QJsonDocument &)(349) [0x1b1922b80]<=

      2017-10-25 14:25:20,115-DEBUG Starting a new download with appId: 0e2cc163-a5c9-47ed-bf72-560ae5ed4939 bookmarkId:  =>virtual void SyncApiHandlerImpl::process(HttpSocketWrapper *, const QString &)(105) [0x1b1922b80]<=

      2017-10-25 14:25:20,116-DEBUG New DownloadSession created for server appId: 0e2cc163-a5c9-47ed-bf72-560ae5ed4939 and bookmark ; destination dir: /var/mobile/Containers/Data/Application/F2C959A8-9D04-466B-AF21-1AE3C5371400/Documents/home/441f778e/suk-a502aa93; tmp dir: /var/mobile/Containers/Data/Application/F2C959A8-9D04-466B-AF21-1AE3C5371400/Documents/tmp/441f778e/suk-a502aa93/bd3ff1eb31d73db73eb2fc1c22e57bda.qvf =>virtual void DownloadSessionImpl::start(const QString &, const QString &, const QString &, const QString &, const QString &, const QString &, bool)(77) [0x1b1922b80]<=

      2017-10-25 14:25:20,116-DEBUG Generated app Idbd3ff1eb31d73db73eb2fc1c22e57bda.qvf; download id: bd3ff1eb31d73db73eb2fc1c22e57bda.qvf =>virtual void DownloadSessionImpl::start(const QString &, const QString &, const QString &, const QString &, const QString &, const QString &, bool)(78) [0x1b1922b80]<=

      2017-10-25 14:25:20,116-TRACE  =>UscResult DownloadSessionImpl::obtainDownloadUrlFromServer()(452) [0x1b1922b80]<=

      2017-10-25 14:25:20,116-DEBUG trying to connect to https://xxx.de/api/downloadprep/export/app; method: 0 opaque Id: 0 =>bool HttpRequestSenderImpl::sendRequest(const QString &, HttpRequestSender::HttpRequestSenderResultListener *, uint32_t, HttpRequestSenderImpl::HttpRequestSenderMethod, const QByteArray &)(65) [0x1b1922b80]<=

      2017-10-25 14:25:20,117-DEBUG startNewDownload result: 0 =>virtual void SyncApiHandlerImpl::process(HttpSocketWrapper *, const QString &)(109) [0x1b1922b80]<=

      2017-10-25 14:25:20,117-DEBUG JSonResponse: {

          "created": "",

          "downloadedSize": 0,

          "id": "bd3ff1eb31d73db73eb2fc1c22e57bda.qvf",

          "parentId": "0e2cc163-a5c9-47ed-bf72-560ae5ed4939",

          "state": 0,

          "totalSize": 0

      }

      =>virtual void SyncApiHandlerImpl::process(HttpSocketWrapper *, const QString &)(115) [0x1b1922b80]<=

      2017-10-25 14:25:20,415-DEBUG QT Error: 401; HTTP status code: 500 =>void HttpRequestSenderImpl::onError(QNetworkReply::NetworkError)(125) [0x1b1922b80]<=

      2017-10-25 14:25:20,415-DEBUG  =>void HttpRequestSenderImpl::onFinished()(154) [0x1b1922b80]<=

      2017-10-25 14:25:20,415-DEBUG received failure: 11; details: {httpStatusCode: 500; contentType: application/json; charset=utf-8; content: {"type":"error","severity":"WARNING","message":"The service did not respond or could not process the request"}} =>virtual void DownloadSessionImpl::onRequestFailure(HttpRequestSender::HttpRequestSenderErrorCode, HttpRequestSender::ResponseDetails &, uint32_t)(301) [0x1b1922b80]<=

      2017-10-25 14:25:20,416-TRACE  =>void DownloadSessionImpl::doTerminate(UscResult, const QString &, const QString &)(412) [0x1b1922b80]<=

      2017-10-25 14:25:20,416-DEBUG errorCode: 13; errorString: Failure to do POST request to PrepForDownload service: 11 =>void DownloadSessionImpl::announceDownloadFailedToWebView(UscResult, const QString &, const QString &)(380) [0x1b1922b80]<=

      2017-10-25 14:25:20,416-INFO  WebSocket Server Send API: {"jsonrpc":"2.0","method":"onDownloadError","params":{"appId":"bd3ff1eb31d73db73eb2fc1c22e57bda.qvf","downloadId":"bd3ff1eb31d73db73eb2fc1c22e57bda.qvf","errorCode":13,"errorData":"","errorMessage":"Failure to do POST request to PrepForDownload service: 11","parentAppId":"0e2cc163-a5c9-47ed-bf72-560ae5ed4939","self":"TBD"}} =>virtual void MessengerImpl::send(const QString &, const QJsonDocument &)(156) [0x1b1922b80]<=

      2017-10-25 14:25:20,416-DEBUG terminationCause: 13; mbFinalAnnouncementDone: 0 =>void DownloadSessionImpl::announceDownloadSessionTerminatedToOwner()(437) [0x1b1922b80]<=

      2017-10-25 14:25:20,417-DEBUG Group:DownloadSessions-441f778e Key:a502aa93bf344f95a9f0d0808fd9ab78ace970c310acd1a3170cb4124f9a01c2 Value: =>virtual QVariant AppConfigImpl::getIniSetting(const QString &, const QString &)(123) [0x1b1922b80]<=

      2017-10-25 14:25:20,417-DEBUG Entry not found in INI file for DownloadSessions-441f778e:a502aa93bf344f95a9f0d0808fd9ab78ace970c310acd1a3170cb4124f9a01c2 =>virtual const QString PersistentDataStoreImpl::get(const QString &, const QString &)(42) [0x1b1922b80]<=

      2017-10-25 14:25:20,418-TRACE  =>virtual int DependencyTrackerImpl::listOrphanedExtnEntries(DependencyExtnList &)(505) [0x1b1922b80]<=

      2017-10-25 14:25:20,418-TRACE  =>virtual int DependencyTrackerImpl::removeOrphanedExtnEntries()(529) [0x1b1922b80]<=

      2017-10-25 14:25:20,418-TRACE  =>bool DependencyTrackerImpl::saveDependencies(const QString &, const QString &)(577) [0x1b1922b80]<=

      2017-10-25 14:25:20,434-DEBUG Result=1 =>bool DependencyTrackerImpl::saveDependencies(const QString &, const QString &)(615) [0x1b1922b80]<=

      2017-10-25 14:25:20,435-DEBUG Killed 0 orphans. =>virtual int DependencyTrackerImpl::removeOrphanedExtnEntries()(551) [0x1b1922b80]<=

      2017-10-25 14:25:20,438-DEBUG Message name ConsoleLog =>void PresentationManagerImpl::notifyMessageFromJavascript(QString)(90) [0x1b1922b80]<=

      2017-10-25 14:25:20,438-INFO  WEB>>: (debug) ["WebSocket.onmessage: {\"jsonrpc\":\"2.0\",\"method\":\"onDownloadError\",\"params\":{\"appId\":\"bd3ff1eb31d73db73eb2fc1c22e57bda.qvf\",\"downloadId\":\"bd3ff1eb31d73db73eb2fc1c22e57bda.qvf\",\"errorCode\":13,\"errorData\":\"\",\"errorMessage\":\"Failure to do POST request to PrepForDownload service: 11\",\"parentAppId\":\"0e2cc163-a5c9-47ed-bf72-560ae5ed4939\",\"self\":\"TBD\"}}"]<<WEB =>void PresentationManagerImpl::notifyMessageFromJavascript(QString)(158) [0x1b1922b80]<=

      2017-10-25 14:25:20,444-DEBUG Message name ConsoleLog =>void PresentationManagerImpl::notifyMessageFromJavascript(QString)(90) [0x1b1922b80]<=

      2017-10-25 14:25:20,445-INFO  WEB>>: (debug) ["Error details: 13 - Failure to do POST request to PrepForDownload service: 11 - Die Netzwerkverbindung wurde unterbrochen. - true;"]<<WEB =>void PresentationManagerImpl::notifyMessageFromJavascript(QString)(158) [0x1b1922b80]<=

      2017-10-25 14:25:20,455-DEBUG HttpProxy: processing HTTP request 8 /local/api/v0/notifications?cachebust=1508934320448 =>void HttpHandler::route(HttpSocketWrapper *, const QString &)(73) [0x1b1922b80]<=

      2017-10-25 14:25:20,455-DEBUG Json text is : {"title":"App-Download ist fehlgeschlagen","message":"Beim Herunterladen von „Consumer Sales“ ist ein Problem aufgetreten. Die Netzwerkverbindung wurde unterbrochen."} =>bool HttpSocket::readJson(QJsonDocument &)(349) [0x1b1922b80]<=

      2017-10-25 14:25:30,072-DEBUG Application state: Active =>virtual PlatformServicesValues::eState PlatformServicesImpl::getCurrentApplicationState()(567) [0x1b1922b80]<=

      2017-10-25 14:25:30,082-INFO  STATUS INFO1: Name:<xxx> Dev:<iPad> Model:<iPad5,3> Id:<xxx> =>virtual void PlatformServicesImpl::logStatus(bool)(307) [0x1b1922b80]<=

      2017-10-25 14:25:30,082-INFO  STATUS INFO2: O/S:<iOS 11.0> Kern:<darwin> CPU:<arm64> =>virtual void PlatformServicesImpl::logStatus(bool)(308) [0x1b1922b80]<=

      2017-10-25 14:25:30,082-INFO  STATUS INFO3: State:<Active> Net:<WiFi> Orientation:<Land Right> =>virtual void PlatformServicesImpl::logStatus(bool)(309) [0x1b1922b80]<=

      2017-10-25 14:25:30,083-INFO  STATUS  RES1: Memory App-Use: 72,368,128    All-App-Use: 1,709,260,800  Free: 53,919,744    Est-GPU-Use: 321,388,544    Total: 2,084,569,088  =>virtual void PlatformServicesImpl::logStatus(bool)(310) [0x1b1922b80]<=

      2017-10-25 14:25:30,083-INFO  STATUS  RES2:  Home Dir Size: 376,832        | CPU: %0.9 Sec: 22 uSec: 6,063,068 =>virtual void PlatformServicesImpl::logStatus(bool)(311) [0x1b1922b80]<=

      2017-10-25 14:25:32,358-DEBUG HttpProxy: processing HTTP request 8 /local/api/diagnostics/v0/sendlogs?cachebust=1508934332347 =>void HttpHandler::route(HttpSocketWrapper *, const QString &)(73) [0x1b1922b80]<=

      2017-10-25 14:25:32,358-TRACE  =>virtual void ProductSupportHandlerImpl::process(HttpSocketWrapper *, const QString &)(30) [0x1b1922b80]<=

      2017-10-25 14:25:32,359-DEBUG Zipping up logs into: </private/var/mobile/Containers/Data/Application/F2C959A8-9D04-466B-AF21-1AE3C5371400/tmp/Qlik Sense Mobile-zIKmsb/QSM-Logs-2017-10-25T14:25:32.zip> =>void ProductSupportHandlerImpl::sendLogs(QString)(58) [0x1b1922b80]<=

      2017-10-25 14:25:32,363-DEBUG Application state: Active =>virtual PlatformServicesValues::eState PlatformServicesImpl::getCurrentApplicationState()(567) [0x1b1922b80]<=

      2017-10-25 14:25:32,372-INFO  STATUS INFO1: Name:<xxx> Dev:<iPad> Model:<iPad5,3> Id:<xxx> =>virtual void PlatformServicesImpl::logStatus(bool)(307) [0x1b1922b80]<=

      2017-10-25 14:25:32,372-INFO  STATUS INFO2: O/S:<iOS 11.0> Kern:<darwin> CPU:<arm64> =>virtual void PlatformServicesImpl::logStatus(bool)(308) [0x1b1922b80]<=

      2017-10-25 14:25:32,372-INFO  STATUS INFO3: State:<Active> Net:<WiFi> Orientation:<Land Right> =>virtual void PlatformServicesImpl::logStatus(bool)(309) [0x1b1922b80]<=

      2017-10-25 14:25:32,372-INFO  STATUS  RES1: Memory App-Use: 72,368,128    All-App-Use: 1,724,792,832  Free: 38,535,168    Est-GPU-Use: 321,241,088    Total: 2,084,569,088  =>virtual void PlatformServicesImpl::logStatus(bool)(310) [0x1b1922b80]<=

      2017-10-25 14:25:32,373-INFO  STATUS  RES2:  Home Dir Size: 376,832        | CPU: %4.8 Sec: 23 uSec: 5,185,235 =>virtual void PlatformServicesImpl::logStatus(bool)(311) [0x1b1922b80]<=

      2017-10-25 14:25:32,429-DEBUG Opening Home-Files.txt for write /var/mobile/Containers/Data/Application/F2C959A8-9D04-466B-AF21-1AE3C5371400/Documents/Qlik/Sense/Logs/Home-Files.txt =>long ProductSupportHandlerImpl::prepareLogsZipFile(QString, QString)(85) [0x1b1922b80]<=

      2017-10-25 14:25:32,461-DEBUG Opening Qix Engine log path/file pairs file for write /var/mobile/Containers/Data/Application/F2C959A8-9D04-466B-AF21-1AE3C5371400/Documents/Qlik/Sense/Logs/QixEngineLogPrefixes.txt =>void LogHandler::writeQixEngineLogPathFilePairsToFile()(576) [0x1b1922b80]<=

       

      Thx for help and cheers

      Stefan