Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing File : Unexpected 404 Error : Used to Resolve, Now Missing #367

Open
cryptocracy opened this issue Mar 19, 2022 · 12 comments
Open
Labels
bug Unwanted or unintended property causing functional harm

Comments

@cryptocracy
Copy link

Describe the bug
File that was Stored now returns a 404. No explanation, no Update or Delete calls were ever made after the initial write.
The file size is 12.5 MB

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://gaia.blockstack.org/hub/19D1FXF4BQmfgvreuYZ4qncLhSr2Hx4uuC/gaia-1647123247869.mp4
  2. Returns 404 Blob not found.

Expected behavior
The file was previously resolvable, as it was the first file reference in the first Chime at served as an initial promo launch so to speak. At our app https://mia.derupt.io. (See next screenshot, of it being previously used as a src in video element, you can see the video is at 2 seconds into its 15 seconds)

Screenshots
image

Share your zonefile
zonefile: https://gaia.blockstack.org/hub/1J97mmBPXuv6p1EUX9EESiPnUNZXSVpETn/profile.json

Console log
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: Latest: 99.0.4844.74

Additional context
I do have a bit of an aggressive scan that attempts to find files sometimes at the wrong gaia hub, but I'm positive this is the correct hub, I'm wondering if my aggressive scanning some how flagged this promo video as spam or something?

@cryptocracy cryptocracy changed the title Missing File : Unexpected 404 Errors : Used to Resolve, Now Missing Missing File : Unexpected 404 Error : Used to Resolve, Now Missing Mar 19, 2022
@cryptocracy
Copy link
Author

No idea what changed but this file now appears to be resolving again.
Can anyone shed light on why it was 404'ing for awhile?

@criadoperez
Copy link
Contributor

Glad its working again.
To understand why it happened, I think someone would have to check the logs on the server.

@cryptocracy
Copy link
Author

cryptocracy commented Mar 25, 2022

So once again I'm having troubles again with GAIA returning 404's for Files that I know should be there.
This time its not only the same file as before ... but also a new different files from the same account and different account.

The new missing file(404'ing) should be a png at: https://gaia.blockstack.org/hub/19D1FXF4BQmfgvreuYZ4qncLhSr2Hx4uuC/gaia-1647988098857.png
but returns 404 blob not found when attempting to get the file

Another missing file(404'ing) should be a gif at: https://gaia.blockstack.org/hub/1MzJdLMwQ66KZvtBAFKnESynKGthyt4sh1/gaia-1647245409819.gif
but returns 404 blob not found when attempting to get the file (note this file is from a separate .btc name account then the others)

@cryptocracy
Copy link
Author

cryptocracy commented Mar 25, 2022

unclear if you are the person to look into the servers logs, but @criadoperez I'm tagging you to bring this back to your attention since something seemingly is up with the host environments being periodically unavailable.

@CharlieC3
Copy link
Member

@cryptocracy The only file that exists in this hub (19D1FXF4BQmfgvreuYZ4qncLhSr2Hx4uuC) is:
https://gaia.blockstack.org/hub/19D1FXF4BQmfgvreuYZ4qncLhSr2Hx4uuC/gaia-1647641797279.png

Do multiple users have access to this hub? Hiro hasn't deleted anything from it.

@cryptocracy
Copy link
Author

cryptocracy commented Mar 30, 2022

@CharlieC3
The file is not randomly returning still I see.
No multiple users do not have access to this hub.
The other file(s) in question should be there, so still no clue why they are not being found.

To give more context on our UI/UX here:

app: https://mia.derupt.io
All users auth with their Hiro Extension.
then if they own a Deruptar NFT and have the MIA and STX to complete a tx, they can Create a Chime(with a file attachment path included).

So the way this works is after auth, users can goto our form for creating a new Chime.
If they own a .btc name they can upload a File(png, gif, mp3, or mp4) to GAIA per the stacks storage library.
The file naming convention is just a epoch timestamp relative to time of upload initialization.
After(if) a file is upload, the app sets the file name as a value in transaction argument data of a Derupt smart contract call send-message.

Our app UX has 0 methods facilitated to manage files whats so ever, its literally just a upload and attach file uri value as a tx argument basically. (upon which later we get the gaia hub per name and app origin, then concat that hub url to the file name, then use that full public path as the src in our front end media elements by type)

@cryptocracy
Copy link
Author

So to be extra clear here are the multiple missing files that do not make any sense from what I can tell:

relative to user: cryptocracy.btc
https://gaia.blockstack.org/hub/19D1FXF4BQmfgvreuYZ4qncLhSr2Hx4uuC/gaia-1647123247869.mp4
https://gaia.blockstack.org/hub/19D1FXF4BQmfgvreuYZ4qncLhSr2Hx4uuC/gaia-1647988098857.png

relative to user: cryptony.btc
https://gaia.blockstack.org/hub/1MzJdLMwQ66KZvtBAFKnESynKGthyt4sh1/gaia-1647245409819.gif

@CharlieC3
Copy link
Member

@cryptocracy Are you seeing this issue happen with files uploaded more recently? The one file that loads successfully (https://gaia.blockstack.org/hub/19D1FXF4BQmfgvreuYZ4qncLhSr2Hx4uuC/gaia-1647641797279.png) was uploaded on March 18th, and we don't keep logs that far back. I'm wondering if this was an underlying issue caused by the storage provider.

Are you able to re-upload the files for now? I think our best chance at debugging this would have to come from a more recent case.

@cryptocracy
Copy link
Author

cryptocracy commented Mar 31, 2022

@CharlieC3 Are you seeing this issue happen with files uploaded more recently?

Yes:
file: https://gaia.blockstack.org/hub/19D1FXF4BQmfgvreuYZ4qncLhSr2Hx4uuC/gaia-1647988098857.png
epoch/time: 1647988098857 (~Tuesday, March 22, 2022 10:28:18.857 PM GMT)

The image is just a flyer graphic for announcing the recent in app competition for trying to incentivize users to create Chimes and get some initial Chimes content created.

@CharlieC3
Copy link
Member

@cryptocracy Anything within the past 7 days?

@criadoperez
Copy link
Contributor

Makes me wonder if its worth creating a feature so any user can easily see his own logs on the gaia hub, to confirm the activity.

@cryptocracy
Copy link
Author

cryptocracy commented Apr 2, 2022

@cryptocracy Anything within the past 7 days?

Not yet, I've uploaded a new file https://gaia.blockstack.org/hub/19D1FXF4BQmfgvreuYZ4qncLhSr2Hx4uuC/gaia-1648859602303.png to see if it will reproduce.

It should be noted that the .mp4 file in question from the op followed this pattern:

  • 404'ing at around the time of my original post here(14 days ago).
  • then, as indicated above, for some reason was accessible again(10 days ago).
  • then 2 days later, started 404'ing again(8 days ago).

@criadoperez criadoperez added the bug Unwanted or unintended property causing functional harm label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unwanted or unintended property causing functional harm
Projects
None yet
Development

No branches or pull requests

3 participants