This is a migrated thread and some comments may be shown as answers.

TCP Socket error Simulator

3 Answers 234 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Baladiya
Top achievements
Rank 1
Baladiya asked on 06 Oct 2015, 07:38 AM

Tried to build first project. 

[1006/102557:ERROR:tcp_socket_win.cc(361)] bind() returned an error: Only one usage of each socket address (protocol/network address/port) is normally permitted. (0x2740)
[1006/102557:ERROR:devtools_http_handler_impl.cc(307)] Cannot start http server for devtools. Stop devtools.
[1006/102557:ERROR:renderer_main.cc(200)] Running without renderer sandbox

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 08 Oct 2015, 01:30 PM
Hello,

You say the error occurred when building the first project, would you clarify which this project is? Is it any of the "Getting Started" template projects?

I tested some of those samples with the In-Browser Client and so far I could not reproduce any issue while running an app in the simulator or building it in the cloud.

In order to be able to advice you further, may I ask you to share some additional information:
- Which client do you use (In-Browser, Windows or Extension for Visual Studio)?
- Let me know on which project you tested. It will be very helpful if this is accompanied with simple steps I should follow in order to replicate the case.
- Is there anything specific with your setup I should keep in mind?

Looking forward to hearing from you.

Regards,
Dimitrina
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Baladiya
Top achievements
Rank 1
answered on 09 Oct 2015, 08:23 AM

Hello Dimitrina,

 

The issue is with Windows client of app builder. Here is how you can replicate the same.

 

Just downloaded latest app builder windows client. I created default kendo Ui Drawer app and did very small modification in index.html in order to test map. In browser it worked as expected but in windows client it does not. I created fresh Azure VM to test further but same result and looks like windows client of app builder has issues. 

Please find below complete code of index.html

<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8" />
    <link href="kendo/styles/kendo.mobile.all.min.css" rel="stylesheet" />
    <link href="styles/main.css" rel="stylesheet" />


    <script src="cordova.js"></script>
    <script src="kendo/js/jquery.min.js"></script>
    <script src="kendo/js/kendo.mobile.min.js"></script>    
      <link rel="stylesheet" href="http://js.arcgis.com/3.14/dijit/themes/claro/claro.css">
  <link rel="stylesheet" href="http://js.arcgis.com/3.14/esri/css/esri.css">
  <style>
    html, body, #mapDiv{
      padding: 0;
      margin: 0;
      height: 100%;
    }
  </style>
  
  <script src="http://js.arcgis.com/3.14/"></script>
  <script>
    var map;
    require(["esri/map", "dojo/domReady!"], function(Map) {
      map = new Map("mapDiv", {
        center: [-56.049, 38.485],
        zoom: 3,
        basemap: "streets"
      });
    });
  </script>
    
   



</head>
<body class="claro">
 
  <div data-role="layout" data-id="main">
    <div data-role="header">
      <div data-role="navbar">
        <span data-role="view-title"></span>
        <a data-role="button" href="#appDrawer" data-rel="drawer" data-align="left" data-icon="drawer-button"></a>
      </div>
    </div>

    <!-- application views will be rendered here -->
     
    
  </div>
    
    
     <div data-role="view" id="foo" data-title="Home" data-layout="main">
 
    <div id="mapDiv"></div>
</div>

  <!-- application drawer and contents -->
  <div data-role="drawer" id="appDrawer" style="width: 270px" data-title="Navigation">
    <div data-role="header">
      <div data-role="navbar">
        <span data-role="view-title"></span>
      </div>
    </div>
    <ul data-role="listview">
      <li>
        <a href="views/home.html">Home</a>
      </li>
      <li>
        <a href="views/settings.html">Settings</a>
      </li>
      <li>
        <a href="views/contacts.html">Contacts</a>
      </li>
    </ul>
  </div>      

    
    <script>
            
            
            var app = new kendo.mobile.Application(document.body, {initial: "foo",skin: "flat"});
            
           
        </script>
</body>
</html>​

 

 

0
Dimitrina
Telerik team
answered on 12 Oct 2015, 04:15 PM
Hello Baladiya,

Thank you for sharing this more detailed information.

After some further investigation, this problem seems to be a known issue related to the calls to local://static.arcgis.com for requesting their resources. The problem is already logged into our issue tracking system and it will be addressed in some of the next releases of AppBuilder. However, at the current stage we cannot commit to a particular time-frame or to the actual implementation.

For the time being, we can suggest a workaround. Please find a sample project suggesting a fix in the GitHub repository here. I already tested it locally and it worked fine.

Regards,
Dimitrina
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder Windows client
Asked by
Baladiya
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Baladiya
Top achievements
Rank 1
Share this question
or