System information
Greenfield version: gnfd-cmd version v1.0.2
OS & Version: Ubuntu LTS
Expected behaviour
Succesful file upload when calling this command:
./gnfd-cmd -c ./config.toml object put --contentType "text/xml" --visibility public-read ./filename.txt gnfd://gnfd-bucket-versionnew/gnfd-object
Actual behaviour
Getting this error : ./gnfd-cmd -c ./config.toml object put --contentType "text/xml" --visibility public-read ./filename.txt gnfd://gnfd-bucket-versionnew/gnfd-object Please enter the passphrase now: run command error: fail to load the segment hash
is this because i am trying it from aws ec2 instance? kindly provide solution for this problem.
versions used:
- go version go1.21.5 linux/amd64
- Greenfield Cmd Version: v1.0.2
Steps to reproduce the behaviour
- Launch a AWS EC2 instance of Ubuntu type (Free tier)
- Install Go
go version go1.21.5 linux/amd64
- Install gnfd-cmd
gnfd-cmd v1.0.1
by downloading tar.gz file , extract it . cd greenfield-cmd-1.0.1
andmake build
- create config.toml file as mentioned in docs for testnet.
- import a metamask account set it as default
- create a bucket named greenfieldtutorial and upload file using :
./gnfd-cmd -c ./config.toml object put --contentType "text/xml" --visibility public-read ./filename.txt gnfd://gnfd-bucket-versionnew/gnfd-object