Skip to content

Webpack dev server live reload is broken over HTTPS

The following discussion from !80196 (merged) should be addressed:

  • @pslaughter started a discussion: (+2 comments)

    issue: This seems to have broken local development when https: enabled: true. It looks like webpack is trying to create an insecure websocket connection? The dev server isn't hosted in https, so I guss this makes sense... Maybe we could provide an option to disable live reloading (which I assume is what the websocket is for)? Maybe we need to create some set up for the GDK to https host webpack too?

    Screenshot_from_2022-02-10_14-33-01

    I need to run the GDK with https for some features, so I'm having to revert this commit locally for the time being 😬

It looks like there are some issues with webpack-dev-server's live reload feature when GDK is configured with HTTPS enabled. I am able to reproduce the issue, though I seem to be having issues with HTTPS even prior to !80196 (merged), so further investigation is needed to determine the root cause.

Edited by Mike Greiling