0

我的 Google Assistant Action 不定期报告我的 API 端点没有响应:“Google Assistant Action 没有响应”。几分钟后,我收到消息:“Google Assistant Action 现在很健康”。我的 API 端点是我在 AWS Lambda 上部署的 Jovo 应用程序。我无法解释那里发生了什么。有没有人已经遇到过同样的问题?当 Google Crawler 进行健康检查并发出简单的默认欢迎请求时,有时会发生该错误。

{
  "responseId": "1a3ade25-3247-4871-9a04-84e4420f3315-d74139ee",
  "queryResult": {
    "queryText": "GOOGLE_ASSISTANT_WELCOME",
    "parameters": {},
    "allRequiredParamsPresent": true,
    "outputContexts": [
      {
        "name": "projects/my-action/agent/environments/__aog-10/users/-/sessions/ABwppHHAx-y_McQ7TBy9-w8uYlL_ZvO_4ZvELPpyNSQmheTRdca_TolLSRTbCKK-QJx3AcHXTMya-O5P9XUY6wl2Gg/contexts/actions_capability_media_response_audio"
      },
      {
        "name": "projects/my-action/agent/environments/__aog-10/users/-/sessions/ABwppHHAx-y_McQ7TBy9-w8uYlL_ZvO_4ZvELPpyNSQmheTRdca_TolLSRTbCKK-QJx3AcHXTMya-O5P9XUY6wl2Gg/contexts/actions_capability_audio_output"
      },
      {
        "name": "projects/my-action/agent/environments/__aog-10/users/-/sessions/ABwppHHAx-y_McQ7TBy9-w8uYlL_ZvO_4ZvELPpyNSQmheTRdca_TolLSRTbCKK-QJx3AcHXTMya-O5P9XUY6wl2Gg/contexts/google_assistant_input_type_voice"
      },
      {
        "name": "projects/my-action/agent/environments/__aog-10/users/-/sessions/ABwppHHAx-y_McQ7TBy9-w8uYlL_ZvO_4ZvELPpyNSQmheTRdca_TolLSRTbCKK-QJx3AcHXTMya-O5P9XUY6wl2Gg/contexts/google_assistant_welcome"
      },
      {
        "name": "projects/my-action/agent/environments/__aog-10/users/-/sessions/ABwppHHAx-y_McQ7TBy9-w8uYlL_ZvO_4ZvELPpyNSQmheTRdca_TolLSRTbCKK-QJx3AcHXTMya-O5P9XUY6wl2Gg/contexts/__system_counters__",
        "parameters": {
          "no-input": 0.0,
          "no-match": 0.0
        }
      }
    ],
    "intent": {
      "name": "projects/my-action/agent/intents/ef216641-eee6-4d4c-b0bb-8095a91b4c1a",
      "displayName": "Default Welcome Intent"
    },
    "intentDetectionConfidence": 1.0,
    "languageCode": "de"
  },
  "originalDetectIntentRequest": {
    "source": "google",
    "version": "2",
    "payload": {
      "user": {
        "userId": "MdTVVf1LKbusYfw2/+r9bVV2MWS6kGrY5id67jgH8bg\u003d",
        "profile": {
          "givenName": "Google",
          "familyName": "Crawler"
        },
        "locale": "de-DE"
      },
      "conversation": {
        "conversationId": "ABwppHHAx-y_McQ7TBy8-w8uYlL_ZvO_4ZvELPpyNSQmheTRdca_TolLSRTbCKK-QJx3AcHXTMya-O5P9XUY6wl2Gg",
        "type": "NEW"
      },
      "inputs": [
        {
          "intent": "actions.intent.MAIN",
          "rawInputs": [
            {
              "inputType": "VOICE",
              "query": "my action"
            }
          ],
          "arguments": [
            {
              "name": "is_health_check",
              "boolValue": true,
              "textValue": "1"
            }
          ]
        }
      ],
      "surface": {
        "capabilities": [
          {
            "name": "actions.capability.MEDIA_RESPONSE_AUDIO"
          },
          {
            "name": "actions.capability.AUDIO_OUTPUT"
          }
        ]
      }
    }
  },
  "session": "projects/my-action/agent/environments/__aog-10/users/-/sessions/ABwppHHAx-y_McQ7TBy9-w8uYlL_ZvO_4ZvELPpyNSQmheTRdca_TolLSRTbCKK-QJx3AcHXTMya-O5P9XUY6wl2Gg"
}
{
  "textPayload": "Dialogflow fulfillment error : Webhook call failed. Error: UNAVAILABLE.",
  "insertId": "10myjl2fvo0in4",
  "resource": {
    "type": "global",
    "labels": {
      "project_id": "my-action"
    }
  },
  "timestamp": "2021-04-19T07:38:31.774560Z",
  "severity": "ERROR",
  "labels": {
    "request_id": "e83ec059-ace9-41e4-9deb-f2d90569a185-d74139ee",
    "type": "dialogflow_fulfillment_error_response",
    "protocol": "V2",
    "source": "google"
  },
  "logName": "projects/my-action/logs/dialogflow_agent",
  "trace": "ABwppHHoDB4S0KP5MxNO6R1d-PnWl6ROtWriFBJ-WWm94WKuUgLju0hHl7bBuHqujLC9jhlTwurhUtVmcMrGE22eaA",
  "receiveTimestamp": "2021-04-19T07:38:31.779238873Z"
}
4

0 回答 0