Topic
  • 2 replies
  • Latest Post - ‏2013-01-27T06:54:45Z by IdanAdar
SystemAdmin
SystemAdmin
2327 Posts

Pinned topic Direct Update Issue

‏2013-01-22T16:35:39Z |
I am using Workligh Enterprise Server 5.0.5 with an IPad app and my direct update gives me the following error after downloading the udpate 'Failed to load webpage with error: The requested URL was not found on this server'. I get this error on XCode Simulator as well as IPad.

How can I found out what URL was not found on the server?
  • SystemAdmin
    SystemAdmin
    2327 Posts

    Re: Direct Update Issue

    ‏2013-01-25T19:07:33Z  
    Xcode console output attached.
    2013-01-25 00:11:34.429 JetCareConnect8726:4303 Web resources integrity test is disabled.
    2013-01-25 00:11:34.433 JetCareConnect8726:c07 Multi-tasking -> Device: YES, App: YES
    2013-01-25 00:11:34.706 JetCareConnect8726:c07 LOG ondeviceready event dispatched
    2013-01-25 00:11:34.706 JetCareConnect8726:c07 {
    appVersionPref = "1.0";
    freeSpace = 62219145216;
    wlSkinLoaderChecksum = "(null)";
    wlSkinName = default;
    }
    2013-01-25 00:11:34.709 JetCareConnect8726:c07 LOG Application did not define an i18n messages object, skipping translation.
    2013-01-25 00:11:34.709 JetCareConnect8726:c07 LOG wlclient init started
    2013-01-25 00:11:34.709 JetCareConnect8726:c07 LOG Read cookies: null
    2013-01-25 00:11:34.710 JetCareConnect8726:c07 LOG CookieMgr read cookies: {}
    2013-01-25 00:11:34.869 JetCareConnect8726:c07 LOG Request http://65.97.144.29:8080/apps/services/api/JCC/ipad/init
    2013-01-25 00:11:34.961 JetCareConnect8726:c07 LOG Request http://65.97.144.29:8080/apps/services/api/JCC/ipad/init
    2013-01-25 00:11:35.060 JetCareConnect8726:c07 LOG Clearing notification subscriptions.
    2013-01-25 00:11:35.060 JetCareConnect8726:c07 LOG Send new server notification token id.
    2013-01-25 00:11:35.062 JetCareConnect8726:c07 Could not register for remote notifications: Error Domain=NSCocoaErrorDomain Code=3010 "remote notifications are not supported in the simulator" UserInfo=0x110605d0 {NSLocalizedDescription=remote notifications are not supported in the simulator}
    2013-01-25 00:11:35.063 JetCareConnect8726:c07 ERROR Error while trying to retrieve device token from the mobile operating system.
    2013-01-25 00:11:35.065 JetCareConnect8726:c07 LOG response http://65.97.144.29:8080/apps/services/api/JCC/ipad/init success: /*-secure-
    {"userPrefs":{},"WL-Authentication-Success":{"wl_antiXSRFRealm":{"userId":"antiXSRF","attributes":{"savedInstanceId":"j3fsliofvdcdu9ivhtphl3k48e"},"isUserAuthenticated":1,"displayName":"antiXSRF"},"wl_deviceNoProvisioningRealm":{"userId":"device","attributes":{"mobileClientData":"com.worklight.core.auth.impl.MobileClientData@5ed479f3"},"isUserAuthenticated":1,"displayName":"device"}},"notificationSubscriptionState":{},"gadgetProps":{"directUpdate":{"availableSkins":,"checksum":3119851371,"updateSize":945752},"ENVIRONMENT":"ipad"},"userInfo":{"wl_authenticityRealm":{"userId":null,"attributes":{},"isUserAuthenticated":0,"displayName":null},"wl_remoteDisableRealm":{"userId":"NullLoginModule","attributes":{},"isUserAuthenticated":1,"displayName":"NullLoginModule"},"wl_antiXSRFRealm":{"userId":"antiXSRF","attributes":{"savedInstanceId":"j3fsliofvdcdu9ivhtphl3k48e"},"isUserAuthenticated":1,"displayName":"antiXSRF"},"wl_deviceAutoProvisioningRealm":{"userId":null,"attributes":{},"isUserAuthenticated":0,"displayName":null},"wl_deviceNoProvisioningRealm":{"userId":"device","attributes":{"mobileClientData":"com.worklight.core.auth.impl.MobileClientData@5ed479f3"},"isUserAuthenticated":1,"displayName":"device"},"JCCAppRealm":{"userId":null,"attributes":{},"isUserAuthenticated":0,"displayName":null},"myserver":{"userId":"996bf2e4-8663-4891-873c-d53aa07c3938","attributes":{},"isUserAuthenticated":1,"displayName":"996bf2e4-8663-4891-873c-d53aa07c3938"},"wl_anonymousUserRealm":{"userId":"996bf2e4-8663-4891-873c-d53aa07c3938","attributes":{},"isUserAuthenticated":1,"displayName":"996bf2e4-8663-4891-873c-d53aa07c3938"}}}*/
    2013-01-25 00:11:35.066 JetCareConnect8726:c07 LOG wlclient connect success
    2013-01-25 00:11:36.471 JetCareConnect8726:c07 Start downloading update file.
    2013-01-25 00:11:43.159 JetCareConnect8726:c07 403 entries in the zip file
    2013-01-25 00:11:43.345 JetCareConnect8726:c07 Failed to load webpage with error: The requested URL was not found on this server.
  • IdanAdar
    IdanAdar
    741 Posts

    Re: Direct Update Issue

    ‏2013-01-27T06:54:45Z  
    Mir,
    Lets try to have a reduced test case; can you try using Direct Update on a fresh Worklight app, instead of the one you are using?

    Idan Adar
    QA Engineer
    IBM Worklight Mobile Platform