Laravel Microservice Error: Call to undefined method GuzzleHttp\Exception\ConnectException::getResponse()

there are no of reason behind this error
(i) guzzle version in composer json
(ii) connection issue between client and server side microservices

client side url in env file:

server side url in env file:

Solution:

in client side and server side url http is mention so to resolve this error we have to change the client side url and server side url in env file

change http to https in both client side and server side url

2nd solution:

check guzzle version in composer json

composer require guzzlehttp/guzzle:^6.0 in terminal or gitbash

if 6.0 not suitable then other version also you can try run

Tagged : /

Leave a Reply