ckan / ckan/datapusher

Dangling response on raise util.JobError

Open
#212 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
82
Forks
157
PR merge metrics
No merged PRs in 30d

Description

Hi guys.

So been testing with CKAN in different platforms and currently I have two cases where CKAN just blocks after upload a large file.
I was able to trace back to the datapusher and eventually saw it block on:

`if cl and int(cl) > MAX_CONTENT_LENGTH:
raise util.JobError(..)`

So I made fork of CKAN and added with the latest's datapusher and made it build with docker-compose and its available here: https://github.com/lmmaia/ckan/tree/2.9

Also this uses postgresql, very lazy build but I think it works to exclude other possible known errors with sqllite.

To overcome the error I just replaced the raise util.JobError with a Exception(...), but still I couldn't figure out why the dangling just in some machines.

Best regards.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.