Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jun 2010
    Location
    Madurai
    Posts
    10

    SetDomain setLSHost related issue

    Hai,
    We have got a public IPaddress for our server system and have configured with a public name in the OS with which we browse other applications. Public name of the server system is "myportal.co.in". The host name of the system is "CO-OP".

    I tried the following,

    Code:
    $wnd.page.context.setDomain("myportal.co.in");
    engine.connection.setLSHost("push.CO-OP.co.in");
    engine.connection.setLSPort("9090");
    And host entry in server system is
    <IP Address> www.myportal.co.in
    <IP Address> push.CO-OP.co.in

    ---It produces LS_909 1:14:44:56,449 ER setLSHost Streaming Server hostname inconsistent with the domain set.

    Then I changed as,

    Code:
    $wnd.page.context.setDomain("myportal.co.in");
    engine.connection.setLSHost("push.CO-OP.myportal.co.in");
    engine.connection.setLSPort("9090");
    And host entry in server system is
    <IP Address> www.myportal.co.in
    <IP Address> push.CO-OP.myportal.co.in

    And also i changed like this,

    Code:
    $wnd.page.context.setDomain("myportal.co.in");
    engine.connection.setLSHost("push.myportal.co.in");
    engine.connection.setLSPort("9090");
    And host entry in server system is
    <IP Address> www.myportal.co.in
    <IP Address> push.myportal.co.in

    No response was received from Lightstreamer for both of the above..

    i try to browse the url as "http:\\www.myportal.co.in\Access"
    where "Access" is the application for which a virtual directory is created in the server system.
    We don't get any response when we browse from a remote system without any host entry.
    Can u please help us how to resolve this issuse?

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    due to the same origin policy both host names must share the same domain

    WRONG:
    Code:
    domain: myportal.co.in
    ls server: push.CO-OP.co.in
    web server: www.myportal.co.in
    CORRECT:
    Code:
    domain: myportal.co.in
    ls server: push.CO-OP.myportal.co.in
    web server: www.myportal.co.in
    CORRECT:
    Code:
    domain: myportal.co.in
    ls server: push.myportal.co.in
    web server: www.myportal.co.in
    No response was received from Lightstreamer for both of the above..
    There should something else wrong.
    Can you actually reach the Lightstreamer server opening directly its url in the browser (remember to put the port in the url if such port is not the port 80)
    Did you try to check which connections are made by the browser (you may use firefox+firebug to check this)?
    Did you see any javascript error?

    i try to browse the url as "http:\\www.myportal.co.in\Access"
    where "Access" is the application for which a virtual directory is created in the server system.
    We don't get any response when we browse from a remote system without any host entry.
    Can u please help us how to resolve this issuse?
    are the host names configured in a DNS accessible by the client machines?
    (note that urls are written with slashes not with backslashes)

 

 

Similar Threads

  1. create_session related issue.
    By Sathyaayyanar in forum Adapter SDKs
    Replies: 5
    Last Post: August 24th, 2010, 10:32 AM
  2. setDomain with IP address issue.
    By Sathyaayyanar in forum Client SDKs
    Replies: 1
    Last Post: August 21st, 2010, 04:29 PM
  3. SetDomain and SetLSHost() problem
    By karthik in forum Client SDKs
    Replies: 3
    Last Post: July 29th, 2010, 06:10 PM
  4. SetDomain Inconsistent with setLSHost
    By Sathyaayyanar in forum Adapter SDKs
    Replies: 3
    Last Post: July 20th, 2010, 06:04 PM

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 05:38 PM.