‘Cannot connect to extension’ error

Hi,

I am getting ‘Cannot connect to extension’ error after 10-15 seconds of using my looker extension ReactJS application(customised homepage for looker). Has anyone encountered this? what should be causing this error? And what is the solution? 

0 1 242
1 REPLY 1

I had the same issue, but I was able to resolve it by following the steps below:

1- Run the Webpack Build Command: yarn build. This will create the necessary bundle.js file in the dist folder of your project and ensure the bundle.js file is created in your LookML project. If not, you can manually create it and copy-paste it into your LookML code.

2- Update the manifest file: In the manifest file, instead of referencing the file as file: "bundle.js", use the full path to bundle.js. For example: file: "homepage_poc/dist/bundle.js"

3- Check the Embedded Domain Allowlist:Ensure that http://localhost and https://localhost are correctly added to the Embedded Domain Allowlist in the Looker admin settings