简体   繁体   English

Google App Engine模块无数据存储访问权限

[英]Google App Engine modules no datastore access

I have a project consisting of three modules, where the default and one of the background task modules are operating as expected. 我有一个包含三个模块的项目,其中默认模块和一个后台任务模块按预期运行。

My third module have the following weird behaviours: 我的第三个模块具有以下怪异行为:

  • No access to the shared data store or memcache. 无法访问共享数据存储或内存缓存。
  • When a task is scheduled in the default queue and should be picked up by the third module, a 404 is returned. 当任务安排在默认队列中并应由第三个模块接收时,将返回404。 When the same task is called manually via a browser it works fine. 通过浏览器手动调用同一任务时,它可以正常工作。

It appears to be a lack of access to the shared services, but they are working so I'm pretty confused.. Have anyone come across a similar problem before? 似乎缺少对共享服务的访问权,但是它们正在运行,所以我很困惑。.以前有人遇到过类似问题吗?

Never seen this before, but here are a few ideas: you can try changing the module's version number and uploading it again, also dont forget to make it default. 以前从未见过,但是这里有一些想法:您可以尝试更改模块的版本号,然后再次上传,也不要忘记将其设置为默认值。 I have also run into problems with one of my modules consistently crashing due to low memory, you can try to change it to a beefier machine. 由于内存不足,我的一个模块始终崩溃,我也遇到了问题,您可以尝试将其更改为功能更强大的计算机。

问题是我很傻(无法正确读取查询参数)和Google方面的一些文档缺乏相结合-Task Queue任务不遵守dispatch.xml,这意味着您需要为每个队列设置一个单独的队列模组

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM