Hi Giuseppe,
thanks for your answers.
Giuseppe Corti
The error "incorrect answer" refers to a syntactic rejection of the response sent to your client, that, at first sight, seems to me correct.
The most likely reason could be that the server to which you are connecting is not a Lightstreamer server.
I know that the server is a Lightstreamer server, because of the website which appears by opening the
https://warrantspushserver.commerzbank.de in the browser.
Giuseppe Corti
Otherwise, if the target server is actually a Lightstreamer server, this could not be configured to handle the specific type of client, in your case .NET Client.
Please, could you proceed with checks on the server side?
OK I had not known that this could be the problem. I don't have access to the server, so i can't give you some server side informations. I have thought that I can get the same values in my program like my browser.
I think that is the request of the browser:
POST
http://warrantspushserver.commerzbank.de/lightstreamer/create_session.js
Request-Header:
Host: warrantspushserver.commerzbank.de
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer:
http://www.zertifikate.commerzbank.de/Products/ProductDetailsData.aspx?p=157732786&pc=8656&dm=TabPanel&c=0
Content-Length: 180
Origin:
http://www.zertifikate.commerzbank.de
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Request-Body:
LS_phase=1901&LS_domain=commerzbank.de&LS_cause=new.api&LS_polling=true&LS_polling_millis=0&LS_idle_millis=0&LS_client_version=6.0&LS_adapter_set=ProxyIcomAdapter&LS_container=lsc&
answer:
var myEnv = lsc;
var phase = null;
function setPhase(ph) {
phase = ph;
}
function start(sID, addr, kaMs, reqLim, srv) {
LS_window.LS_e(1, phase, sID, addr, kaMs, reqLim, srv);
}
function loop(holdMs) {
LS_window.LS_e(2, phase, holdMs);
}
setPhase(1901);start('S65b3555d27bc3eeT5606521', null, 0, 50000, 'Lightstreamer HTTP Server');loop(0);
I hope you can find more than I.
Best regards.
Sven