Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1

    Question issue in android and ios connection server

    i have an web application and its connection fine with my server but when i try to connect with my android app or ios app its return an exeption
    I/System.out: [DataKvKc]:failed to connect to /212.70.49.112 (port 80): connect failed: EINPROGRESS (Operation now in progress),timeoutMs:0,cause:connect failed: EINPROGRESS (Operation now in progress)

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    538
    Hi codesroots,

    As a preliminary check, you should check which is the edition of the Lightstreamer server in use.
    Please note that the iOS and Android Client libraries are available only for "Presto" and "Vivace" editions (for "Allegro" is an option feature). In "Moderato" edition the libraries do not work.

    Please also note that if you just want to evaluate one of the optional client library you can use the DEMO license embedded in the factory download of "Allegro/Presto/Vivace" edition.

    Otherwise, if you confirm that your server is enabled for those client libraries, then could you post here a snippet of the Lightstreamer server log file in a case of connection failure?

    Regards,
    Giuseppe

  3. #3
    Lightstreamer Server Allegro-Presto-Vivace version 5.1.2 build 1623.14 this is my server version and i downloaded demo lincense and i changed light streamer host to my server ip and DEMO to my Adapter set
    http://212.70.49.112:80
    "DataPool" adapterset
    and please how can .i get logs for light streamer from android client
    Last edited by codesroots; March 23rd, 2017 at 11:43 AM.

  4. #4
    https://github.com/Lightstreamer/Lig...client-android
    i download this and changed values of my server but is never connected

  5. #5
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    538
    Hi codesroots,

    Ok, when you try to connect your android client, is there some evidence in the Lightstreamer server log?
    Please could you check in your server installation the file <LS_HOME>/logs/Lightstreamer.log

    Regards,
    Giuseppe

  6. #6
    hello Giuseppe thank you for ur reply

    this is my log file

    https://drive.google.com/open?id=0B6...0dOYzY1YTcwYVE

  7. #7
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    538
    Hi codesroots,

    Thank you, for the log. I have checked it and the only case of connection failure, seems to be this:

    26-Mar-17 10:00:22,592|INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 7 |Serving request: /lightstreamer/create_session.txt? on "Lightstreamer HTTP Server" from 185.2.196.196:61488

    Please could you confirm if 185.2.196.196 could be the address of your Android device that you are using for the test? if this is the case it seems that the create_session request is truncated somewhere between the server and the client.
    Between the device and the Lightstreamer server is there any proxy or other intermediary node?

    Furthermore please could you specify the Android client version in use.

    Regards,
    Giuseppe

  8. #8
    thank you sir for ur reply this is my android client version i have downloaded

    https://github.com/Lightstreamer/Lig...client-android

  9. #9
    also my ios version not connecting to my server

  10. #10
    and there is no proxy or somthing becouse if i change server host to http://push.lightstreamer.com and adapterset to "DEMO"

    it worked fine and connected

 

 

Similar Threads

  1. Connection Error - Android API
    By marcosmiguez in forum Client APIs
    Replies: 2
    Last Post: January 9th, 2017, 08:28 PM
  2. Connection timed out on empty credentials on iOS [iOS]
    By Anatoly Gurfinkel in forum Client APIs
    Replies: 9
    Last Post: July 6th, 2015, 04:24 PM
  3. iOS client API encoding issue
    By LS_Developer in forum Client APIs
    Replies: 3
    Last Post: February 14th, 2013, 02:47 PM
  4. Replies: 0
    Last Post: November 8th, 2011, 09:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 11:40 PM.