hicetnunc icon indicating copy to clipboard operation
hicetnunc copied to clipboard

Minting silently fails with net::ERR_EMPTY_RESPONSE during file upload to IPFS via Infura.io

Open skenaja opened this issue 3 years ago • 6 comments

Describe the bug After submitting a fairly large file to upload (13 or 20MB), this user was getting mint hanging during IPFS upload phase. This caused the mint screen to hang forever with "preparing OBJKT" message.

Console reports error message from Infura: Failed to load resource: net::ERR_EMPTY_RESPONSE from ipfs.infura.io:5001/...ue&progress=false:1 (full path not discernable from user's screenshot)

https://discord.com/channels/759930487946215444/821700631365943317/830189539296935941

To Reproduce

  1. Go to 'mint', enter details, select ~20MB GIF file
  2. Click on 'preview'

Expected behavior UI should indicate that it's at the step of uploading file to IPFS UI should report the error message and/or other information to the user to assist with debug File should be correctly loaded.

Screenshots See screenshot

Desktop (please complete the following information): See discord - user tried on both Brave & Chrome

Additional context Add any other context about the problem here. Please include the wallet address (tz...) and/or the OBJKT number.

It's possible that this may be an environment issue (eg local network dropout), and it might be useful to trap the error and retry the transaction a few times.

image

skenaja avatar Apr 10 '21 09:04 skenaja

Seems to be other apps experiencing same issue - https://github.com/ipfs/js-ipfs/issues/3555

skenaja avatar Apr 10 '21 09:04 skenaja

I'm getting the same error while trying to mint a large 38mo mp4 file (so under the 40mo limit). I tried both on Chrome and Firefox. However the error I got in Firefox is slightly different as it mention a "cross-origin" problem...

Also the infura full path mentionned above is visible on my Firefox screenshot: https://ipfs.infura.io:5001/api/v0/add?stream-channels=true&progress=false

firefox chrome

kefon avatar Apr 15 '21 11:04 kefon

same with this .glb file: https://www.dropbox.com/s/4yk892iagy8bl9e/Untitled_Scan_21_24_30.glb?dl=0

image

schwittlick avatar Apr 19 '21 19:04 schwittlick

Some users have similar issues here: https://community.infura.io/t/err-empty-response/2484/8

Some workarounds are mentioned in that forum post

skenaja avatar Apr 21 '21 15:04 skenaja

Thank you, I have solved it for myself at least. Simply find a faster internet connection and it worked.

schwittlick avatar Apr 21 '21 16:04 schwittlick

https://github.com/hicetnunc2000/hicetnunc/issues/676

the same

zmnv avatar Jun 28 '21 10:06 zmnv