🔁Set up the gRPC calls
This step is not required for the node to work. Even if you receive errors, your node should not be affected and keep running normally.
After your node has been running for 30 minutes, run the below script to set up the gRPC calls.
Follow the Safety checks before running this script in your server
If you have issues, try the manual method and also see: Troubleshooting
How to enable gRPC calls manually
This interface is read-only, but it does not require a password and doesn't have limits on the number of requests. To stay secure, you should only enable it if you control access with a firewall or only use it from the same computer (localhost). For example, if port 8337 is for gRPC calls, don't allow access to this port from the internet in your firewall. Instead, make sure gRPC calls are only made from your own computer.
Open the file root/ceremonyclient/node/.config/config.yml on your local pc using Termius SFTP feature or WinSCP. Or if you want to edit the file via terminal, proceed like this:
Go to ceremonyclient/node folder.
Run
Find listenMultiaddr: /ip4/0.0.0.0/udp/8336/quic
and replace it with
There are two empty spaces before the line! If the line is already there, you don't need to make any change
Find listenGrpcMultiaddr: ""
(end of the file), and replace it with
Find engine:
(about the middle of the file), and paste
right below it, as a sub-field, with two empty spaces before the line, it will look ike this
Save the file. If you are on terminal you can save by pressing CTRL + X, then Y, then ENTER
Troubleshooting
If after running the automatic script or settings things manually you have issues (for instance your node starting correctly), you may want to pull out a backup of your config.yml file and compare it with your current one. You can use Diffinity to do this.
Check for any strange differences, pieces of code you may have deleted or that the automatic script may have messed up.
Last updated