[ckan-dev] Initial server error on query - fixed on refresh

Henrik Korsgaard henrikkorsgaard at gmail.com
Fri May 17 08:23:12 UTC 2013


Hi all,

I have an annoying server error when making a query to

http://ckan.projects.cavi.dk/api/3/action/datastore_search?resource_id=_table_metadata

The initial query returns a server error, but a few refreshes will make the
server respond with a correct return.

Logs: http://pastebin.com/796AhAPd

I suspect it is something with the database connection timing out or being
closed. Have anyone else experienced this?

Where should I force the system to keep the database connection alive? In
CKAN, sqlalchemy or in postgresql conf?

-- 
Med venlig hilsen - Best regards,

*Henrik Korsgaard*
Phone: +45 22377114
Office: CAVI 114b, Aarhus University

NB. I am slowly migrating my university related correspondence to my
official AU mail: korsgaard at cavi.au.dk - feel free to contact me at that
address if relevant.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130517/6b96bfe8/attachment.html>


More information about the ckan-dev mailing list