Bonjour à tous,
Je viens d’acheter un Eco et après avoir fait la mise en service, j’ai récupéré la clef API auprès du support comme indiqué.
Version du plugin (visible dans la page de configuration du plugin) ?
->2022-11-03 21:15:04
Plateforme Jeedom utilisée (DIY, RPI, Atlas, Smart, etc…)?
→ DIY, VM sur Synology Version 4.3.14
Problème apparu depuis quand (mise à jour, nouvelle installation) ?
→ Dès la première installation, j’ai essayé Stable, Beta, même résultat
Description du problème :
Lorsque j’appuis sur Synchroniser, j’ai un bandeau avec « 500 : Internal Server Error » qui s’affiche ainsi qu’un autre bandeau avec « Synchronization en cours »
L’archive DiagDebug (voir chapitre suivant pour la procédure) :
→ generateDiagDebug - iopool_EcO\DiagDebug::addJeedomLog - File jeedom don’t exist in Jeedom. We are not able to store this file
Log:
0457|[2023-01-16 08:31:48]ERROR : generateDiagDebug - iopool_EcO\DiagDebug::addJeedomLog - File jeedom don't exist in Jeedom. We are not able to store this file
0458|[2023-01-16 08:34:23]DEBUG : │ getPools Paramètres de la requête: array ( 'method' => 'GET', 'base_uri' => 'https://api.iopool.com/v1/', 'path' => 'pools', 'options' => array ( 'headers' => array ( 'x-api-key' => 'invCh3yUCV6E06bli3kirQZjlk4bKTT8QpJm770j', ), ), )
0459|[2023-01-16 08:34:24]DEBUG : │ requestLe contenu de la requête est: GuzzleHttp\Psr7\Request::__set_state(array( 'method' => 'GET', 'requestTarget' => NULL, 'uri' => GuzzleHttp\Psr7\Uri::__set_state(array( 'scheme' => 'https', 'userInfo' => '', 'host' => 'api.iopool.com', 'port' => NULL, 'path' => '/v1/pools', 'query' => '', 'fragment' => '', )), 'headers' => array ( 'User-Agent' => array ( 0 => 'GuzzleHttp/6.5.5 curl/7.64.0 PHP/7.3.31-1~deb10u2', ), 'Host' => array ( 0 => 'api.iopool.com', ), 'x-api-key' => array ( 0 => 'invCh3yUCV6E06bli3kirQZjlk4bKTT8QpJm770j', ), ), 'headerNames' => array ( 'user-agent' => 'User-Agent', 'host' => 'Host', 'x-api-key' => 'x-api-key', ), 'protocol' => '1.1', 'stream' => GuzzleHttp\Psr7\Stream::__set_state(array( 'stream' => NULL, 'size' => 0, 'seekable' => true, 'readable' => true, 'writable' => true, 'uri' => 'php://temp', 'customMetadata' => array ( ), )), ))
0460|[2023-01-16 08:34:24]DEBUG : │ requestLe contenu de la réponse est: GuzzleHttp\Psr7\Response::__set_state(array( 'reasonPhrase' => 'Forbidden', 'statusCode' => 403, 'headers' => array ( 'Content-Type' => array ( 0 => 'application/json', ), 'Content-Length' => array ( 0 => '23', ), 'Connection' => array ( 0 => 'keep-alive', ), 'Date' => array ( 0 => 'Mon, 16 Jan 2023 14:34:24 GMT', ), 'x-amzn-RequestId' => array ( 0 => '71fccc6f-1091-498e-b9f7-b51a38da3fe0', ), 'x-amzn-ErrorType' => array ( 0 => 'ForbiddenException', ), 'x-amz-apigw-id' => array ( 0 => 'e1wBlEDVjoEFylw=', ), 'X-Cache' => array ( 0 => 'Error from cloudfront', ), 'Via' => array ( 0 => '1.1 1c83639f573443e1a73326154327e822.cloudfront.net (CloudFront)', ), 'X-Amz-Cf-Pop' => array ( 0 => 'DFW56-P5', ), 'X-Amz-Cf-Id' => array ( 0 => 'h5xsPBjWBlqvPSmyQxrzHo-856-FGttB-Fg9Nd-FpjVGBQZzsKRJ-g==', ), ), 'headerNames' => array ( 'content-type' => 'Content-Type', 'content-length' => 'Content-Length', 'connection' => 'Connection', 'date' => 'Date', 'x-amzn-requestid' => 'x-amzn-RequestId', 'x-amzn-errortype' => 'x-amzn-ErrorType', 'x-amz-apigw-id' => 'x-amz-apigw-id', 'x-cache' => 'X-Cache', 'via' => 'Via', 'x-amz-cf-pop' => 'X-Amz-Cf-Pop', 'x-amz-cf-id' => 'X-Amz-Cf-Id', ), 'protocol' => '1.1', 'stream' => GuzzleHttp\Psr7\Stream::__set_state(array( 'stream' => NULL, 'size' => 23, 'seekable' => true, 'readable' => true, 'writable' => true, 'uri' => 'php://temp', 'customMetadata' => array ( ), )), ))
0461|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * Trying 108.156.245.74...
0462|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * TCP_NODELAY set
0463|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * Connected to api.iopool.com (108.156.245.74) port 443 (#0)
0464|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * ALPN, offering http/1.1
0465|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * successfully set certificate verify locations:
0466|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * CAfile: none
0467|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : CApath: /etc/ssl/certs
0468|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
0469|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * ALPN, server accepted to use http/1.1
0470|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * Server certificate:
0471|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * subject: CN=*.iopool.com
0472|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * start date: Sep 25 00:00:00 2022 GMT
0473|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * expire date: Oct 24 23:59:59 2023 GMT
0474|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * subjectAltName: host "api.iopool.com" matched cert's "*.iopool.com"
0475|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
0476|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * SSL certificate verify ok.
0477|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : > GET /v1/pools HTTP/1.1
0478|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : Host: api.iopool.com
0479|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : User-Agent: GuzzleHttp/6.5.5 curl/7.64.0 PHP/7.3.31-1~deb10u2
0480|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : x-api-key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
0481|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG :
0482|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < HTTP/1.1 403 Forbidden
0483|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < Content-Type: application/json
0484|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < Content-Length: 23
0485|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < Connection: keep-alive
0486|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < Date: Mon, 16 Jan 2023 14:34:24 GMT
0487|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < x-amzn-RequestId: 71fccc6f-1091-498e-b9f7-b51a38da3fe0
0488|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < x-amzn-ErrorType: ForbiddenException
0489|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < x-amz-apigw-id: e1wBlEDVjoEFylw=
0490|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < X-Cache: Error from cloudfront
0491|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < Via: 1.1 1c83639f573443e1a73326154327e822.cloudfront.net (CloudFront)
0492|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < X-Amz-Cf-Pop: DFW56-P5
0493|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : < X-Amz-Cf-Id: h5xsPBjWBlqvPSmyQxrzHo-856-FGttB-Fg9Nd-FpjVGBQZzsKRJ-g==
0494|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : <
0495|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG : * Connection #0 to host api.iopool.com left intact
0496|[2023-01-16 08:34:24]DEBUG : │ request::DEBUG :
0497|[2023-01-16 08:34:24]WARNING : │ getPools Réponse en erreur avec le code: 403 et la raison: Forbidden
J’ai verifié plusieurs fois ma clef API, sauf si le support c’est trompé sinon c’est la bonne.
J’avoue je seche là.