https://bugs.kde.org/show_bug.cgi?id=415276
Bug ID: 415276
Summary: Cannot open external URL with kde-open5 inside company
network
Product: kde-cli-tools
Version: 5.17.4
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
My PC is inside my company network, I cannot connect to the Internet directly,
and a company provided proxy server must be used in order to access the
Internet. But it seems that kde-open5 does not support situations like this. If
I use kde-open5 to open a URL, it reports a host not found error.
I have configured the `http_proxy`, `https_proxy` environment variable in
`/etc/environment`, and selected “Use system proxy configuration” option in the
proxy settings in KDE system settings. Both `curl` and `wget` can fetch the URL
correctly.
First, why would kde-open5 attempt to resolve the host name? Why doesn’t it
just open the browser and let the browser handle the URL?
Second, if kde-open5 really need to get some data from the provided URL, it
should use the configured proxy to do those things. I have also tried
`kde-open5 http://216.58.199.110` command, where “216.58.199.110” is a Google
server. kde-open5 reports sockets operation timed out error. It seems to me
that kde-open5 tries to contact the server directly instead of using the proxy
server.
--
You are receiving this mail because:
You are watching all bug changes.