Opened at 2015-12-02T02:33:47Z
#2590 new defect
GET /operations/$HANDLE?output=json is not JSON
Reported by: | daira | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | code-frontend-web | Version: | 1.10.1 |
Keywords: | error webapi json | Cc: | |
Launchpad Bug: |
Description
I started a deep-check over the web API and set an ophandle (96a1be642bfeed6d).
When I try to get a status with:
curl -X GET -d "output=json" http://127.0.0.1:3456/operations/96a1be642bfeed6d
The output format is not JSON like expected.
There is always a raw output:
Content-Type: text/plain;charset=utf-8 Server: TwistedWeb/15.4.0 UnrecoverableFileError: the directory (or mutable file) could not be retrieved, because there were insufficient good shares. This might indicate that no servers were connected, insufficient servers were connected, the URI was corrupt, or that shares have been lost due to server departure, hard drive failure, or disk corruption. You should perform a filecheck on this object to learn more.
Note: See
TracTickets for help on using
tickets.