이 페이지에서는 몇 가지 일반적인 블록체인 노드 엔진 오류와 해결 방법을 설명합니다.
호스트를 확인할 수 없음
블록체인 노드가 생성되는 동안 이를 사용하려고 하면 다음 오류가 발생합니다.
Could not resolve host: json-rpc.abc1234.blockchainnodeengine.com
이 문제를 해결하려면 노드가 RUNNING 상태에 도달할 때까지 기다립니다. 블록체인 노드 목록에 설명된 대로 상태를 확인할 수 있습니다.
400 오류: 메서드에서 등록되지 않은 호출자가 허용되지 않음
API 키 없이 블록체인 노드를 사용하려고 하면 다음 오류가 발생합니다.
400 error: Method doesn't allow unregistered callers (callers without
established identity). Please use API Key or other form of API consumer
identity to call this API.
이 문제를 해결하려면 API 키 만들기를 참고하세요.
노드 동기화가 완료되었는지 모르겠습니다.
이 문제를 해결하려면 다음 중 한 가지를 따르세요.
전체 노드:
eth_syncing
를 호출하고false
응답을 받으면 완료된 것입니다.curl -H POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":2586,"method":"eth_syncing","params":[]}]}' https://<executionClientJsonRpcEndpoint>?key=<API_KEY>
{"jsonrpc":"2.0","id":2586,"result":false}
보관처리 노드: 측정항목 엔드포인트
executionClientPrometheusMetricsApiEndpoint
를 쿼리합니다.curl -H "Content-Type: application/json" 'http://<executionClientPrometheusMetricsApiEndpoint>/debug/metrics/prometheus?key=<API_KEY>'
응답에서
block_hashes
값을 찾습니다.