• Resolved aruneshdutta

    (@aruneshdutta)


    Hello

    I was using the plugin and it was working fine all of sudden it’s showing error Suddenly getting error Could not connect to Google Storage bucket, the bucket name is present in google cloud storage.Kindly guid

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @aruneshdutta,
    Please verify the Service Account JSON.
    Then verify that the Service Account has Storage Admin permission.

    Please follow our Manual Setup guide https://github.com/wpCloud/wp-stateless/wiki/Manual-Setup

    I would suggest you to use our Setup Assistant from Media >> Stateless Setup. I will automatically fix any permission issue.
    If you don’t see Stateless Setup in menu then remove your current Service Account JSON from Settings Page.

    Thread Starter aruneshdutta

    (@aruneshdutta)

    Thanks for reply I don’t why I have used the plugin perfectly earlier.Now as well done setup and the service account shows the storage admin permission,it is set to stateless.But when uploading the file doesn’t get uploaded in the bucket(bucket and folder matches as in my storage) nad will simply upload to my server as I can see the file as well as the URL is not the one one Google storage provide as earlier I used

    If it helps anyone – I was faced with the same symptom of the problem. Stepping through the code it showed that is_connected_to_gs was trying to read a transient to read the connection. But since I was doing some development in a staging server with a copied database the transients were all bad. Running ‘wp transient delete-all’ in the wp cli fixed the issue.

    Hi @bzadmin,

    Thanks for letting everyone know.

    Saving the Stateless Settings page will also remove the is_connected_to_gs transient cache.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Suddenly getting error Could not connect to Google Storage bucket’ is closed to new replies.