我尝试在 GC AppEngine 上部署应用程序。部署过程中没有错误,但应用程序无法运行(仅显示加载页面)。日志中唯一一个奇怪的原始日志
OpenBLAS WARNING - could not determine the L2 cache size on this system
Run Code Online (Sandbox Code Playgroud)
顺便说一句 - 它在我的本地机器上运行良好。
这是基于 Dash 框架的 python Web 应用程序
我的应用程序.yaml:
runtime: python37
service: service-name
instance_class: F2
entrypoint: gunicorn -b :$PORT main:app.server
Run Code Online (Sandbox Code Playgroud)
要求.txt:
Flask==1.0.2
dash==0.34.0
dash-html-components==0.13.4
dash-core-components==0.41.0
dash-table==3.1.11
gunicorn==19.9.0
google-cloud-pubsub==0.37.2
requests==2.21.0
pandas==0.23.4
Run Code Online (Sandbox Code Playgroud)
我必须为我的 AppEngine 应用程序中的特定服务配置防火墙。你知道我该怎么做吗?据我所知 App 引擎防火墙适用于所有服务
提前致谢
我尝试在 AppEngine 上部署我的 Python 应用程序。在部署期间,我必须从 GC Compute Engine 实例上的私有存储库下载依赖项。我已将所有需要的行添加到 requirements.txt 中,当我使用我的私有存储库的外部 IP 时它可以工作。但是使用内部IP要好得多。在 GC IAM 系统中,我已经更改了 Cloud Build 帐户和 AppEngine 帐户的权限,但它仍然不起作用并显示连接超时。也许你可以帮忙。
提前致谢!
google-app-engine google-compute-engine google-cloud-platform google-iam google-cloud-build