You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build Aptos from source and run a validator and vfn. following the guide on the docs and I'm struggling to get it to work. I have an M1 silicon, so cannot use Docker. I'm able to get each the validator and the VFN to run individually, but when I try to run them together on the same machine, it fails because of port issues (both validator and vfn use the same ports). Can understand this -- it was recommended to run on two different machines, but I'm trying to see if it is at all possible to run on the same machine (mine is VERY powerful Mac with tons of spare SSD cap and ram). eventually, I ended up tweaking some port values on the fullnode.yaml and it worked. But I'm stuck here.
Finally, I tried hosting the vfn on a separate aws instance (ec2 for demonstration). Copied over the same configuration from my validator, used the ip address of the EC2 (say, A.B.C.D). Where should I update this A.B.C.D ip address on my validator config? Only way I could figure out is the operator.yaml file generated by aptos genesis generate-keys command. Pls help
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
No response
Describe your question in detail.
I'm trying to build Aptos from source and run a validator and vfn. following the guide on the docs and I'm struggling to get it to work. I have an M1 silicon, so cannot use Docker. I'm able to get each the validator and the VFN to run individually, but when I try to run them together on the same machine, it fails because of port issues (both validator and vfn use the same ports). Can understand this -- it was recommended to run on two different machines, but I'm trying to see if it is at all possible to run on the same machine (mine is VERY powerful Mac with tons of spare SSD cap and ram). eventually, I ended up tweaking some port values on the fullnode.yaml and it worked. But I'm stuck here.
See validator.yaml (https://github.com/aptos-labs/aptos-core/blob/ef26053992468a3d159cf542d8a456c48f7ed286/docker/compose/aptos-node/validator.yaml#L38) and fullnode.yaml (https://github.com/aptos-labs/aptos-core/blob/ef26053992468a3d159cf542d8a456c48f7ed286/docker/compose/aptos-node/fullnode.yaml#L17). Do these Port values need to coincide? If they do, it FAILS. If I change them, both run individually but I don't know if they're talking to each other at all.
Finally, I tried hosting the vfn on a separate aws instance (ec2 for demonstration). Copied over the same configuration from my validator, used the ip address of the EC2 (say, A.B.C.D). Where should I update this A.B.C.D ip address on my validator config? Only way I could figure out is the
operator.yaml
file generated by aptos genesis generate-keys command. Pls helpWhat error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
macOS
Which SDK or tool are you using? (if any)
Aptos CLI
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions