MythTV / mythtv

The official MythTV repository
https://www.mythtv.org
GNU General Public License v2.0
699 stars 343 forks source link

Internet access through proxy server imperfect #892

Open hoh61 opened 3 months ago

hoh61 commented 3 months ago

What steps will reproduce the bug?

Starting of mythtv will reproduce the bug. Internet access is blocked through an active proxy server for frontend and backend requests.

Under Linux the system settings for the usage of the proxy server are not recognized and not applied. Only internal servers can be accessed. The setting of the shell environment variable for the proxy server address is recognized and used. This is valid for the environment variable "http_proxy". However, by this selection any internal server is ignored and I can only access external sources. The environmental variable "noproxy" is not recognized and ignored. The current standard for all browser to allow an exception list for defined addresses which shall not requested without proxy interface is missing.

How often does it reproduce? Is there a required condition?

Everytime the proxy environment variable is set/unset

What is the expected behaviour?

To operate according to the proxy setting rules defined in the system settings, at least a proper implementation of the "noproxy" variable

What do you see instead?

Simple switch proxy/no proxy for all(!) server requests.

Additional information

bennettpeter commented 2 months ago

What specific actions in MythTV are you using that are affected? What action needs Internet access that does not work and what action needs internal access that does not work?

hoh61 commented 2 months ago

Mythweb is an extension that uses internet protocol to respond to external clients in the local network. Mythwebbrowser is an extension that should access external web sites. In the same way a few setup tools are accessing some internet resources. Since I sat up a proxy server years ago to bundle external internet access through this proxy, I couldn't access any of the external setup helpers. In the last month an idea came up to use the mythwebbrowser for accessing mediathek's. Unfortunately the currently implemented proxy support allows only one setting: with or without proxy: mythweb or mythwebbrowser. A selective proxy support, as it is mostly standard nowadays, is missing.