Couch db throwing error "Error: normal. Reason: {gen_server,call,[<0.24064.2493>, {pread_iolist,327789}"
- Dominant language
- Erlang
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 9
Description
Hi Team,
We are using Couch db v 3.2.2. While trying to access a db view through automation, we are getting the below error
Error: normal. Reason: {gen_server,call,[<0.24064.2493>, {pread_iolist,327789}
The actual error looks like this:
**Error at http://host:5984/execonfig/_design/execonfig/_view/by_applicationName?key=%5B%22INU_UI%22,%22POC%22%5D. Error: normal. Reason: {gen_server,call,[<0.24064.2493>, {pread_iolist,327789}
,infinity]}.**
However, if we try to access that url separately from browser, we are able to get response.
Please let us know what is the cause of this error and how to avoid this.
Regards,
Rumki
Contributor guide
Research direction
Start by reproducing the CouchDB 3.2.2 view request from the automation and from a browser, comparing the request and responses. Inspect the CouchDB logs around the `{pread_iolist,327789}` error; done means identifying the cause and documenting a reliable way to avoid it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100