HTTP Error 503: Service Unavailable when retrieving big collection of messages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Eleanor Berger |
Bug Description
When I would like to do any operation on huge objects I get a 503 error. All this error looks similar to
In [93]: b = launchpad.bugs[1]
In [94]: b.messages.
-------
<class 'launchpadlib.
/media/
/media/
281 """Try to retrive a named operation or parameter of the given name."""
282 try:
--> 283 return self.lp_
attr = 'total_size'
284 except KeyError:
285 pass
/media/
183 representation, if the parameter is a link.
184 """
--> 185 self._ensure_
186 for suffix in ['_link', '_collection_
187 param = self._wadl_
/media/
302 if self._wadl_
303 # Get a representation of the linked resource.
--> 304 representation = self._root.
305 self.__
306 representation, self.JSON_
/media/
219 method = resource_
220 url = method.
--> 221 response, content = self._request(url)
response = undefined
content = undefined
url = u'https:/
222 if return_response:
223 return (response, content)
/media/
209 # Turn non-2xx responses into exceptions.
210 if response.status // 100 != 2:
--> 211 raise HTTPError(response, content)
global HTTPError = <class 'launchpadlib.
response = {'status': '503', 'x-lazr-oopsid': 'OOPS-990EB49', 'via': '1.1 wildcard.
content = "'SELECT COUNT(*) FROM Bug, BugMessage WHERE BugMessage.message = %s AND Bug.id = BugMessage.bug', [<storm.
212 return response, content
213
<class 'launchpadlib.
In [95]:
I get the same error for b.messages.
Markus
Examples of OOPS like this, both on edge and staging: OOPS-990S7, OOPS-990S18, OOPS-990EA50
Changed in launchpad: | |
importance: | Undecided → High |
status: | New → Triaged |
description: | updated |
Changed in malone: | |
assignee: | bjornt → intellectronica |
status: | Triaged → In Progress |
Changed in malone: | |
status: | Fix Committed → Fix Released |
This is a Launchpad problem. You're seeing a timeout. Are you using staging or edge?