发布请求时出现Google App Engine 500内部服务器错误

时间:2020-02-17 17:43:14

标签: google-app-engine

我正在使用基于vertx的代码创建Google App Engine实例,并尝试处理发布请求。 如果我在本地启动我的应用程序-一切正常,但是如果我尝试将请求发布到已安装的应用引擎主机上-我的所有请求都以500个内部服务器错误结束。

为什么?也许我忘记了什么?

例如:

curl -w "%{http_code}" -d "url=test" -X POST "http://localhost:80/hashposttest"
Use url: http://nifty-memory-w307.appspot.com/hashget/200okkk@Sprite:~$ 


curl -w "%{http_code}"  -d "url=test" -X POST "https://nifty-memory-268407.appspot.com/hashposttest"

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered an error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>
500

0 个答案:

没有答案