You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running browser-refresh in Gitpod. As a result, it's served over the internet by https not http.
When I try to load the browser-refresh.js script, using the BROWSER_REFRESH_URL it does not work because I am not on localhost and so I get a connection refused.
When I plug that in as the source URL (either http or https) I get a message that it's mixed content. I turned off the mixed content error in Chrome but still get a warning and no reloading.
It may be that the architecture does not permit this solution, but it there's a way, I'm willing to help
I am running browser-refresh in Gitpod. As a result, it's served over the internet by https not http.
When I try to load the browser-refresh.js script, using the BROWSER_REFRESH_URL it does not work because I am not on localhost and so I get a connection refused.
Gitpod creates a URL that combines a port and a base URL. So with my app served on port 3000, the URL is:
https://3000-fa269f1c-2cab-483e-a100-c003b021d84c.ws-us0.gitpod.io/
The random port assignment for this run is: 41597 so when I synthesized the port that would be the equivalent, I can read the js file at:
https://41597-fa269f1c-2cab-483e-a100-c003b021d84c.ws-us0.gitpod.io/browser-refresh.js
When I plug that in as the source URL (either http or https) I get a message that it's mixed content. I turned off the mixed content error in Chrome but still get a warning and no reloading.
It may be that the architecture does not permit this solution, but it there's a way, I'm willing to help
Here is a gitpod workspace snapshot:
https://gitpod.io#snapshot/e50bc0b6-fa4e-4eec-a9be-6b485f29dd33
It will probably come up with a different websocket port so you would have to open the port (tab next to the console tab)
The text was updated successfully, but these errors were encountered: