Bugzilla – Bug 1216290
opensuse-welcome indefinitely retries proxy without interval
Last modified: 2023-10-17 16:52:44 UTC
Hello, opensuse-welcome tries to load news.opensuse.org:443 using system proxy settings. However, when the proxy asks for auth, it does not work with kerberos auth (negotiate). It would be harmless if it stops there but it retries pretty fast it again and again with dozens of request per second. It can easily fill gigabytes of the server log partition in minutes. I already implemented a fail2ban but it is better to fix it at the source. Please, limit the amount of retries, probably desist on http 407 and, if possible, make it work with negotiate auth.
Might be a bug in Qt WebEngine. Are falkon or konqueror also affected? In any case, please run QT_LOGGING_RULES=*.debug=true opensuse-welcome. Are there any relevant messages?
(In reply to Fabian Vogt from comment #1) > Might be a bug in Qt WebEngine. Are falkon or konqueror also affected? I have not used konqueror in years. Yes, it is also affected. > In any case, please run QT_LOGGING_RULES=*.debug=true opensuse-welcome. Are > there any relevant messages? No. There is no mention to http, proxy, news and other similar terms.
(In reply to Luiz Angelo Daros de Luca from comment #2) > (In reply to Fabian Vogt from comment #1) > > Might be a bug in Qt WebEngine. Are falkon or konqueror also affected? > > I have not used konqueror in years. Yes, it is also affected. In that case, can you provide simple instructions for reproducing the issue? It's most likely a bug in upstream Qt.
(In reply to Fabian Vogt from comment #3) > (In reply to Luiz Angelo Daros de Luca from comment #2) > > (In reply to Fabian Vogt from comment #1) > > > Might be a bug in Qt WebEngine. Are falkon or konqueror also affected? > > > > I have not used konqueror in years. Yes, it is also affected. > > In that case, can you provide simple instructions for reproducing the issue? > It's most likely a bug in upstream Qt. You just need an HTTPS proxy (squid, for example) that uses kerberos (NEGOTIATE) authentication: $ https_proxy=http://myproxy.com:3128 curl -I --proxy-negotiate --proxy-user : https://news.opensuse.org HTTP/1.1 200 Connection established HTTP/2 200 date: Tue, 17 Oct 2023 16:47:06 GMT content-type: text/html content-length: 25842 last-modified: Tue, 17 Oct 2023 16:01:29 GMT vary: Accept-Encoding etag: "652eafd9-64f2" expires: Wed, 18 Oct 2023 16:47:06 GMT cache-control: max-age=86400 accept-ranges: bytes x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block x-content-type-options: nosniff referrer-policy: no-referrer-when-downgrade strict-transport-security: max-age=15768000 $ https_proxy=http://myproxy.com:3128 opensuse-welcome