Open alfchee opened 6 years ago
Add \PHRETS\Http\Client::set(new \GuzzleHttp\Client);
before creating Session like that:
\PHRETS\Http\Client::set(new \GuzzleHttp\Client);
$this->rets = new \PHRETS\Session( $this->config );
Hi @prospace7090 ,
Where should we put that? What file exactly?
Thanks
@carenamaemanzano He showed where in his post. Wherever in your code you are doing $this->rets = new \PHRETS\Session( $this->config );
add it right before that.
Hi, I have seen that with some providers this problems occurs very often. In my case I want to fetch data from a Rapattoni connection and I'm looping through the multiple Classes of Property, then after finished the first download and making the second Search call the error appears:
This error only happens with this client because is the only connection with Rapattoni that we are making, and the support team answered that may be a second connection is closing the first established because they only allow 1 connection at time.
I'm using the version 2.5 because it seems to have some patches about the use of Cookies and also the re-login when session problems occurs, but I'm having the same bugs than with version 2.2
Then what can I do to solve this problem?