-
Notifications
You must be signed in to change notification settings - Fork 28
client->getOrder occur Curl Excpetion, #41
Description
` /**
* Get authorization info
* @return array
* @throws AuthorizationException
* @throws \stonemax\acme2\exceptions\RequestException
*/
public function getAuthorization()
{
list($code, $header , $body) = RequestHelper::get($this->authorizationUrl);
if ($code != 200)
{
throw new AuthorizationException("Get authorization info failed, the authorization url is: {$this->authorizationUrl}, the code is: {$code}, the header is: {$header}, the body is: ".print_r($body, TRUE));
}
$this->populate($body);
return array_merge($body, ['authorizationUrl' => $this->authorizationUrl]);
}`
this function will Throw A Problem
[0] AuthorizationException in AuthorizationService.php line 95 Get authorization info failed, the authorization url is: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/107542734, the code is: 405, the header is: HTTP/1.1 405 Method Not Allowed Server: nginx Date: Tue, 08 Sep 2020 01:36:57 GMT Content-Type: application/problem+json Content-Length: 103 Connection: keep-alive Cache-Control: public, max-age=0, no-cache Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index", the body is: Array ( [type] => urn:ietf:params:acme:error:malformed [detail] => Method not allowed [status] => 405 )
SO,I need solve this Exception immediately。can you help me,thinks。
And,I notice You are chinese,May I add your contact information like qq or wechat?