Are you trying to connect to a website? Like Qlik Webconnectors? Or a different API? Or to a Lib(rary)?
I had this error a few times and I learned that you have to dissable the standard mode in the engine.
When it is already not checked, try to check it, Apply, restart engine, Uncheck, Apply, restart Engine.
My data connections work fine after that,