After todays update (release: "1.9.18".) of GoogleAppEngineLauncher, CloudStorageTool now throws an exception it didn't before. This is the exception thrown:
google\appengine\runtime\RPCFailedError: Remote implementation for app_identity_service.GetAccessToken failed.
The trace looks like this:
google_appengine/php/sdk/google/appengine/api/app_identity/AppIdentityService.php@182
google_appengine/php/sdk/google/appengine/ext/cloud_storage_streams/CloudStorageClient.php@329
google_appengine/php/sdk/google/appengine/ext/cloud_storage_streams/CloudStorageUrlStatClient.php@132
google_appengine/php/sdk/google/appengine/ext/cloud_storage_streams/CloudStorageUrlStatClient.php@63
google_appengine/php/sdk/google/appengine/ext/cloud_storage_streams/CloudStorageStreamWrapper.php@358
Reproducing code:
$filename = 'test.txt';
$bucket_name = google\appengine\api\cloud_storage\CloudStorageTools::getDefaultGoogleStorageBucketName();
file_exists( 'gs://'.$bucket_name.'/'.$filename );
I'm running the GoogleAppEngineLauncher, PHP runtime. On mac OSX 10.10.2 and testing locally.
Has anybody else experienced this? Does anyone have a workround?