Console activation failed. Check your network connection and verify that you've entered the correct pairing key

I am getting this error “Console activation failed. Check your network connection and verify that you’ve entered the correct pairing key.” while pairing insight platform with security console

Are you running a proxy in your environment? We had a similar issue running InsightVM on Ubuntu Server. We found that InsightVM wasn’t using the system proxy settings. We had to define the proxy in the configuration within InsightVM, and then we were able to activate.