Closed GoogleCodeExporter closed 8 years ago
Original comment by gk-goo...@ninebynine.org
on 7 Mar 2011 at 10:46
Original comment by bhavana....@gmail.com
on 8 Mar 2011 at 10:13
[deleted comment]
Original comment by bhavana....@gmail.com
on 8 Mar 2011 at 6:05
When datasets are being retreieved for an empty silo, it returns "undefined".
If we try to access its length it would fail. - This bit on ADMIRAL is now
resolved.
But the problem still exists with databank that is responsible for the
following error
If we tried doing a
GET https://admiral:admiral@zakynthos.zoo.ox.ac.uk/zoo/datasets
the following HTML is returned with 404 error.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /zoo/datasets was not found on this server.</p>
<hr>
<address>Apache/2.2.12 (Ubuntu) Server at zakynthos.zoo.ox.ac.uk Port
443</address>
</body></html>
The 404 is causing the problem. This may need to be looked into.
Original comment by bhavana....@gmail.com
on 8 Mar 2011 at 6:07
I just had a quick look at the logs at databank end to check if there were any
errors. I see no errors and the access logs tell me that /zoo/datasets was
accessed a few times yesterday (about 5 times) and it was accessed at 10:06,
10:12, 14:58 and 17:52 today. It returned a 200 for all of these requests.
A quick test tells me that html page is displayed fine and an empty dictionary
({}) is returned for text/plain or application/json.
FYI, data is returned in either text/html, text/plain or application/json. It
defaults to returning text/html, if the accept header does not have any of
these vales.
Original comment by anus...@gmail.com
on 8 Mar 2011 at 8:15
Many thanks for looking into this Anusha. Just found a problem with our proxy
settings! This is the cause for 404. Thanks for your feed back.
curl http://zakynthos.zoo.ox.ac.uk/admiral-test/datasets -u admiral:admiral
-H "Accept: text/html" worked!
curl http://zakynthos.zoo.ox.ac.uk/zoo/datasets -u admiral:admiral -H
"Accept: text/html" failed!
Thanks to curl! :)
Original comment by bhavana....@gmail.com
on 9 Mar 2011 at 12:41
Original comment by bhavana....@gmail.com
on 9 Mar 2011 at 3:35
Original issue reported on code.google.com by
gk-goo...@ninebynine.org
on 4 Mar 2011 at 9:54