Error while login into foundry from Iris "Unknown error occurred while calling accounts API, Check logs for more details"

Error
Error while login into foundry from Iris
“Unknown error occurred while calling accounts API, Check logs for more details”
[2020-05-06 09:18:54.253] [ERROR] ~~~~ -

sendRequest ERROR: Error: unable to get local issuer certificate

How to resolve this?

Solution
please follow the below

Go to the VoltMX Iris installation directory and open config/default.js add the below line after the line “console.log(‘Loading[config]…’ + __filename)”

process.env.NODE_TLS_REJECT_UNAUTHORIZED=0

1 Like

Can we mention complete scenario, like VPN not allowing link Iris with FOundry or network issues that could cause this

@anwesh-kota can we have steps on how to put the self-signed certificate in the trusted root store to fix this as an alternative .