在Google App Engine中部署Quart Python应用程序

哈罗德

我正在尝试通过Google Cloud的App Engine标准部署基于Quart的python应用程序。但是,我不断收到以下错误:

Traceback (most recent call last):
  File "/env/lib/python3.7/site-packages/gunicorn/workers/gthread.py", line 284, in handle
    keepalive = self.handle_request(req, conn)
  File "/env/lib/python3.7/site-packages/gunicorn/workers/gthread.py", line 333, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
TypeError: __call__() missing 1 required positional argument: 'send'

我知道Quart是ASGI解决方案,而Google App Engine是无服务器设置。将quart部署到AWS Lambda的建议之一是使用Magnum。这对Google Cloud App Engine也适用吗?

任何帮助,将不胜感激。

达斯汀·英格拉姆

https://github.com/pgjones/quart/issues/68

Quart是一个ASGI框架,而不是WSGI框架,这意味着它无法与无服务器一起使用。它可以与Mangum一起使用,后者是ASGI的无服务器替代方案。

这也意味着Quart将与App Engine,Cloud Functions等不兼容。

但是,它可以通过支持ASGI的HTTP服务器(例如Uvicorn)Cloud Run配合使用

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

在Google App Engine中部署应用程序

来自分类Dev

在App Engine中部署后,应用程序不会更新

来自分类Dev

查看Google App Engine应用程序的部署日期

来自分类Dev

将节点应用程序部署到Google App Engine

来自分类Dev

将Django应用程序部署到Google App Engine

来自分类Dev

在 Google App Engine 上部署应用程序时出错

来自分类Dev

KeystoneJS 应用程序无法在 Google App Engine 上部署

来自分类Dev

Google App Engine Python应用程序需要登录

来自分类Dev

在Google App Engine中部署Flask应用导致“ gunicorn:错误:未指定应用模块”。

来自分类Dev

在Google App Engine中部署python代码时出现证书错误

来自分类Dev

从Google App Engine应用程序运行Google Dataflow管道?

来自分类Dev

禁止从任何版本的SDK将Java 6应用程序部署到Google App Engine

来自分类Dev

将应用程序部署到Google App Engine时出现问题

来自分类Dev

无法使用appcfg命令在Google App Engine上下载已部署应用程序的源代码

来自分类Dev

如何将网络应用程序部署到Google App Engine

来自分类Dev

使用部署在Google App Engine上的PHP应用程序发送邮件

来自分类Dev

错误400:无法将PHP 5.4应用程序部署到Google App Engine

来自分类Dev

尽管readiness_check返回200状态响应,但Google App Engine应用程序部署失败

来自分类Dev

如何在Google App Engine上部署Ktor应用程序?

来自分类Dev

在cloudshell(Google App Engine)中寻找已部署的应用程序文件的位置?

来自分类Dev

将应用程序部署到Google App Engine,并希望启动api和客户端

来自分类Dev

在Google App Engine上部署的应用程序的/ healthz路由返回404

来自分类Dev

如何将SpringBoot应用程序部署到Google App Engine?

来自分类Dev

在 Google App Engine 上部署 Django REST 应用程序会出现 502 错误

来自分类Dev

获取 IllegalStateException: No such servlet: jsp 当访问已部署的 Java 应用程序到 Google App Engine 时

来自分类Dev

在 Google App Engine 上部署现有的 Spring Boot 应用程序

来自分类Dev

部署 Google APP Engine 应用程序时出现错误“无法读取默认日志配置”

来自分类Dev

在 google-app-engine 上部署的 sping-boot 应用程序中出现 413 错误

来自分类Dev

在Google App Engine(Python)中,如何增加应用程序服务器的资源?

Related 相关文章

  1. 1

    在Google App Engine中部署应用程序

  2. 2

    在App Engine中部署后,应用程序不会更新

  3. 3

    查看Google App Engine应用程序的部署日期

  4. 4

    将节点应用程序部署到Google App Engine

  5. 5

    将Django应用程序部署到Google App Engine

  6. 6

    在 Google App Engine 上部署应用程序时出错

  7. 7

    KeystoneJS 应用程序无法在 Google App Engine 上部署

  8. 8

    Google App Engine Python应用程序需要登录

  9. 9

    在Google App Engine中部署Flask应用导致“ gunicorn:错误:未指定应用模块”。

  10. 10

    在Google App Engine中部署python代码时出现证书错误

  11. 11

    从Google App Engine应用程序运行Google Dataflow管道?

  12. 12

    禁止从任何版本的SDK将Java 6应用程序部署到Google App Engine

  13. 13

    将应用程序部署到Google App Engine时出现问题

  14. 14

    无法使用appcfg命令在Google App Engine上下载已部署应用程序的源代码

  15. 15

    如何将网络应用程序部署到Google App Engine

  16. 16

    使用部署在Google App Engine上的PHP应用程序发送邮件

  17. 17

    错误400:无法将PHP 5.4应用程序部署到Google App Engine

  18. 18

    尽管readiness_check返回200状态响应,但Google App Engine应用程序部署失败

  19. 19

    如何在Google App Engine上部署Ktor应用程序?

  20. 20

    在cloudshell(Google App Engine)中寻找已部署的应用程序文件的位置?

  21. 21

    将应用程序部署到Google App Engine,并希望启动api和客户端

  22. 22

    在Google App Engine上部署的应用程序的/ healthz路由返回404

  23. 23

    如何将SpringBoot应用程序部署到Google App Engine?

  24. 24

    在 Google App Engine 上部署 Django REST 应用程序会出现 502 错误

  25. 25

    获取 IllegalStateException: No such servlet: jsp 当访问已部署的 Java 应用程序到 Google App Engine 时

  26. 26

    在 Google App Engine 上部署现有的 Spring Boot 应用程序

  27. 27

    部署 Google APP Engine 应用程序时出现错误“无法读取默认日志配置”

  28. 28

    在 google-app-engine 上部署的 sping-boot 应用程序中出现 413 错误

  29. 29

    在Google App Engine(Python)中,如何增加应用程序服务器的资源?

热门标签

归档