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
preguntada hace un año747 visualizaciones
2 Respuestas
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
INGENIERO DE SOPORTE
Hima_G
respondido hace un año
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
EXPERTO
respondido hace 10 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas