[ 
https://issues.apache.org/jira/browse/AIRAVATA-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Christie updated AIRAVATA-2247:
--------------------------------------
    Assignee: Supun Chathuranga Nakandala  (was: Marcus Christie)

> 'TSocket read 0 bytes' error when PGA calls getAllNotifications
> ---------------------------------------------------------------
>
>                 Key: AIRAVATA-2247
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2247
>             Project: Airavata
>          Issue Type: Bug
>          Components: Airavata API, PGA PHP Web Gateway
>            Reporter: Marcus Christie
>            Assignee: Supun Chathuranga Nakandala
>
> Getting the following error intermittently in PGA
> {noformat}
> [2016-12-01 16:40:05] production.ERROR: exception 
> 'Thrift\Exception\TTransportException' with message
>  'TSocket read 0 bytes' in 
> /var/www/portals/dev-seagrid/app/libraries/Thrift/Transport/TSocket.php:26
> 9
> Stack trace:
> #0 
> /var/www/portals/dev-seagrid/app/libraries/Thrift/Transport/TTransport.php(74):
>  Thrift\Transport\T
> Socket->read(4)
> #1 
> /var/www/portals/dev-seagrid/app/libraries/Thrift/Protocol/TBinaryProtocol.php(305):
>  Thrift\Transp
> ort\TTransport->readAll(4)
> #2 
> /var/www/portals/dev-seagrid/app/libraries/Thrift/Protocol/TBinaryProtocol.php(197):
>  Thrift\Protoc
> ol\TBinaryProtocol->readI32(NULL)
> #3 
> /var/www/portals/dev-seagrid/app/libraries/Airavata/API/Airavata.php(4960): 
> Thrift\Protocol\TBinar
> yProtocol->readMessageBegin(NULL, 0, 0)
> #4 
> /var/www/portals/dev-seagrid/app/libraries/Airavata/API/Airavata.php(4928): 
> Airavata\API\AiravataC
> lient->recv_getAllNotifications()
> #5 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(21
> 1): 
> Airavata\API\AiravataClient->getAllNotifications(Object(Airavata\Model\Security\AuthzToken),
>  'sea
> grid')
> #6 /var/www/portals/dev-seagrid/app/libraries/CommonUtilities.php(368): 
> Illuminate\Support\Facades\Fa
> cade::__callStatic('getAllNotificat...', Array)
> #7 /var/www/portals/dev-seagrid/app/libraries/CommonUtilities.php(368): 
> Airavata\Facades\Airavata::ge
> tAllNotifications(Object(Airavata\Model\Security\AuthzToken), 'seagrid')
> #8 /var/www/portals/dev-seagrid/app/libraries/CommonUtilities.php(214): 
> CommonUtilities::get_all_noti
> ces()
> #9 
> /var/www/portals/dev-seagrid/app/storage/views/5300885e7f238cf07a10aa6eceb271f8(37):
>  CommonUtiliti
> es::create_nav_bar()
> #10 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(3
> 7): include('/var/www/portal...')
> #11 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.
> php(57): 
> Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/portal...', Array)
> #12 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/View/View.php(140):
>  Illumina
> te\View\Engines\CompilerEngine->get('/var/www/portal...', Array)
> #13 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/View/View.php(109):
>  Illumina
> te\View\View->getContents()
> #14 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/View/View.php(78):
>  Illuminat
> e\View\View->renderContents()
> #15 
> /var/www/portals/dev-seagrid/app/storage/views/d7a45c81bb507afc6ab5ba9806a3833d(60):
>  Illuminate\V
> iew\View->render()
> #16 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(3
> 7): include('/var/www/portal...')
> #17 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.
> php(57): 
> Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/portal...', Array)
> #18 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/View/View.php(140):
>  Illumina
> te\View\Engines\CompilerEngine->get('/var/www/portal...', Array)
> #19 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/View/View.php(109):
>  Illumina
> te\View\View->getContents()
> #20 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/View/View.php(78):
>  Illuminat
> e\View\View->renderContents()
> #21 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/Http/Response.php(43):
>  Illum
> inate\View\View->render()
> #22 
> /var/www/portals/dev-seagrid/vendor/symfony/http-foundation/Response.php(202):
>  Illuminate\Http\Re
> sponse->setContent(Object(Illuminate\View\View))
> #23 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1501):
>  Sy
> mfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View))
> #24 
> /var/www/portals/dev-seagrid/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1036):
>  Illuminate\Routing\Router->prepareResponse(Object(Illuminate\Http\Request), 
> Object(Illuminate\View\View))
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to