Error: Unable to connect to AutomationEdge. Do you want to try again?

Issue:
While logging in to PS we see that PS throws an error as "Unable to connect to AutomationEdge. Do you want to try?"
This happens in some cases when a proxy is used while connecting to PS and gives the below error:
AutomationEdge:
2022-03-16 00:04:06 main ERROR ProcessStudio:10754 - Error while authenticating : HTTP Status - 502
Console:

How to Reproduce :
If you have a proxy on a server you can log in to your account with proxy settings

Resolution:
-verify AEServerURL & PS login URL in PS Home<< .process-studio folder <<.psrc file
-You can remove the system level proxy the issue resolves