Dialogflow Webhook получает URL_UNREACHABLE: причина 12 - PullRequest
0 голосов
/ 16 октября 2019

Я получаю URL_UNREACHABLE Причина 12 для веб-хуков диалогового потока. Я убедился, что мой сервер работает. Отправка запроса POST / GET на сервер через почтальона дает желаемый ответ, но диалоговое окно не может связаться с сервером

Отладочный ответ при запуске на имитаторе диалога

  "response": "Helper Buddy isn't responding right now. Try again soon.",
  "expectUserResponse": false,
  "conversationToken": "<someToken>",
  "audioResponse": "<notImportant>",
  "ssmlMarkList": [],
  "debugInfo": {
    "assistantToAgentDebug": {
      "curlCommand": "curl -v 'https://api.api.ai/api/integrations/google?token=83d85d4345444d219eb27da5e5b02907' -H 'Content-Type: application/json;charset=UTF-8' -H 'Google-Actions-API-Version: 2' -H 'Authorization: eyJhbGciOiJSUzI1NiIsImtpZCI6IjNkYjNlZDZiOTU3NGVlM2ZjZDlmMTQ5ZTU5ZmYwZWVmNGY5MzIxNTMiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhdWQiOiJidWRkeS1iYjYyOCIsIm5iZiI6MTU3MTIyOTMxNiwiaWF0IjoxNTcxMjI5NjE2LCJleHAiOjE1NzEyMjk3MzYsImp0aSI6ImE2NWJjNzEyN2MwOGY2ZmUzZTcxZTAyNGM3ZmM3NDRhYjE2YzI2ZTIifQ.2Dmkt1mf_djT7sXyHHewe3xdQYauYsuS2oC-Lp6cRSLmgrTAeTibu7qf3ZQO1COUZKRAO_0NXF83-hHUFIqsyvFjgfMHWrHcCbX7dMXWTsb5dW1GiEAiN7CsyYgjZb43wHReYDVbSIXBgpQScxxjUJL64LDsDkLoJm4xZ7oxXhjNcwTL3uyqQqekw5zVnURRWmkB9k8j4gtA56Y2u4Y9oOljgzL28gPXJ2ZY5S5ZwkZeLA1YMvcGW4jcxQFrRvnQvAJM-HAQ4vupTfvsCa5CUlwb4Y-ZLRyrHyDVd0x69fR8SYIll0ytWJcd4LZrZjGfDIKISlbF55Y_Wb-5Q9Dw_Q'  -A Google-ActionsOnGoogle/1.0 -X POST -d '{\"user\":{\"locale\":\"en-US\",\"lastSeen\":\"2019-10-16T12:10:58Z\",\"userVerificationStatus\":\"VERIFIED\"},\"conversation\":{\"conversationId\":\"ABwppHFJhCaq9bkYyo6yNa_bcYMg4iWdsmcuOmBA_WQCVZ_QcE0YQb81WgYT7ougHkIWP94t2EAhP90\",\"type\":\"ACTIVE\",\"conversationToken\":\"[]\"},\"inputs\":[{\"intent\":\"actions.intent.TEXT\",\"rawInputs\":[{\"inputType\":\"VOICE\",\"query\":\"help\"}],\"arguments\":[{\"name\":\"text\",\"rawText\":\"help\",\"textValue\":\"help\"}]}],\"surface\":{\"capabilities\":[{\"name\":\"actions.capability.AUDIO_OUTPUT\"},{\"name\":\"actions.capability.MEDIA_RESPONSE_AUDIO\"},{\"name\":\"actions.capability.ACCOUNT_LINKING\"}]},\"isInSandbox\":true,\"availableSurfaces\":[{\"capabilities\":[{\"name\":\"actions.capability.AUDIO_OUTPUT\"},{\"name\":\"actions.capability.SCREEN_OUTPUT\"},{\"name\":\"actions.capability.WEB_BROWSER\"}]}],\"requestType\":\"SIMULATOR\"}'",
      "assistantToAgentJson": "{\"user\":{\"locale\":\"en-US\",\"lastSeen\":\"2019-10-16T12:10:58Z\",\"userVerificationStatus\":\"VERIFIED\"},\"conversation\":{\"conversationId\":\"ABwppHFJhCaq9bkYyo6yNa_bcYMg4iWdsmcuOmBA_WQCVZ_QcE0YQb81WgYT7ougHkIWP94t2EAhP90\",\"type\":\"ACTIVE\",\"conversationToken\":\"[]\"},\"inputs\":[{\"intent\":\"actions.intent.TEXT\",\"rawInputs\":[{\"inputType\":\"VOICE\",\"query\":\"help\"}],\"arguments\":[{\"name\":\"text\",\"rawText\":\"help\",\"textValue\":\"help\"}]}],\"surface\":{\"capabilities\":[{\"name\":\"actions.capability.AUDIO_OUTPUT\"},{\"name\":\"actions.capability.MEDIA_RESPONSE_AUDIO\"},{\"name\":\"actions.capability.ACCOUNT_LINKING\"}]},\"isInSandbox\":true,\"availableSurfaces\":[{\"capabilities\":[{\"name\":\"actions.capability.AUDIO_OUTPUT\"},{\"name\":\"actions.capability.SCREEN_OUTPUT\"},{\"name\":\"actions.capability.WEB_BROWSER\"}]}],\"requestType\":\"SIMULATOR\"}",
      "delegatedRequest": {
        "delegatedRequest": ""
      }
    },
    "agentToAssistantDebug": {
      "agentToAssistantJson": "{\n  \"responseMetadata\": {\n    \"status\": {\n      \"code\": 10,\n      \"message\": \"Failed to parse Dialogflow response into AppResponse because of invalid platform response: Could not find a RichResponse or SystemIntent in the platform response for agentId: 55d07c05-cf3e-4f71-afe0-19e8b22053c8 and intentId: 3bf51cb5-e9ba-45a6-937e-a0976834f665\"\n    }\n  }\n}",
      "delegatedResponse": {
        "delegatedResponse": ""
      }
    },
    "sharedDebugInfoList": [
      {
        "name": "ResponseValidation",
        "debugInfo": "",
        "subDebugEntryList": [
          {
            "name": "MalformedResponse",
            "debugInfo": "Failed to parse Dialogflow response into AppResponse because of invalid platform response: Could not find a RichResponse or SystemIntent in the platform response for agentId: 55d07c05-cf3e-4f71-afe0-19e8b22053c8 and intentId: 3bf51cb5-e9ba-45a6-937e-a0976834f665.",
            "subDebugEntryList": []
          }
        ]
      }
    ],
    "conversationBuilderExecutionEventsList": []
  },
  "visualResponse": {
    "visualElementsList": [],
    "suggestionsList": [],
    "agentLogoUrl": ""
  },
  "clientError": 0,
  "is3pResponse": true,
  "clientOperationList": [
    {
      "operationType": 7,
      "exitIndicatorPayLoad": {
        "status": 1
      }
    }
  ],
  "projectName": "",
  "renderedHtml": ""
}

Любая помощь будетоценили

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...