-
March 22nd, 2017, 10:39 AM
#1
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)
-
March 23rd, 2017, 08:31 AM
#2
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
-
March 23rd, 2017, 11:29 AM
#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.
-
March 23rd, 2017, 11:31 AM
#4
https://github.com/Lightstreamer/Lig...client-android
i download this and changed values of my server but is never connected
-
March 23rd, 2017, 01:49 PM
#5
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
-
March 27th, 2017, 12:28 PM
#6
hello Giuseppe thank you for ur reply
this is my log file
https://drive.google.com/open?id=0B6...0dOYzY1YTcwYVE
-
March 28th, 2017, 09:53 AM
#7
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
-
March 28th, 2017, 12:11 PM
#8
thank you sir for ur reply this is my android client version i have downloaded
https://github.com/Lightstreamer/Lig...client-android
-
March 28th, 2017, 12:47 PM
#9
also my ios version not connecting to my server
-
March 28th, 2017, 02:44 PM
#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
-
By marcosmiguez in forum Client SDKs
Replies: 2
Last Post: January 9th, 2017, 08:28 PM
-
By Anatoly Gurfinkel in forum Client SDKs
Replies: 9
Last Post: July 6th, 2015, 04:24 PM
-
By LS_Developer in forum Client SDKs
Replies: 3
Last Post: February 14th, 2013, 02:47 PM
-
By Mone in forum Client SDKs
Replies: 0
Last Post: November 8th, 2011, 09:20 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 09:49 PM.
Bookmarks