Fatal error on GCS configuration
-
Hello, when i’m trying to insert the bucket hostname i’m receveing this error.
Plugin versions is the 0.1.5
Wordpress is up to date and is a fresh installation under gae standardFatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error:
GET https://www.googleapis.com/storage/v1/b/gs/o/clal-news.appspot.com%2F%2F
resulted in a400 Bad Request
response: { “error”: { “code”: 400, “message”: “Bucket names must be at least 3 characters in length, got 2: ‘gs'”, (truncated…) in /srv/wp-content/plugins/gcs/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /srv/wp-content/plugins/gcs/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /srv/wp-content/plugins/gcs/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response)) #2 /srv/wp-content/plugins/gcs/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array) #3 /srv/wp-content/plugins/gcs/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 /srv/wp-content/plugins/gcs/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run(true) #5 /srv/wp-content/plugins/gcs/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn() #6 /srv/wp-content/plugins/gcs/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending() #7 /srv/wp-content/plugins/gcs/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList() #8 /srv/wp-content/plugins/gcs/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #9 /srv/wp-content/plugins/gcs/vendor/guzzlehttp/guzzle/src/Client.php(106): GuzzleHttp\Promise\Promise->wait() #10 /srv/wp-content/plugins/gcs/vendor/google/auth/src/HttpHandler/Guzzle6HttpHandler.php(34): GuzzleHttp\Client->send(Object(GuzzleHttp\Psr7\Request), Array) #11 [internal function]: Google\Auth\HttpHandler\Guzzle6HttpHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #12 /srv/wp-content/plugins/gcs/gcs.php(134): call_user_func_array(Object(Google\Auth\HttpHandler\Guzzle6HttpHandler), Array) #13 [internal function]: Google\Cloud\Storage\WordPress\{closure}(Object(GuzzleHttp\Psr7\Request), Array) #14 /srv/wp-content/plugins/gcs/vendor/google/cloud-core/src/ExponentialBackoff.php(74): call_user_func_array(Object(Closure), Array) #15 /srv/wp-content/plugins/gcs/vendor/google/cloud-core/src/RequestWrapper.php(166): Google\Cloud\Core\ExponentialBackoff->execute(Object(Closure), Array) #16 /srv/wp-content/plugins/gcs/vendor/google/cloud-core/src/RestTrait.php(95): Google\Cloud\Core\RequestWrapper->send(Object(GuzzleHttp\Psr7\Request), Array) #17 /srv/wp-content/plugins/gcs/vendor/google/cloud-storage/src/Connection/Rest.php(195): Google\Cloud\Storage\Connection\Rest->send(‘objects’, ‘get’, Array) #18 /srv/wp-content/plugins/gcs/vendor/google/cloud-storage/src/StorageObject.php(1123): Google\Cloud\Storage\Connection\Rest->getObject(Array) #19 /srv/wp-content/plugins/gcs/vendor/google/cloud-storage/src/StorageObject.php(1074): Google\Cloud\Storage\StorageObject->reload(Array) #20 /srv/wp-content/plugins/gcs/vendor/google/cloud-storage/src/StreamWrapper.php(537): Google\Cloud\Storage\StorageObject->info() #21 /srv/wp-content/plugins/gcs/vendor/google/cloud-storage/src/StreamWrapper.php(485): Google\Cloud\Storage\StreamWrapper->urlStatDirectory() #22 [internal function]: Google\Cloud\Storage\StreamWrapper->url_stat(‘gs://gs://clal-…’, 2) #23 /srv/wp-content/plugins/gcs/Uploads/Uploads.php(151): is_writable(‘gs://gs://clal-…’) #24 /srv/wp-includes/class-wp-hook.php(290): Google\Cloud\Storage\WordPress\Uploads\Uploads::validate_bucket(‘gs://clal-news….’) #25 /srv/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘gs://clal-news….’, Array) #26 /srv/wp-includes/formatting.php(4812): apply_filters(‘sanitize_option…’, ‘gs://clal-news….’, ‘gcs_bucket’, ‘gs://clal-news….’) #27 /srv/wp-includes/option.php(316): sanitize_option(‘gcs_bucket’, ‘gs://clal-news….’) #28 /srv/wp-admin/options.php(285): update_option(‘gcs_bucket’, ‘gs://clal-news….’) #29 /srv/gae-app.php(53): require(‘/srv/wp-admin/o…’) #30 {main} thrown in /srv/wp-content/plugins/gcs/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113
There has been a critical error on your website. Please check your site admin email inbox for instructions.Learn more about debugging in WordPress.
- The topic ‘Fatal error on GCS configuration’ is closed to new replies.