New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxy settings are ignored without warning when connected to localhost #7169
Comments
Indeed, proxys are not used for local host by Qt (see https://doc.qt.io/qt-5/qnetworkproxy.html#details). The client could notify about that. |
How should we notify about it? A label in the networksetting with a warning that is shown if at least one account has a localhost url? |
Either that or in the label that mentions the account state for that specific localhost account?
…Sent from my iPhone
On 4. Jun 2019, at 14:35, Olivier Goffart ***@***.***> wrote:
How should we notify about it? A label in the networksetting with a warning that is shown if at least one account has a localhost url?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
um what is the rationale behind this? if I want to debug connections I locally run mitmproxy as well as my apache .... but how do I make the client use mitmproxy? hm ok I had expected to make it use the proxy by giving it the public ip of my machine... that did not work ... but using the public ip for the oc server did ... 😕 ... anyway ... workaround is good enough ... maybe list this as a warning when running |
I don't know. That's what the network library we are using (Qt) is doing. I guess the rationale is maybe that network settings are used globally for things that need access to the internet, and localhost does not need that. |
…localhost Only show this if at least one account is detected to have an url that looks like localhost, because this could otherwise be confusing Issue #7169
…localhost Only show this if at least one account is detected to have an url that looks like localhost, because this could otherwise be confusing Issue #7169
A warning was added when localhost is used as an host. |
Client: 2.6.0-daily20190429 (build 11690)
macOS 10.14.4
Steps to recreate:
Actual result: User can set proxy but this settings is ignored
Expected result: Logs mention that proxy settings has been ignored. Also user interface warns that proxy is not used - e.g. if connected to localhost and proxy has been set up, the Account tab displays 'Connected to http://localhost:8080 as admin (no proxy)'
The text was updated successfully, but these errors were encountered: