Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5507] Titanium.Network.HTTPClient issue in windows 10 App

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2018-01-20T06:37:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
Reporteralka.gurung
AssigneeShak Hossain
Created2018-01-10T19:52:09.000+0000
Updated2018-01-20T06:37:11.000+0000

Description

We have hosted a service on centralized server. 1. I can access that url from browser 2. can ping server ip address 3. but not able to connect to server using Titanium.Network.HTTPClient tried by giving username, password, domain of the server. Titanium.Network.HTTPClient gives error: e.error : The text associated with this error code could not be found A connection with the server could not be established e.code: 2147954429 Sample code is attached.Can call this function on any button click.

Attachments

FileDateSize
testConnection.txt2018-01-10T19:52:03.000+0000907
testHTTPClient.js2018-01-11T20:12:31.000+0000391

Comments

  1. Sharif AbuDarda 2018-01-11

    Hello, Please create a sample test app which generates the issue and attach the project in here. We will test the issue. Thanks.
  2. alka.gurung 2018-01-11

    Hi, Sample code is already attached.I have attached file again here as well. My problem is: 1. I have a website published on local server. its IP address is like 10.228.172.113 2. application virtual directory is "PDASync" I am trying to access url : [^testHTTPClient.js] This is my local example. This url is accessible from IE browser present in windows 10 Surface pro. But not accessible from Appcelerator APP installed on this machine. I tried by passing network username, password and domain as well. I tried everything but it didn't work. Same piece of code is working in IOS and Android.
  3. Mostafizur Rahman 2018-01-12

    [~alka.gurung], Can you please share the console logs here.

JSON Source