Results 1 to 6 of 6
  1. #1

    Bind Session problem

    Hi,

    we are having strange log in our system. Please check the screen shot for detail. The system is working fine but still the log is suspicious. Thanks.

    Regards
    SH

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    718
    Hi shabbirh,

    we can not find the screen shot you're talking about, please you may re-post it?
    Thank you.

  3. #3
    Here is the screenshot
    Click image for larger version. 

Name:	bindsession.png 
Views:	1406 
Size:	29.7 KB 
ID:	139

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

    Looks like something is blocking the websocket connection.
    Your application still works because when the library detects that it can't use the websocket connection it falls back to http streaming.

    Please open this demo, then move your mouse over the S on the top-left of the page. Does it say "over WebSocket" or "over HTTP"? This will tell us if yours is a client or server side issue.

    Is there a load balancer and/or reverse proxy in front of your server?
    Please check this file, is your environment correctly configured for firefox running over websockets?

  5. #5
    Yes, we are using a load balancer/reverse proxy in front of our server. I guess the websocket connection is interrupted due to the load balancer. Is there any solution to use web socket connection in our load balancer ? What is the performance issues between HTTP streaming and Websocket? Thanks.

    Quote Originally Posted by Mone View Post
    Hi,

    Looks like something is blocking the websocket connection.
    Your application still works because when the library detects that it can't use the websocket connection it falls back to http streaming.

    Please open this demo, then move your mouse over the S on the top-left of the page. Does it say "over WebSocket" or "over HTTP"? This will tell us if yours is a client or server side issue.

    Is there a load balancer and/or reverse proxy in front of your server?
    Please check this file, is your environment correctly configured for firefox running over websockets?

  6. #6
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    I guess the websocket connection is interrupted due to the load balancer.

    You were able to connect over WebSocket to our demo server?

    Is there any solution to use web socket connection in our load balancer ?
    It depends on the balancer you're using; you should check its documentation and/or get in touch with the balancer vendor

    What is the performance issues between HTTP streaming and Websocket?
    As long as we're talking about one way traffic (server->client) server performances are quite the same, the only difference is that HTTP streaming needs to be refreshed from time to time (this may add some load but is usually neglectable); client performances may vary.
    On the other hand subscription/unsubscription/messages during a session over websocket are sent through the open websocket while during a http streaming session a new http request needs to be sent to the server (and thus possibly a new socket may be needed)

    HTH

 

 

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 06:48 PM.
Lightstreamer Logo