I am trying to connect to the IG demo lightstreamer but the LightStreamerClient connect method is returning CONERR,-2,A system error occurred.
This happens with the Java 4.3.10 and Python 1.0.3 client and with curl.
Here is the curl output
`curl -v -N -X POST -d "LS_polling=true&LS_cause=new.api&LS_polling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkpW39AN3N73dXoqoH5PCCq&LS_user=*****_password=**" https://demo-apd.marketdatasystems.com/lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0
Note: Unnecessary use of -X or --request, POST is already inferred.
- Host demo-apd.marketdatasystems.com:443 was resolved.
- IPv6: (none)
- IPv4: 91.223.203.62
- Trying 91.223.203.62:443...
- Connected to demo-apd.marketdatasystems.com (91.223.203.62) port 443
- ALPN: curl offers h2,http/1.1
- TLSv1.3 (OUT), TLS handshake, Client hello (1):
- CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: /etc/ssl/certs
- TLSv1.3 (IN), TLS handshake, Server hello (2):
some lines omitted here
POST /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 HTTP/1.1
Host: demo-apd.marketdatasystems.com
User-Agent: curl/8.5.0
Accept: /
Content-Length: 284
Content-Type: application/x-www-form-urlencoded
- TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
< HTTP/1.1 200 OK
< Server: Lightstreamer Server
< Content-Type: text/enriched; charset=ISO-8859-1
< Cache-Control: no-store
< Cache-Control: no-transform
< Cache-Control: no-cache
< Pragma: no-cache
< Expires: Thu, 1 Jan 1970 00:00:00 GMT
< Date: Sun, 27 Oct 2024 18:14:05 GMT
< Content-Length: 36
<
CONERR,-2,A system error occurred.
- Connection #0 to host demo-apd.marketdatasystems.com left intact`
Can you see what is wrong with the request or will it be necessary to look in the server log? I can make it produce different errors such as Server error: 1: User/password check failed
but I can't get it to succeed.
thanks in advance