Thursday, January 12, 2017

[google-cloud-sql-discuss] Re: CloudSQL create replica slave problem (external replication)

Nicholas, I'm experiencing the same, I tried by using the API explorer and received the same answer.
Any other information you might be interested in?


cache-control:  private, max-age=0  content-encoding:  gzip  content-length:  153  content-type:  application/json; charset=UTF-8  date:  Thu, 12 Jan 2017 14:31:33 GMT  expires:  Thu, 12 Jan 2017 14:31:33 GMT  server:  GSE  vary:  Origin, X-Origin  
{
"error": {
"errors": [
{
"domain": "global",
"reason": "notAuthorized",
"message": "The client is not authorized to make this request."
}
],
"code": 403,
"message": "The client is not authorized to make this request."
}
}


On Thursday, December 15, 2016 at 5:56:00 PM UTC-3, Nicholas (Google Cloud Support) wrote:
Apologies for the lengthy radio silence.  I could not reproduce this issue on my end.  I got a 200 every time I tried, including when trying with some deliberate typos in the request body values.

Have you tried creating the replica from the API explorer for Instances: insert?  You can supply the JSON request body the way it's provided in the curl example and authenticate through the web OAuth flow.  If you're authorized, it should return a 200 OK with a operation resource.  You can inspect the progress of the operation providing its name to the Operations: get API.  This should show the errors encountered in replica creation or success.

On Friday, December 2, 2016 at 2:40:14 PM UTC-5, Nicholas (Google Cloud Support) wrote:
I am working on trying to reproduce this error but no luck yet.  I still have a few things to try.  I'll get back to you early next week.

On Tuesday, November 29, 2016 at 9:05:25 AM UTC-5, Lisei Andrei wrote:

I'm following this guide here for creating a cloudsql slave for an external mysql database.

I've managed to create an internal master but when i try to create the replica I have this error: 
I'm the project owner of the GCP project. 

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "notAuthorized",
    "message": "The client is not authorized to make this request."
   }
  ],
  "code": 403,
  "message": "The client is not authorized to make this request."
 }
}

Thanks! 

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/4129174f-b0c7-49d7-a2d8-1df2e0345e47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment