I have spun up a single IPFS host in AWS (instance type
m4.large). I am only using this for experimental purposes and have not connected it to the larger IPFS global network. I am running into an issue when adding files to IPFS, but I am unsure how to debug this.
I am able to consistently
get a simple
hello_world.txt. However, I cannot
add a larger,
package.tar.gz file. I simply get a
500 Server Error: Internal Server Error for url: https://<endpoint>:443/api/v0/add
Checking response body, I only see the following
<html>\r\n<head><title>500 Internal Server Error</title></head>\r\n<body>\r\n<center><h1>500 Internal Server Error</h1></center>\r\n<hr><center>nginx/1.16.1</center>\r\n</body>\r\n</html>\r\n
The IPFS daemon logs on the host itself aren’t very helpful either. When I send my failing request, all I see is
ipfs: 2020-10-21T20:58:55.831Z DEBUG cmds/http http/handler.go:90 incoming API request: /add. I don’t see any obvious error logs in the vicinity of that log.
So, to my question: What else can I do to debug my issue? Are there logs I am not aware of? Are there known issues that cause 500 errors? In general, I’m a bit stuck.
Any help is greatly appreciated.
- My IPFS host is running IPFS version 0.6.0
- I am using the ipfs-http-api python package to perform these calls: https://github.com/ipfs-shipyard/py-ipfs-http-client (version v0.6.1)