API 키를 생성하고 URL, API, 사용자 이름을 입력했는데, WP Discourse 플러그인에서 다음과 같은 메시지가 나옵니다.
Discourse에 연결되어 있지 않습니다. 연결 설정이 올바른지 확인하세요. 문제가 계속되면 연결 로그를 활성화하고 Logs를 확인하세요.
그리고 다음과 같은 로그가 표시됩니다.
[2022-06-05 17:20:38] connection.INFO: check_connection_status.failed_to_connect {“error”:“wpdc_response_error”,“message”:“An invalid response was returned from Discourse”,“http_code”:“”,“http_body”:“”}
때로는 다음과 같은 로그도 나타납니다.
[2022-06-05 16:14:55] connection.INFO: check_connection_status.failed_to_connect {“error”:“wpdc_response_error”,“message”:“An invalid response was returned from Discourse”,“http_code”:404,“http_body”:“\r\n404 Not Found\r\n\r\n<h1>404 Not Found\r\n<hr><center>nginx\r\n\r\n\r\n”}
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
호스팅 제공업체에 좀 더 강하게 문의하여, 도메인에 대한 cURL 요청이 불가능한 이유가 무엇인지 물어보시는 것을 권장합니다. 만약 WP Discourse 플러그인의 문제라고 생각할 만한 더 구체적인 이유가 있다면(표면적으로는 서버의 잘못된 cURL 버전이 더 가능성이 높아 보이지만), 이곳에 게시하거나 저에게 개인 메시지를 보내주시면 기꺼이 함께 더 자세히 조사해 드리겠습니다.