peatio icon indicating copy to clipboard operation
peatio copied to clipboard

HDWallet HDWALLET_SSL_CERT_PATH

Open mameex opened this issue 10 months ago • 0 comments

env: quay.io/openware/peatio:2.6.59

wallet uri path: "https://hdwallet/api/v2/hdwallet" as listed in https://www.openware.com/sdk/2.6/docs/peatio/plugins/openware_hdwallet/configuration-ethereum

{"level":"WARN","time":"2023-08-20 13:07:40","message":"Peer verification turned off. SSL connection { verify: false }"} {"level":"ERROR","time":"2023-08-20 13:07:40","message":"#<Peatio::Wallet::ClientError: Failed to open TCP connection to hdwallet:443 (getaddrinfo: Temporary failure in name resolution)>"}

searching in files i found ca_file_path = ENV.fetch('HDWALLET_SSL_CERT_PATH', '')

my undestanding is i have to put ssl cert path into env file. but not sure what the exact path.

any help would be appreciated.

also this is throwing as error: {"level":"ERROR","time":"2023-08-20 13:06:40","message":"#<Peatio::Blockchain::ClientError: invalid argument 0: json: cannot unmarshal hex string without 0x prefix into Go value of type common.Address (-32602)>"}

mameex avatar Aug 20 '23 13:08 mameex