Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23678

Windows: Device is unable to connect to LiveView server

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.4.0
    • Fix Version/s: Release 6.1.0
    • Component/s: LiveView, Windows
    • Labels:
    • Environment:

      Windows 10 Pro
      Appc CLI Core: 5.4.0-34
      Appc CLI NPM: 4.2.7
      Ti SDK: 5.4.0.v20160725003348
      Appc Studio: 4.7.0.201607130543

    • Story Points:
      8
    • Sprint:
      2016 Sprint 18 SDK

      Description

      Description

      When attempting to build to device, the app will throw the below error when the app loads.

      [ERROR] :  Application Error: {
      [ERROR] :    "line": 2,
      [ERROR] :    "column": 10,
      [ERROR] :    "message": "Error while require(/app) [LiveView] File Server unavailable. Host Unreachable @ 192.168.2.2:8324\n[LiveView] Please ensure your device and computer are on the same network and the port is not blocked.",
      [ERROR] :    "native_stack": [
      [ERROR] :      "JSExportClass<class Titanium::GlobalObject>::CallNamedFunction"
      [ERROR] :    ]
      [ERROR] :  }
      

      However

      Steps to reproduce
      1. Ensure you disable the vEthernet switch as noted in TIMOB-23664
      2. Enable LiveView in Studio
      3. Build a project to Windows Phone Device
      4. Try accessing the ip listed in the LiveView error from edge, and also accessing <ip>/app.js
      Actual result

      The device will not be able to connect to the LiveView server, but the LiveView server can be accessed using edge

      Expected result

      The device should be able to connect to the LiveView server

        Attachments

        1. app.js
          0.9 kB
        2. app2.js
          0.6 kB
        3. server.js
          0.3 kB

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                eharris Ewan Harris
                Tester:
                Harry Bryant
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-9944
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration