Ticket #984 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

[WG] Pylons Discovery interface gives internal server error if the Discovery service is down

Reported by: pjkersha Owned by: pjkersha
Priority: blocker Milestone: portal1
Component: PORTAL Version:
Keywords: Cc:


ows_server.controllers.discovery.doText doesn't have any exception handling so if the service is down, an internal server error results.

From: nerc-datagrid-internal-bounces@ncas.ac.uk on behalf of Pylons Errors [paste@glue.badc.rl.ac.uk]
Sent: 04 September 2008 13:27
To: nerc-datagrid-internal@ncas.ac.uk
Subject: [NDG-Internal] WebApp Error: <class 'socket.error'>: (111,'Connection refused')
Module ows_server.controllers.discovery:122 in index
>>  geoSearch=self.inputs['geoSearchType'])
Module ows_server.controllers.discovery:145 in doText
>>  scope=scope,dateRange=dateRange,bbox=bbox,geoSearchType=geoSearch)
Module ndgUtils.ndgSearch:94 in search
Module ndgUtils.DiscoveryService_services:59 in doSearch
Module ZSI.client:266 in Send
>>  self.h.connect()
Module httplib:683 in connect
>>  raise socket.error, msg
error: (111, 'Connection refused')

Change History

comment:1 Changed 13 years ago by pjkersha

  • Status changed from new to closed
  • Resolution set to fixed

Added exception handling see changeset:4174. Needs deployment in new egg.

Note: See TracTickets for help on using tickets.