Replies: 1 comment 3 replies
-
Hi, can you try your upload directly to CouchDB with For example: # create attachment db
curl -u user:password -X PUT http://127.0.0.1:15984/attdb
# create and upload document with attachment
curl -u user:password -X PUT http://127.0.0.1:15984/attdb/doc1/image1 --data-binary @path/to/image/image.jpg -H "Content-Type:image/jpg" Is there anything recorded in your logfile? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to upload attachments to documents in my DB. A tiny attachment works, for instance a text file of just a few bytes. But a JPG that is 124k fails. If I upload it using javascript, I get a
net::ERR_EMPTY_RESPONSE
in the console. If I upload it in the Web UI, I getError uploading file
If I look at the logs, I don't see an indication of the attempted upload. Admittedly, I'm not as familiar with CouchDB as I'd like to be, so it's possible that I'm overlooking the log.I'm guessing there is some setting(s) in the local.ini file that I need to set which will help with the write of the file upload. I'm just not sure which setting(s). Any assistance would be useful.
Version: 3.2.2
Running on a Kubernetes setup with CouchDB exposed via NodePort
Using the official docker container, no custom configurations applied.
Beta Was this translation helpful? Give feedback.
All reactions