facebook

Live Preview over https

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #473689 Reply

    allanjackson
    Participant

    I’m trying to test out the live preview feature, but when I load a simple test html page, I get this error in the browser console:
    Mixed Content: The page was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint ‘ws://localhost:8123/’. This request has been blocked; this endpoint must be available over WSS.

    Is there a way to get live preview working with https? Shouldn’t it detect that I’m using https and use wss instead of just ws? I do all my development over https, so I won’t be able to use live preview unless I can get this working.

    #473787 Reply

    support-swapna
    Moderator

    allanjackson,

    Thank you for reporting this issue. I have filed a bug for the dev team and they are looking into it.
    We will keep you posted about the fix.

    Sorry for inconvenience caused. Let us know if you see any issues.

    –Swapna
    MyEclipse Support

    #473868 Reply

    Brian Fernandes
    Moderator

    Allan,

    Just to follow up from what Swapna said; we were able to replicate this problem, of course, and will be making it a high priority fix for our next release.

    #476460 Reply

    support-swapna
    Moderator

    Allan,

    Our latest MyEclipse 2016 CI release, CI 2 supports Live Preview with HTTPS.
    Please update to MyEclipse 2016 CI 2 from Help > Check for Updates and let us know how it works for you.

    –Swapna
    MyEclipse Support

    #476491 Reply

    allanjackson
    Participant

    Thanks, looks like it’s working now!

    #476539 Reply

    support-swapna
    Moderator

    Allan,

    Glad that it works.
    Let us know if you see any issues.

    –Swapna
    MyEclipse Support

    #487554 Reply

    support-swapna
    Moderator

    Allan,

    We have released an update to MyEclipse 2016 CI, CI 4 recently. With the latest update, to use Live Preview, you will now need to turn on CodeLive per server, and then select the files you want to use CodeLive. The first time you view you web project in a browser, you can select the files that will utilize CodeLive. This change in Live Preview optimizes performance by injecting only the necessary files.

    Here is the updated documentation for Live Preview using CodeLive : https://www.genuitec.com/products/webclipse/learning-center/using-live-preview/

    Please update to MyEclipse 2016 CI 4 and let us know how it works for you. Appreciate your feedback.

    –Swapna
    MyEclipse Support

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Live Preview over https

You must be logged in to post in the forum log in