Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24699] LiveView: Alloy app errors out when built for Windows

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2017-05-16T22:50:09.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.1.0
ComponentsLiveView, Windows phone
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2017-05-16T14:51:02.000+0000
Updated2017-05-18T21:41:23.000+0000

Description

Description

When building an alloy app with liveview for windows platform the app will start, connect to the file server and then error out with
[ERROR] ----- Titanium Javascript Runtime Error -----
[ERROR] In app.js: 588,22
[ERROR] Message: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @ 169.254.80.80:8324
[LiveView] Please ensure your device and computer are on the same network and the port is not blocked.

Steps to reproduce

Create an alloy app with appc new

Build the alloy app with appc run -p windows -T wp-emulator --liveview --liveview-ip <IP> where IP is the ip of Ethernet adapter vEthernet (Internal Ethernet Port Windows Phone Emulator Internal in ipconfig

Actual

App errors out with the above error

Expected

App should no error out, liveview should work as normal

Comments

  1. Ewan Harris 2017-05-16

    PR: https://github.com/appcelerator/liveview/pull/101 Currently working through the following for sanity * Windows authoring ** Windows 10 Mobile device (/) ** Windows 10 Mobile Emulator (/) ** Windows Phone 8.1 Device (/) ** Windows Phone 8.1 Emulator (/) ** Windows Local 10.0 SDK (/) ** Windows Local 8.1 SDK (/) ** Android device (/) ** Android emulator (/) * OSX authoring ** iPhone device (I cant build to device right now) ** iPhone sim (/) ** iPad device (I dont have this) ** iPad Sim (/) ** Android Emulator (/) ** Android device (/)
  2. Samir Mohammed 2017-05-16

    *FR passed* was able to test Liveview on alloy apps. *Environment*
       APPC Studio: 4.9.0.201705160715
       APPC CLI: 6.2.1
       Windows Mobile emulator 10.0.14393.0 WGVA 4 inch 512MB
       Operating System:
       Name = Microsoft Windows 10 Pro
       Version = 10.0.14393
       Architecture = 32bit
       CPUs = 4
       Memory = 17034395648
       Node.js:
       Node.js Version = 6.10.1
       
  3. Abir Mukherjee 2017-05-17

    [~kkolipaka] Can you tell me which Studio and Ti SDK versions will have the fix? I installed the following, and I still get the "Host Unreachable @ 169.254.80.80:8324" error on Windows Device: SDK 6.1.0.v20170517143931 Appc Studio 4.9.0.201705170123
  4. Abir Mukherjee 2017-05-18

    Verified that the fixes are seen in the above mentioned builds.

JSON Source