以下是 Google Cloud 控制台日志记录的屏幕截图。从我的服务器调用 /get_user 时显示错误。但是响应状态是 200,这应该意味着成功。这怎么可能?还有什么是实际错误?下面的所有行都没有给出任何类似于错误消息的东西。
{
httpRequest: {
status: 200
}
insertId: "59f27485000f32ab85505e70"
labels: {
clone_id: "00c61b117c384e485a095752c23b4277d1844399c104ae542bd367f2b52df046b21a56584c7d"
}
logName: "projects/villagethegame111/logs/appengine.googleapis.com%2Frequest_log"
operation: {
first: true
id: "59f2748500ff00ff5dbae8f3b5ad0001737e76696c6c61676574686567616d65313131000170726f643230313730393233000100"
last: true
producer: "appengine.googleapis.com/request_id"
}
protoPayload: {
@type: "type.googleapis.com/google.appengine.logging.v1.RequestLog"
appEngineRelease: "1.9.54"
appId: "s~villagethegame111"
cost: 8.0801e-8
endTime: "2017-10-26T23:49:25.076502Z"
finished: true
first: true
host: "villagethegame111.appspot.com"
httpVersion: "HTTP/1.1"
instanceId: "00c61b117c384e485a095752c23b4277d1844399c104ae542bd367f2b52df046b21a56584c7d"
instanceIndex: -1
ip: "38.102.224.170"
latency: "0.052508s"
line: [
0: {
logMessage: "200 OK"
severity: "ERROR"
time: "2017-10-26T23:49:25.068980Z"
}
]
megaCycles: "29"
method: "GET"
requestId: "59f2748500ff00ff5dbae8f3b5ad0001737e76696c6c61676574686567616d65313131000170726f643230313730393233000100"
resource: "/api/get_user"
responseSize: "272"
startTime: "2017-10-26T23:49:25.023994Z"
status: 200
urlMapEntry: "village.api.root"
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
versionId: "prod20170923"
}
receiveTimestamp: "2017-10-26T23:49:26.000113484Z"
resource: {
labels: {
module_id: "default"
project_id: "villagethegame111"
version_id: "prod20170923"
zone: "us14"
}
type: "gae_app"
}
severity: "ERROR"
timestamp: "2017-10-26T23:49:25.023994Z"
}