问题描述
我们目前正在运行App Engine(Java),并且想要测试Google正在测试的新托管虚拟机。
一切都在建立,但我可以' t
当我构建时,返回的错误是:
在admin日志我可以看到它已经尝试了,但是错误又回来了:
lockquote
API配置更新失败
发现文档是在本地创建的,但日志中没有任何内容。
我可以看到POST到getApiConfigs,但没有关于失败的详细信息。
希望其他人遇到同样的问题并可以提供帮助吗?
实际上,我的问题是,我需要做些什么才能让云端点在App Engine的托管虚拟机上运行?
感谢
您是否在?
我有同样的问题,在检查日志后,我意识到我有两个具有相同API名称和版本的类,但一个具有名称空间,另一个没有。
具有相同API名称和版本的所有API类必须具有完全相同的API范围配置。
我只是将命名空间设置为相同API和它的工作。
We're currently running on App Engine (Java) and want to test the new managed VMs that Google are beta testing.
Everything builds, but I can't get any of the endpoints to work.
When I build, the error that comes back is:
In the admin logs I can see that it has attempted, but the error comes back:
The discovery docs get created locally, but there isn't anything in the logs.I can see the POST to the getApiConfigs, but no details on the failure.
Hopefully someone else has encountered the same problem and can help?
In essence my question is, what do I need to do to get cloud endpoints running on a managed VM for App Engine?
Thanks
Have you checked your logs at https://console.cloud.google.com/logs/viewer ?I had the same problem and after checking the logs I realized that I had two classes with the same API name and version but one had namespace and the other didn't.
All API classes with the same API name and version must have the exact same API-wide configuration.
I just set the namespace to be the same for both API's and it worked.
这篇关于Google App Engine /托管虚拟云端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!