Issue while connecting to ethereum node

0

Hello,

I am getting 403 error while trying to connect to ethereum node using token based access . Help is needed here on how to connect to ethereum node using json-rpc.

mdg
已提问 1 年前747 查看次数
2 回答
1

Hi,

Please refer to the document Using token based access to make JSON-RPC API calls to an Ethereum node which has examples that demonstrate ways to make Ethereum JSON-RPC API calls to an Ethereum node on Amazon Managed Blockchain using token based access.

I see that you are getting '403 error' to find the root cause and to answer your question, we require details that are non-public information. Please open a support case with AWS using the following link https://support.console.aws.amazon.com/support/home#/case/create

AWS
支持工程师
Hima_G
已回答 1 年前
1

Hello!

I am not sure if you have resolved this error, but if you are using "token based access", these endpoints conform to the following patterns:

HTTP endpoint

https://your-node-id-lowercase.t.ethereum.managedblockchain.us-east-1.amazonaws.com?billingtoken=your-billing-token

For example, https://nd-6eaj5va43jggnpxouzp7y47e4y.t.ethereum.managedblockchain.us-east-1.amazonaws.com?billingtoken=n-MWY63ZJZU5HGNCMBQER7IN6OIU

WebSocket endpoint

wss://your-node-id-lowercase.wss.t.ethereum.managedblockchain.us-east-1.amazonaws.com?billingtoken=your-billing-token

For example, wss://nd-6eaj5va43jggnpxouzp7y47e4y.wss.t.ethereum.managedblockchain.us-east-1.amazonaws.com?billingtoken=n-MWY63ZJZU5HGNCMBQER7IN6OIU

Note that the node ID is case sensitive and must be lowercase where indicated, or a signature mismatch error occurs.

Also ensure that you are using the "Token" parameter for "your-billing-token", rather than the "Accessor ID". I have attached a screenshot for reference.

I hope this helps -- please let me know if you have any more questions. Have a great rest of your day!

You can find the "Token" parameter in the AWS Management Console in the "Token based access" section under "Access"

profile pictureAWS
专家
已回答 10 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则