Configuring Proxy fails with "Cannot connect to proxy at ... on port ..."

11 views
Skip to first unread message

Benjamin Metz

unread,
May 16, 2025, 8:59:29 AMMay 16
to CalenGoo Desktop Support
Hello,
since our Service Provider switched their proxy infrastructure CalenGoo-Desktop fails to connect to the internet.
As I was aware of the change I tried to change the proxy-settings in CalenGoo-Desktop, but nothing I enter works.
Accessing the internet via that new proxy works well in other applications, but CalenGoo-Desktop does not even accept the proxy settings to save them.
In the logfiles of CalenGoo-Desktop I fail to see what the exact error is.
When trying to save the proxy setting I get the error message "Cannot connect to proxy at ... on port ..." and the new proxy settings aren't even stored.
I tried using proxy hostname aswell as IP address.
Is there any way to know what CalenGoo-Desktop does to determine correct proxy settings?
Kind regards,
Ben Metz

CalenGoo Support

unread,
May 16, 2025, 9:27:38 AMMay 16
to CalenGoo Desktop Support
Hi,

to check the proxy, CalenGoo just tries to load www.google.com via the Proxy:

        OkHttpClient client = new OkHttpClient.Builder()
                .connectTimeout(5, TimeUnit.SECONDS)
                .proxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress(host, port)))
                .build();

        Request request = new Request.Builder()
                .url("https://www.google.com")
                .build();

        try {
            Response response = client.newCall(request).execute();
            response.close();
        } catch (Exception e) {
            DisplayUtils.showError("Cannot connect to proxy at \"" + host + "\" on port " + port);
            return;
        }

Is it a normal http proxy?

Kind regards

Dominique Gunia

Benjamin Metz

unread,
May 17, 2025, 7:58:37 AMMay 17
to CalenGoo Desktop Support
Hello,
thanks for the reply and clarification.
Regarding your question about whether this is “a normal proxy”:
the proxy normally requires authentication via Kerberos.
But you can reduce authentication to basic authentication for certain destinations.
It would be good to know which targets could potentially be accessed by CalenGoo desktop so I can add them to the whitelist.
Kind regards,
Ben Metz

CalenGoo Support

unread,
May 17, 2025, 8:00:22 AMMay 17
to CalenGoo Desktop Support
Hello,

it depends on which services you use. As you could see, www.google.com is used to test the connection. And most Google services use www.googleapis.com .

Please don't hesitate to contact me again if you have further questions!

Kind regards

Dominique Gunia
Reply all
Reply to author
Forward
0 new messages