Hello everyone!
Ipfs running on ECS fargate.
Each file that has been added is available through our gateway. The file, shortly after being added to the network, is available through the public API-Gateway. After some time, probably about a week, the files cannot be access through the public gateway, but are still available through my gateway.
When I hit this endpoint, it returns api gateway timeout error
curl "https://ipfs.io/ipfs/QmTvn4Dmy3kgBkKH6HfwDXRCH3g8exyGMsLAYvkGuw3agH"
but, using my gateway it returns json file:
curl -X POST "https://ipfs.devel.original.works/api/v0/cat?arg=QmTvn4Dmy3kgBkKH6HfwDXRCH3g8exyGMsLAYvkGuw3agH"
I ran ipfs locally and ran the command ipfs dht findprovs
. For files that are not accessible by the public api gateway returns an empty array. For files that were uploaded recently, it returns list of peers.
I got stuck in debuging. I need help or guidance.
Thank you!
Additional information:
List of local addresses:
curl -X POST "https://ipfs.devel.original.works/api/v0/swarm/addrs/local" | jq
{
"Strings": [
"/ip4/127.0.0.1/tcp/4001",
"/ip4/127.0.0.1/udp/4001/quic",
"/ip4/172.31.48.13/tcp/4001",
"/ip4/172.31.48.13/udp/4001/quic",
"/ip4/52.91.154.217/tcp/4001",
"/ip4/52.91.154.217/udp/4001/quic",
"/ip6/::1/tcp/4001",
"/ip6/::1/udp/4001/quic"
]
}
Port 4001 is open:
telnet 52.91.154.217 4001
Trying 52.91.154.217...
Connected to 52.91.154.217.
File is pinned:
curl -X POST "https://ipfs.devel.original.works/api/v0/pin/ls"
"QmTvn4Dmy3kgBkKH6HfwDXRCH3g8exyGMsLAYvkGuw3agH": {
"Type": "recursive"
},