-
Notifications
You must be signed in to change notification settings - Fork 7
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
Ensure JSON RPC relay is usable #244
Comments
Just got a clue that relay uses |
I started hedera local node , then use
|
@JeffreyDallas I believe the relay is not able to connect to the the mirror-node rest service within the kubernetes cluster. Not sure if it is a problem with relay itself, or I misconfigured the service endpoint for the rest service. Relay "works" if I expose the mirror-node rest service to localhost and configure relay to hit using URL like localhost:7551. Here we're configuring it in solo: https://github.com/hashgraph/solo/blob/main/src/commands/relay.mjs#L46 Also we configure to hit the node directly instead of haproxy-svc, this is also something we need to discuss with Nathan: https://github.com/hashgraph/solo/blob/main/src/commands/relay.mjs#L73 If you are investigating this, please consult with @nathanklick for guidance as that is what I was planning to do before picking it up. |
I created a ticket in |
First part of smoke test passed We need a command line tool to upload fee file and exchange rate file to mirror node
|
I have seen repo but smoke test failed again with
If I removed
will continue to ask for assistant from smart contract team to see how to resolve this. |
The issue is that the relay is unable to access the mirror node rest api with the provided url. I managed to get it to work with the following configuration in
Some important details:
Unfortunatelly there seems to be a similar issue with the network nodes - whenever the relay submits a transaction it fails with a |
@JeffreyDallas , is this resolved? I saw this thread if it isn't: https://swirldslabs.slack.com/archives/C06FWU24B7Y/p1715286403180439 |
Last time I tried, submit transaction failed, will try it with new releases of rpc relay |
@JeffreyDallas @Ivo-Yankov Can you please try and see if it works with updating the variables here:https://github.com/hashgraph/solo/blob/main/src/commands/relay.mjs#L48
|
I don't think DNS is the issue, from the log file we can see that |
in: https://github.com/hashgraph/solo/pull/481/files @nathanklick and I are looking at this and have some thoughts:
|
solo
allows us to deploy relays using commandsolo relay deploy -i node0,node1,node2
. We need to ensure that the deployed relay is actually usable.I have attempted run an existing smoke test that runs query through the relay, but so far it didn't work.
Here is how ran the test:
solo
(https://www.notion.so/swirldslabs/Technical-Workshop-Solo-8818724b161a4d7a970f48b840952d71)https://github.com/hashgraph/hedera-local-node
5a. Run
npm install
5b. Run
npm run generate-accounts 3
that would generate 3 keys with titleAccounts list (Alias ECDSA keys)
5c. Update
test/smoke/hardhat.config.js
with two account private keys from theAlias ECDSA keys
generated in step 5bnpm install
and then runnpx hardhat test
Ideally the smoke test should pass. However I am getting error like below:
I have asked for help from mirror-node and hedera-local-node team and awaiting/trying the suggestions.
The text was updated successfully, but these errors were encountered: