Closed fredmef closed 6 months ago
Hi @fredmef,
Thank you for using our client.
Our client requires a PSR-18 HTTP client implementation. According to the Guzzle changelog, support for PSR-18 starts from version 7.0.0. Could you please try updating your Guzzle library to a version at or above 7.0.0?
Best regards
Hi @bednar, thanks to your answer. Since I'm using Drupal 9.5.11, I'm stucked to guzzlehttp/guzzle: 6.5.8. So I'll wait to upgrade to Drupal 10 and the ability to use Guzzle 7 to use the latest InfluxDB php client. Regards
The InfluxDB client is able to run with any implementation of PSR-18 compliant HTTP client - https://packagist.org/providers/psr/http-client-implementation. You can use different HTTP client which is compatible with your Drupal.
For more info see https://github.com/influxdata/influxdb-client-php#custom-http-client
Hello,
I want to use Guzzle Http Client (guzzlehttp/guzzle: 6.5.8) with Influxdb Client 3.4.0 so I've done the followings:
composer require influxdata/influxdb-client-php guzzlehttp/guzzle
But when I connect this client I've the following error:
Can you explain me what I'm doing wrong ?
Regards.