Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Chrome keep displaying "Site cannot be installed: the page is not served from a secure origin" in the console?

Whenever I look in Chrome's console, I see this error message:

Site cannot be installed: the page is not served from a secure origin

This only started happening a few days ago, and Chrome wasn't updated in the meantime.

like image 432
Dan Dascalescu Avatar asked Jan 25 '17 22:01

Dan Dascalescu


1 Answers

2019-Dec update: this answer is outdated. Neither of the two flags mentioned in it are available in Chrome any more. Old answer below.


This error is caused by sites served over HTTP if "Add to shelf" is enabled in chrome://flags.

Solution: go to chrome://flags/#enable-app-banners (used to be chrome://flags/#enable-add-to-shelf) and change "Enabled" to "Default", then relaunch Chrome.

like image 160
Dan Dascalescu Avatar answered Oct 20 '22 12:10

Dan Dascalescu