Guzzle * 70 recv()失败(104:由同行重置连接)

Hi tried to do a simple guzzle request using GET method but I'm getting an error of

[error] 16#16: *70 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 172.26.0.1, server: localhost, request: "POST /dologin HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost", referrer: "http://localhost/login"

Not sure why but when I try to do a simple CURL request via terminal and PHP script the response was correct and I was able to retrieve the data. below are my code for the Laravel Guzzle

 $request_url = "http://myendpoint/GETDATA/$UserID/";
 $client = new \GuzzleHttp\Client();
 $res = $client->request('GET', $request_url); // <-- This one throws an error

But on a PHP script I have this

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://myendpoint/GETDATA/$UserID/");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$server_output = curl_exec ($ch);
curl_close ($ch);
// further processing ....
echo "
" . $server_output . "
";
exit();

But this one returns the response. Only through Guzzle that I'm experiencing the error. Any idea why and how to solve this?