Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error when creating HTTP(S) Load balancer

Hi, I'm following the docs Host a static website  |  Cloud Storage  |  Google Cloud and in order to have https for my static website I try to create a load balancer, but I get an error the same thing was yesterday.

Failed to load.
There was an error while loading  /net-services/loadbalancing/httpAdvanced/add?project=x. Please try again.

Screenshare video:

https://twitter.com/i/status/1587147318679281664

0 6 2,961
6 REPLIES 6

I would first advise you to clean the browser's and extensions' caches, according to the error message you are receiving.

Here are two Stackoverflow questions with the identical error message that you are receiving along with their answers as well.

Hi, I have the same thing on Chrome without extensions, different machine, incognito mode.

I looked at the errors in Chrome console (pasted below) and it turned out I need to enable compute engine. After doing this it seems OK.

This is an error handling bug.

 

 

m=b:1255 ERROR Error: Ea`ErrorResponse: {"errorParameters":{"map":{}},"url":"https://cloudconsole-pa.clients6.google.com/v3/entityServices/GceVpcEntityService/schemas/GCE_VPC_EN...","headers":{},"status":403,"statusText":"Permission denied","method":"POST","body":{"error":{"code":7,"message":"Compute Engine API has not been used in project xxxxxxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=xxxxx then retry. 

 


@pavelpavlov wrote:

Hi, I have the same thing on Chrome without extensions, different machine, incognito mode.

I looked at the errors in Chrome console (pasted below) and it turned out I need to enable compute engine. After doing this it seems OK.

This is an error handling bug.

m=b:1255 ERROR Error: Ea`ErrorResponse: {"errorParameters":{"map":{}},"url":"https://cloudconsole-pa.clients6.google.com/v3/entityServices/GceVpcEntityService/schemas/GCE_VPC_EN...","headers":{},"status":403,"statusText":"Permission denied","method":"POST","body":{"error":{"code":7,"message":"Compute Engine API has not been used in project xxxxxxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=xxxxx then retry. 

 


Hello 

Step 3, from the guide you mentioned to be following mentions specifically:
Enable the Compute Engine API for your project.

Please double check if you complied with all the requirements from that same section.

Thanks it helped! After enabling Compute Engine API it works!

 

Hi @pavelpavlov 

I think you just haven't fully activated the free mode. Because after completing the GCP billing process, it shows you a window to use the GCP environment with all its functionality. If you do not complete this process, the activate button will continue to appear. Just click the activate button and activate your GCP environment and the problem will be solved. 

P.S: Also, this issue may be related to the Compute Engine API.

Good Luck.

I didn't enable compute engine API, thank you!

Top Labels in this Space