I am trying out the Tardigrade network, and I am running into a problem with the S3 gateway. I setup the uplink. I and I am able to create buckets and manipulate files using the uplink cli. However, after succesful setup of the S3 gateway
user@ubunut-gateway-storj:~$ ./gateway_linux_amd64 run
2020-02-03T11:22:50.302Z INFO Configuration loaded from: /home/user/.local/share/storj/gateway/config.yaml
2020-02-03T11:22:50.302Z INFO running on version v0.31.12
2020-02-03T11:22:50.303Z INFO Starting Storj S3-compatible gateway!
2020-02-03T11:22:50.303Z INFO Endpoint: 127.0.0.1:7777
2020-02-03T11:22:50.303Z INFO Access key: xxx
2020-02-03T11:22:50.303Z INFO Secret key: xxx
I am unable to use the aws S3 cli or rclone to create buckets/ manipulae files.
The error I get is:
user@ubunut-gateway-storj:~$ aws s3 --endpoint=http://localhost:7777/ ls
Read timeout on endpoint URL: "http://localhost:7777/"
Am I missing something very obvious? Is there some port forwarding issue?
Are you able to connect to any other services via localhost on your machine? Maybe try changing http://localhost:7777 to http://127.0.0.1:7777 and see if that works?
So did running it with --server.address 0.0.0.0:7777 solved it?
When I am in command prompt and run ./gateway run is it correct to exit the prompt with ctrl+z, if I want the gateway to keep running of course? Or is there a better way to do so?
I am not sure why you couldn’t connect to the gateway from the same system when running on the default 127.0.0.1:7777 server address. Might be due to some specific configuration on that system.
But, anyway, if you need to connect to the gateway from another system, you need to change the server address as described.