selkies-project / selkies-operator

K8s operator for per-user stateful workloads
https://selkies.io
Apache License 2.0
72 stars 13 forks source link

Your client has issued a malformed or illegal request. #66

Open videlanicolas opened 1 year ago

videlanicolas commented 1 year ago

After a successful deployment I try to access https://broker.endpoints.<PROJECT_ID>.cloud.goog/ and I get the following message:

Error: Bad Request
Your client has issued a malformed or illegal request.

This is error HTTP 400, so it's a client error? What am I doing wrong here?

videlanicolas commented 1 year ago

Looking at the logs:

Constraint constraints/compute.restrictLoadBalancerCreationForTypes violated for projects/<PROJECT_ID>. Forwarding Rule projects/<PROJECT_ID>/regions/us-west1/forwardingRules/a2b7703d05a944065b1eec6ff96b903e of type EXTERNAL_NETWORK_TCP_UDP is not allowed.

I think this is the problem, since I'm an owner of the project I don't think it's a permission issue?

danisla commented 1 year ago

Yes this looks like a policy/restriction on your GCP project, most likely because you are missing the owner role.