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

LiveView: Closing file/event servers after run mobile web

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: LiveView
    • Environment:

      Mac OS 10.9.1
      Safari: 7.0.1
      Xcode 5.0.2
      liveview: 1.0.1
      CLI: 3.2.0
      titanium-code-processor: 1.0.1
      Alloy: 1.1.0
      Appcelerator Studio, build: 3.2.1.201401031222
      Titanium SDK version 3.2.0 / 3.2.1.v20140106195644

      Description

      Description:
      I attempted to start an iOS simulator session with liveview then open mobile web, the LiveView serve stop and iOS application get error.

      in mobileweb console log

      [LiveView] Closing file/event server process id: 32238
      

      in iOS console log

      [LiveView] Client connected
      [ERROR] :  [LiveView] Disconnected from Event Server
      [INFO] :   [LiveView] Attempting reconnect to Event Server
      [ERROR] :  Script Error {
      [ERROR] :      backtrace = "#0 () at file:///Users/hazemkhaled/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/EF83504F-E610-4045-BD32-A78EEB00F02C/traapp.app/app.js:140\n#1 () at file:///Users/hazemkhaled/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/EF83504F-E610-4045-BD32-A78EEB00F02C/traapp.app/app.js:243";
      [ERROR] :      line = 465;
      [ERROR] :      message = "[LiveView] Event Server unavailable. Connection Refused @ 192.168.1.4:8324\n[LiveView] Please ensure your device and computer are on the same network and the port is not blocked.";
      [ERROR] :      sourceId = 318261344;
      [ERROR] :      sourceURL = "file:///Users/hazemkhaled/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/EF83504F-E610-4045-BD32-A78EEB00F02C/traapp.app/app.js";
      [ERROR] :  }
      [ERROR] :  2014-01-07 12:22:33.478 traapp[32333:80b] Warning: Attempt to present <TiErrorController: 0x11fb9810> on <TiRootViewController: 0xd429db0> whose view is not in the window hierarchy!
      

      Steps to reproduce:

      1. Create a new project with services enabled
      2. Launch a liveview session in iOS simulator via Studio
      3. Run on mobile web (safari)

      Result:
      LiveView stopped and iOS give me application error

      Expected Result:
      The mobile web working without stop LiveView

        Attachments

          Activity

            People

            • Assignee:
              csullivan Christian Sullivan
              Reporter:
              hazemkhaled Hazem Khaled
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration