Ticket #274 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Unable to read response or response is empty

Reported by: Michiel.Schok Owned by:
Priority: major Milestone: MediaMosa 2.1
Component: Core Version:
Keywords: Cc:
MoSCoW: none Estimated time after impact analysis:
Related to project: none Tested: yes
Accepted: yes Estimated Hours:

Description

Situatie: SURFmedia-installatie, gekoppeld aan VP-Core acceptatie

Er wordt handmatig getest door 'door SURFmedia te klikken' en functionaliteiten te testen. Als er fouten optreden, ga ik speuren naar de oorzaak: misschien intern SURFmedia, misschien richting VP-Core.

Op dit moment treedt regelmatig de volgende situatie op bij REST-calls: een foutmelding 'Unable to read response, or response is empty'. Deze foutmelding komt heel vlug (binnen seconde). Op SURFmedia, gekoppeld aan productie VP-Core zie ik die ook wel eens, maar dan praten we over 'timeouts'. Response duurt dan typisch meer dan 20 seconden, waarna SURFmedia 'stopt met luisteren'.

Als ik diezelfe REST-call onmiddellijk daarna nog een keer aanroep, gaat het wel goed. Een 'ingewikkelde SURFmedia-pagina' met verschillende REST-calls erin gaat bij het opvragen eerst een aantal keren mis. In de backend zie ik dan fouten bij de verschillende calls. Daarna gaat de pagina goed.

Issue zojuist telefonisch besproken met Robert Blanker.

Change History

Changed 3 years ago by Michiel.Schok

full error-log of a single request, out of SURFmedia backend:

@/var/www/app20-test/htdocs/modules/vipapp/utils/class.vipexception.inc (line 142) -> getDebugBacktrace()
__@/var/www/app20-test/htdocs/modules/vipapp/utils/class.vipexception.inc (line 74) -> log()
____@vipException -> __construct('Unknown error',500)
______@/var/www/app20-test/htdocs/atk/utils/class.atkclassloader.inc (line 252) -> newInstanceArgs(array (
  0 => 'Unknown error',
  1 => 500,
))
________@/var/www/app20-test/htdocs/atk/atktools.inc (line 1704) -> newInstanceArgs('module.vipapp.utils.vipexception',array (
  0 => 'Unknown error',
  1 => 500,
))
__________@/var/www/app20-test/htdocs/modules/vipapp/controllers/class.vipcontroller.inc (line 469) -> atknew('module.vipapp.utils.vipexception','Unknown error',500)
____________@/var/www/app20-test/htdocs/atk/front/class.atkfrontcontroller.inc (line 518) -> handleException(Zend_Http_Client_Exception::__set_state(array(
   'message' => 'Unable to read response, or response is empty',
   'string' => '',
   'code' => 0,
   'file' => '/usr/local/lib/php/Zend/Http/Client.php',
   'line' => 884,
   'trace' => 
  array (
    0 => 
    array (
      'file' => '/usr/local/lib/php/Zend/Rest/Client.php',
      'line' => 136,
      'function' => 'request',
      'class' => 'Zend_Http_Client',
      'type' => '->',
      'args' => 
      array (
        0 => 'GET',
      ),
    ),
    1 => 
    array (
      'file' => '/var/www/app20-test/htdocs/modules/vpx/class.vpxquery.inc',
      'line' => 378,
      'function' => 'restGet',
      'class' => 'Zend_Rest_Client',
      'type' => '->',
      'args' => 
      array (
        0 => '/mediafile/q5ZkNHKNZUxiIda4P5amjVA0/acl',
        1 => 
        array (
          'user_id' => 'SURFNET.michiel',
          'app_id' => '5',
        ),
      ),
    ),
    2 => 
    array (
      'file' => '/var/www/app20-test/htdocs/modules/vpx/class.vpxquery.inc',
      'line' => 344,
      'function' => 'getData',
      'class' => 'vpxquery',
      'type' => '->',
      'args' => 
      array (
        0 => 'get',
        1 => 
        array (
          'user_id' => 'SURFNET.michiel',
          'app_id' => '5',
        ),
...

Changed 3 years ago by robert

Still open because of connectivity problems between servers on acceptation.

Changed 3 years ago by robert

  • status changed from new to closed
  • resolution set to fixed

Please retest, APC is upgraded on acceptation app servers.

Changed 3 years ago by Michiel.Schok

  • tested changed from no to yes
  • accepted changed from no to yes

Probleem treedt nu niet meer op.

Note: See TracTickets for help on using tickets.