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

Getting StatusCodeNotOk errors after trying to upload with SOL #18

Closed
murki opened this issue Mar 14, 2022 · 10 comments
Closed

Getting StatusCodeNotOk errors after trying to upload with SOL #18

murki opened this issue Mar 14, 2022 · 10 comments

Comments

@murki
Copy link
Contributor

murki commented Mar 14, 2022

Hi, this is my first time using your tool and I've been having issues all day trying to upload a single png/json pair. The operation fails but the SOL do get deducted from my wallet each time.

The same issues happen both when running upload or upload-nfts. This is what I'm doing (I'm using mainnet-beta):

arloader upload assets/0.png --sol-keypair-path ~/.config/solana/my_wallet_keypair.json --with-sol --ar-default-keypair
output:

Uploading 1 files with 93 KB of data in 1 bundle transactions...

StatusCodeNotOk

Uploaded 0 KB in 0 files in 0 bundle transaction(s). Run `arloader update-status assets/arloader_2Ot4PVp1jrA` to update statuses.

or
arloader upload-nfts assets/*.png --with-sol --sol-keypair-path ~/.config/solana/my_wallet_keypair.json --ar-default-keypair
output:

Uploading assets...

Uploading 1 files with 93 KB of data in 1 bundle transactions...

Retrying Solana transaction (1 of 10)...
StatusCodeNotOk

Uploaded 0 KB in 0 files in 0 bundle transaction(s). Run `arloader update-status assets/arloader_nk2gGXUQ7C8/assets/` to update statuses.

Uploading manifest for images...

No bundle statuses found in assets/arloader_nk2gGXUQ7C8/assets/
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/mjuarezlopez/.cargo/registry/src/github.com-1ecc6299db9ec823/arloader-0.1.60/src/commands.rs:802:6

Both operations create empty arloader_<RANDOM_CHARS> folders.

I tried using --reward-multiplier of 2 and 3 without luck. I also tried using the --no-bundle option with upload command but that doesn't seem to work at all.

@CalebEverett
Copy link
Owner

Hi, sorry about that. I'm trying to fix it now. Something changed in the gateway in the last day or so as arweave was implementing solutions to some problems it was having. I can let you know as soon as it is fixed. Sorry about the sol tx - refunding is manual right now, but if you send me the list of transactions I can send it back to you.

@CalebEverett
Copy link
Owner

Hi @murki I tracked this down. Master branch has the change - new release should be available on github and crates.io shortly. I can also send you some ar if you want to retry those transactions with ar instead of sol.

@murki
Copy link
Contributor Author

murki commented Mar 14, 2022

Hi @CalebEverett thanks for the quick follow up. I sent you a friend request in Discord so I can send you the tx list. I'll give the update a try later today and let you know how it goes.

@murki
Copy link
Contributor Author

murki commented Mar 14, 2022

Fixed by c2ebfa4

@murki murki closed this as completed Mar 14, 2022
@unimintco
Copy link

I'm using arloader 0.1.62 on a Mac (binary downloaded from GH) and I get the same error. StatusNotOk and empty folders while sol gets deducted.

@CalebEverett
Copy link
Owner

CalebEverett commented May 4, 2022 via email

@unimintco
Copy link

Don't worry about it, it's a pretty low amount (about 4 minimal transactions).
Then I guess we just wait?

@CalebEverett
Copy link
Owner

CalebEverett commented May 4, 2022 via email

@CalebEverett
Copy link
Owner

CalebEverett commented May 4, 2022 via email

@CalebEverett
Copy link
Owner

could also be a reward issue - sometimes smaller tx or bundles need to have a higher --reward-multiplier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants