Google Cloud Storage Client not working on dev appserver

浪子不回头ぞ 提交于 2019-12-06 22:48:32

问题


I 'm building an AppEngine application that stores data in Google Cloud Storage. I use the Google Cloud Storage Client (GCS) library as suggested.

My app is working when deployed on AppEngine (reading/writing/listing objects) but I cannot make it work on the development server. The development server keeps returning error 404 and GCS raises NotFoundError. The dev-appserver is supposed to emulate the cloud storage functionality without any specific configurations etc. I see in the log files that the dev server is accepting requests at "/_ah/gcs" yet it seems that there is no handler for that url. I 've tried with version 1.8.5 and 1.8.6. Apart from my app, not even the demo app provided by Google works.

Is there something that I 'm missing here, e.g. a special configuration for the dev-appserver?


回答1:


Sorry the following change was pushed out too early by mistake. It only works with 1.8.8 SDK. We are streamlining the release process of gcs client to align with SDK. Sorry

https://code.google.com/p/appengine-gcs-client/source/detail?r=125 Without this change, it works on 1.8.7 SDK.



来源:https://stackoverflow.com/questions/19727344/google-cloud-storage-client-not-working-on-dev-appserver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!