Hello!

I have a website app built on Laravel with latest version of Google Ads API 
PHP library.
Laravel has a Queue functionality which allows to queue tasks for a server 
to process on background and I'm trying to integrate few things. 
All I am doing is querying some data about clients with MCC account.
Running this task in synchronous mode, so just simply doing request without 
queue - has never produced an error with over 2000 requests in the last few 
days.
Problem occurs when trying to do it asynchronously, meaning launching the 
queue - produces LogicException:

LogicException: Missing stream url, the stream can not be opened. This may 
be caused by a premature call to close(). in \vendor\monolog\monolog\src\
Monolog\Handler\StreamHandler.php:95
Stack trace:
#0 
\vendor\monolog\monolog\src\Monolog\Handler\AbstractProcessingHandler.php(39): 
Monolog\Handler\StreamHandler->write(Array)
#1 \vendor\monolog\monolog\src\Monolog\Logger.php(344): 
Monolog\Handler\AbstractProcessingHandler->handle(Array)
#2 \vendor\monolog\monolog\src\Monolog\Logger.php(609): 
Monolog\Logger->addRecord(200, 'Request made: H...', Array)
#3 
\vendor\googleads\google-ads-php\src\Google\Ads\GoogleAds\Lib\V1\GoogleAdsUnaryCallLogger.php(74):
 
Monolog\Logger->log(200, 'Request made: H...', Array)
#4 
\vendor\googleads\google-ads-php\src\Google\Ads\GoogleAds\Lib\V1\GoogleAdsLoggingUnaryCall.php(56):
 
Google\Ads\GoogleAds\Lib\V1\GoogleAdsUnaryCallLogger->logSummary(Array, 
Array)
#5 \vendor\google\gax\src\Transport\GrpcTransport.php(242): 
Google\Ads\GoogleAds\Lib\V1\GoogleAdsLoggingUnaryCall->wait()

If needed, I can send the rest of the exception stack trace.
Your help would be much appreciated!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9c6bdd7e-ef94-402a-b89c-fcc94cade794%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Google ... GIM Programming
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to