-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
No relay with in aws and EnableAutoRelay. #5946
Comments
Our infrastructure deployment is currently incomplete. |
The reason it comes and goes is that we currently only have relays in the bootstrappers, which may easily close the connections. |
@vyzo I have a little private network (swarm key, all go-ipfs) now to test this on 3 boxes. Box (A) that is double nat, then two in aws, Relay with a port open and B with nothing open. A and B have Relay as the only bootstrap address like:
they both (A and B) have Relay config beyond default looks like:
When all three daemons are running I see both A and B have Relay as a peer, however I don't see any relay connection in I'm running close to master (ca77ecc). Anything I can check or certain logs to enable etc? |
@vyzo also I should note that if lets say a file is on A with hash HashA.
Is that circuit connection being made on demand depending on what is trying to be |
Hrm, Is the DHT enabled? and even functional with just 3 nodes in the private network? |
@vyzo I switched the Relay to be on a box outside aws with an open port and moved B into aws (I also added a forth NATed box), then if I wait a bit I see a relay address So it seems something about having the relay within ec2 is causing an issue. (side note, also trying to get js-ipfs to be able to see and use these boxes, to no avail ipfs/js-ipfs#1857) |
We've changed how relays and autonat work significantly since this issue was filed so I'm going to close this for now. If it becomes a problem in the future, please open a new issue. |
Version information:
Latest master build
Description:
I was trying to test relay and was running the node in ec2 with just port 80 and no other ports open in the security group. Using default config (so port 4001) plus EnableAutoRelay=true. After 20 minutes or so still no circuit address from ipfs id cmd.
Note when running on my home system behind a NAT with no upnp, I get a relay address, however it comes and goes.
Should I be doing anything else?
Is the expectation that relays come and go depending on what blocks are trying to be fetched?
The text was updated successfully, but these errors were encountered: