Yaqi Yang
Yaqi Yang
@thaiphan, thanks for the good work. Our team will review it and decide if we will include in the next release. Thanks yaqi
I am on vacation and will come back in the second week of August. In the meantime, you can add log statements to the source code for receiveQueueMessage() and find...
I am closing this since nothing more has been reported recently. Please re-open it if you see more problems. Yaqi
Can you add some message logging in $serviceBusRestProxy->receiveMessage()? That will give you more information on where the freezing occurred. Specifically, the code is in ServiceBus\ServiceBusRestProxy.php, function receiveMessage($path, $receiveMessageOptions = null)...
If it is freezes again, I want to know exactly where it got frozen in the SDK source code.
The problem may be here (around line 212), ``` php $timeout = $receiveMessageOptions->getTimeout(); if (!is_null($timeout)) { $httpCallContext->addQueryParameter('timeout', $timeout); } ``` If freezing happens again, log the value of $timeout. If...
sendContext() is where the request is sent to the server. You can remove other message logging, but add logging in sendContext(). I will try to reproduce it also at the...
it could be a problem by file_put_contents(). Since it opens and closes a file each time you write to it, it may lose some log entries. You can try to...
Then you should continue to track down the issue. $channel->send() will be in Common\Internal\Http\HttpClient.php, line 240. You can add several log entries there, and then line 264 , $this->_response =...
it is not supposed to freeze, no matter what. $channel is just an object of Common\Internal\Http\HttpClient.php. You can dump the value of interesting variables you want to the log.