CalebEverett / arloader

Rust command line application and client for uploading files to Arweave.
Apache License 2.0
82 stars 23 forks source link

StatusNotOK #28

Open reidelkins opened 2 years ago

reidelkins commented 2 years ago

When uploading with sol, I am continuously having an issue of StatusNotOK. I looked back through all the issues where some say its an Arweave network issue, some say its a Solana network issue, and then some say update the arloader version. I've been trying to upload this set for 3 days and haven't had any luck. Does anyone have a known solution or is it really just wait and be patient? Also, for one of these failed attempts, is there a way to restart it so it just goes back and tries to upload the bundles that it previously failed on?

CalebEverett commented 2 years ago

hi @reidMHAC let me take a look and see if there is anything to be done. There is a re-upload command that will re-upload. If you have failed transactions with sol I can send you some AR so you can retry if you give me your address.

reidelkins commented 2 years ago

@CalebEverett do you have a sol address so I can exchange with you? Definitely don't want you to just pay for me when I'm already using a tool that you built for free! I tried to make a binance account to purchase some AR that way but looks like it isn't available where I'm at.

I'll definitely have to explore the reupload command especially how it works with the upload-nfts and the whole png/json plus manifest combo

CalebEverett commented 2 years ago

hi @reidMHAC - is it still giving you problems? I was thinking that if you had wasted sol because of failed tx, I could effectively refund you in AR.

dmichael commented 2 years ago

arloader was working fine last night, but is only returning StatusNotOk for me today. Curious if anyone has identified the root cause. It appears that the SOL tx are going through (balance decreasing) so I wonder if this is an issue with Arweave

CalebEverett commented 2 years ago

Hi - sorry about that - I can send you some AR to cover the failed sol transactions - let me know your arweave address. I need to handle the errors there better. Will see about a solution in the next release.

BisonDee commented 2 years ago

Hi - sorry about that - I can send you some AR to cover the failed sol transactions - let me know your arweave address. I need to handle the errors there better. Will see about a solution in the next release.

Thanks for the offer but it's all good. The cost is so low at the moment I probably spent like .50 on it. Well worth the try.

I was using SOL as payment - should I retry using AR?

CalebEverett commented 2 years ago

Right now the sol tx goes through and then doesn't revert if the arweave one fails. If you use AR then if the tx fails, no AR is deducted. Getting AR is a pain - happy to send you some for your testing.

dmichael commented 2 years ago

I may have found something. The file I was experimenting (and was failing) with was 220k. I just tried it again with a file that is 3.5M and it worked. This could simply be an issue with the size of the tx being unprofitable and getting rejected - just need to bubble up the specific error.

dmichael commented 2 years ago

For these transactions I added a --reward-multiplier 5.0 to bring the tx value to ~0.005$ and the tx went through

CalebEverett commented 2 years ago

What version are you using? I think adding the response that comes back from arweave when status is not OK would be a big help here. It is s a combination of status code in some cases, but also there is a sometimes a response in the body indicating too cheap or too expensive that would provide more information on what the issue is.

byteamaze commented 2 years ago

Same error, retried several times, pay with AR and --reward-multiplier 5, data size is 1M.

byteamaze commented 2 years ago

Add a large file(~5M), it worked again, strange...

Sikevka commented 2 years ago

It always gives trouble for a few hours and then it works fine again. But no one here has given the full error message: StatusCodeNotOk

didn't match any files. He can't find the files in the folder for a few hours and then suddenly he can, he probably has weak glasses. :-) arloader 0.1.63 Ubuntu 22.04 LTS
7flash commented 8 months ago

It always gives trouble for a few hours and then it works fine again. But no one here has given the full error message: StatusCodeNotOk didn't match any files. He can't find the files in the folder for a few hours and then suddenly he can, he probably has weak glasses. :-) arloader 0.1.63 Ubuntu 22.04 LTS

I am facing the same issue: https://github.com/CalebEverett/arloader/issues/32#issuecomment-1872858850