darwinia-network / dj

Darwinia bridge relayer tool implemented in nodejs
GNU General Public License v3.0
4 stars 5 forks source link

TypeError [ERR_INVALID_ARG_TYPE]: The "url" #32

Closed hackfisher closed 4 years ago

hackfisher commented 4 years ago
MacBookPro:~ denny$ dj keep relay
2020-05-07 15:46:38        API/INIT: RPC methods not decorated: balances_usableBalance
Unknown signed extensions CheckEthRelayHeaderHash found, treating them as no-efect
Unknown signed extensions CheckEthRelayHeaderHash found, treating them as no-efect
Unknown types found, no types for ElectionResultT
Unknown signed extensions CheckEthRelayHeaderHash found, treating them as no-efect
Unknown signed extensions CheckEthRelayHeaderHash found, treating them as no-efect
[ warn ]: the expect port is NaN, the server of relay is not completed
[ info ]: start from the lastest eth header of darwinia...
Unknown signed extensions CheckEthRelayHeaderHash found, treating them as no-efect
Unknown signed extensions CheckEthRelayHeaderHash found, treating them as no-efect
[ error ]: TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined
[ event ]: restart server in 3s...
AurevoirXavier commented 4 years ago

For warning check the SignedExtra in config, might cause some problem in the future.

hackfisher commented 4 years ago

Double check the SignedExtra in config.

CheckEthRelayHeaderHash's additional_signed is empty (), which should have no essential effect to extrinsic data. This may only related to warnings, but not the error here.

hackfisher commented 4 years ago

Reopen if reproducible.