title: React Native SocketProtocol Error and TimeoutError
body: <p>I can't seem to figure this out at all. When ever I open my React Native application I get these errors. The best I have found is that it's something to do with how the applications is being bundled. Any help would be much appreciated and upvoted! Thanks!</p>
  
  <p><a href="https://i.stack.imgur.com/CF9fr.png"><img src="https://i.stack.imgur.com/CF9fr.png" alt="Error example"></a></p>
  
  <p>Errors from xCode</p>
  
  <pre><code>2016-06-16 17:21:50.160 [warn][tid:com.facebook.react.JavaScript] [TimeoutError: Event response for 'login' timed out]
  2016-06-16 17:21:51.580 [warn][tid:com.facebook.react.JavaScript] [SocketProtocolError: Socket hung
  </code></pre>
  
  <p>Versions</p>
  
  <pre><code>   "react": "^15.1.0",  
     "react-native": "^0.27.2"  
     ... along with about 30 others
  </code></pre>
  
  <p>ios - AppDelegate.m</p>
  
  <pre><code> jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&amp;dev=true"];
  
    /**
     * OPTION 2
     * Load from pre-bundled file on disk. The static bundle is automatically
     * generated by the "Bundle React Native code and images" build step when
     * running the project on an actual device or running the project on the
     * simulator in the "Release" build configuration.
     */
  
    // jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
  
  
    RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
                                                    moduleName:@"MyApp"
                                                    initialProperties:nil
                                                    launchOptions:launchOptions];
  </code></pre>