subscan-explorer / subscan-essentials

Polkadot Substrate Explorer Subscan

Home Page:https://www.subscan.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid Request

EDUARD-EASY opened this issue · comments

Hello everyone,

I'm trying to use subscan-essentials with a frontier template. I've been able to install it and connect with the frontier.
I've used "./target/release/frontier-template-node --dev --tmp --port 21000 --ws-port 22000 --rpc-port 8443 --validator --rpc-methods" to run the frontier and changed the target and browserBaseURL to http://127.0.0.1:8443.

When I try to scan it the output always give me the same error:

{ jsonrpc: "2.0", error: { code: -32600, message: "Invalid request" }, id: null }

commented

@EDUARD-EASY port 8843 is http port, 22000 is websocket port

I know, but I've tried all combinations (ws://127.0.0.1:22000, http://127.0.0.1:22000, wss://127.0.0.1:22000, localhost, 0.0.0.0 ...).
And the frontier give me the same error:

image

commented

I know, but I've tried all combinations (ws://127.0.0.1:22000, http://127.0.0.1:22000, wss://127.0.0.1:22000, localhost, 0.0.0.0 ...).
And the frontier give me the same error:

image

ws://127.0.0.1:22000 is substrate client websocket rpc host, you can use this https://github.com/vi/websocat

I don't understand what I'm supposed to do with websocat. Don't I have to connect subscan essential with the substrate client websocket rpc host?