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

Can't upload #31

Closed
DanKamilov opened this issue Jun 21, 2022 · 2 comments
Closed

Can't upload #31

DanKamilov opened this issue Jun 21, 2022 · 2 comments

Comments

@DanKamilov
Copy link

Hello!

I use this code

`
wallet_file_path = "mywallet.json"
wallet = arweave.Wallet(wallet_file_path)

with open('myPicture.jpg', 'rb') as file:
data_file = file.read()

transaction = Transaction(wallet, data=data_file)
transaction.sign()
c = transaction.send()
print(c)

`

9/10 times I get 'Connection reset by peer'. But during this 1 normal try I see some hash info like "yAq2A-AHCmXwyFSO_jzXNct_yPBUi8P3_ZdS_Dx3GoK7c3PGtg". But I don't see image in my ARDRIVE. What is a problem? What I do wrong?

@MikeHibbert
Copy link
Owner

I wouldn't have expected to see this in your ARDRIVE anyway. Its not supplying the needed tags etc.

This module is not meant to be used in connection with that program

@DanKamilov
Copy link
Author

I wouldn't have expected to see this in your ARDRIVE anyway. Its not supplying the needed tags etc.

This module is not meant to be used in connection with that program

But how to get my arweave link after uploading file to my wallet account?

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

2 participants