Bug with symfony/http-client #50
Comments
I have not problem using |
@shokme Thanks for feedback but I am using |
yes, everything is the same. But I do a very simple call $movies = Movie::search('Ready Player One')->raw(); But as you said:
So I don't think the error come from your call. |
@shokme yes you are right that's not about the call, I have tried several combinations in my project so guzzle 6 with adapter works well, after clearing some packages guzzle 7 started working fine with whole config and mailisearch, but symfony/http-client still stays problem for me. If I will have any solution will write it down. Thanks for your time. |
Ok, I'm sorry to not be able to help you further. perhaps doing some |
@shokme Still thanks a lot for time and help, the same configuration that we both have gives me hopes that I have something mistaken so I will continue investigation thanks again. |
@shokme So I have found out my problem was with docker configuration and env variable. I had |
Thanks for your investigation @JexPY! Be sure it will be helpful for users coming after you 👍 |
As you know symfony/http-client is required in plenty of packages but it was giving me the error so I removed them to test meilisearch than installed http/guzzle6-adapter and everything seems to work ok than I installed the packages that I have removed they installed symfony/http-client and as I guess laravel gives priority to it and I am getting this error again. I have also tried to install symfony/http-client nyholm/psr7 as you suggested in readme but still getting the error. What do you think what will be solution for it.
Have also tried to update guzzle to 7.0 but still not working as expected, I think there is something with php version what will be your solution?
Using:
Laravel: 6.18.40
PHP: 7.4.5
Any request to mailisearch using symfony/http-client returns the error:
The text was updated successfully, but these errors were encountered: