Citrix ICA client reports “Proxy connection failed” when connecting

I had some trouble getting the ICA client to connect to a site in Ubuntu today. Actually, it’s been for a few days. I’m not entirely sure if I’ve used Ubuntu for Citrix stuff.

Anyway, whenever clicking on a connection on the Citrix web interface, the webica application would fail with this error: “Proxy connection failed: Internal error during proxy evaluation”

As I don’t use a proxy, this was a little odd.

After searching on the Citrix forums, I found this nugget which resolves the issue:

  • Open up the terminal window
  • cd
  • mkdir .netscape
  • cd .netscape
  • gedit preferences.js
  • In the editor, type:
    user_pref("network.proxy.http_port", 80);
    user_pref("network.proxy.type", 0);
  • Save the file

Now, when you click on the Citrix icon, you should connect with no issue.

If you do happen to use a proxy server, change network.proxy.type to 1, and enter the relevant proxy details in the other lines.