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

    Web-javascript client on HTTPs page and HTTP connection to Lightstreamer server ?

    Hi, please is some way how to communicate between web/javascript client and Lightstreamer server via HTTP protocol on page that is under HTTPS protocol ? My tests give me this expected javascript error:

    lightstreamer.js?:181 Mixed Content: The page at 'https://www.xxx.yyy/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://push.www.xxx.yyy:8080/lightstreamer/create_session.js'. This request has been blocked; the content must be served over HTTPS.

    I think, that is no any trick to get is to work, and only one solution is run Lightstreamer server with HTTPS too, and conntect from client via HTTPS, right ?

    Thanks

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

    Yes, you are right a connection of the type: secure page to insecure server is denied by all modern browsers.
    Only with some older browser versions the library can recover with some fall-back, please refer to this https://docs.google.com/spreadsheets...w84/edit#gid=1

    But the best solution is that your client connects to the Lightstreamer server via HTTPS.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Replies: 3
    Last Post: July 29th, 2011, 09:56 AM
  2. Replies: 1
    Last Post: July 15th, 2011, 12:08 PM
  3. Replies: 1
    Last Post: July 12th, 2010, 11:05 AM
  4. Pass arguments from web page to adapter ??
    By mohamida in forum Adapter SDKs
    Replies: 6
    Last Post: November 12th, 2009, 04:03 PM
  5. Replies: 3
    Last Post: February 8th, 2007, 10:11 AM

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:39 AM.