migrating to HRD “This application does not have access to that blob”

点点圈 提交于 2019-12-25 08:16:21

问题


I just migrated to HRD and now its telling me i cant access my own blobs...

Uncaught exception from servlet
java.lang.SecurityException: This application does not have access to that blob.
at com.google.appengine.api.blobstore.BlobstoreServiceImpl.fetchData(BlobstoreServiceImpl.java:200)
at com.droidastic.telljokes.server.servlet.ServeBlobsServlet.checkBlobKeyExists(ServeBlobsServlet.java:100)
at com.droidastic.telljokes.server.servlet.ServeBlobsServlet.doGet(ServeBlobsServlet.java:64)

回答1:


That happened to me before when I migrated to HRD. I had my keys stored as strings in the datastore, when I migrated, those stringed keys where not re-written. It was quite a nightmare.

Anyway, your blobstore keys were probably not re-written to point to the new keys in your new app in HRD. It could be because you stored them as a string or something other than the equivalent of BlobstoreKey in Java.



来源:https://stackoverflow.com/questions/10308229/migrating-to-hrd-this-application-does-not-have-access-to-that-blob

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