Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8413 - kde does not work with a network proxy with authentication

Attached to Project: Arch Linux
Opened by Bfg (Bfg) - Thursday, 25 October 2007, 10:44 GMT
Last edited by Greg (dolby) - Friday, 25 July 2008, 07:14 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity High
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After the kde last update i've noticed that every kde based application does not work no more when i try to utilize an http proxy inside my job office.
the other applications (es. firefox or opera and also console based like wget) are not affected.
Trying to open with konqueror the home page of archlinux website the behaviour is:
1) a window popup ask me the username and password to authenticate myself with the http proxy (port 80).
2) konqueror write on error page the message: "An error occurred while loading http://www.archlinux.org/:
The file or folder www.archlinux.org does not exist."

everything works when i'm at home without a proxy direct cable connected...

Additional info:
* package version(s)
kde-common 3.5.8-1
kdebase 3.5.8-1
kdelibs 3.5.8-3
kdenetwork 3.5.8-1
This task depends upon

Closed by  Greg (dolby)
Friday, 25 July 2008, 07:14 GMT
Reason for closing:  Upstream
Comment by Tobias Powalowski (tpowa) - Thursday, 25 October 2007, 13:11 GMT
which architecture are you using?
do you use testing repository?
have you tried HTTP_PROXY= environment variable too?
Comment by Bfg (Bfg) - Friday, 26 October 2007, 08:20 GMT
I'm using i686 architecture:
Linux bfg_nb.local.net 2.6.23-ARCH #1 SMP PREEMPT Mon Oct 22 10:58:45 UTC 2007 i686 Genuine Intel(R) CPU T2400 @ 1.83GHz GenuineIntel GNU/Linux

I'm not using testing repository:
core + extra + community + unstable

I've tried both methods: usually i've always used "Use preset proxy environment variables" which was useful using notebook at home and at job. I've tried also "Manually..." but with the same behaviour.

anyway i'm not sure but i think it is a kde bug, some days ago i've read a bug report very similar but unfortunately i dont find this link now. yesterday bugs.kde.org was down for few hours.


Comment by Tobias Powalowski (tpowa) - Friday, 26 October 2007, 08:23 GMT
if you find a patch please post immediatly, my time is very low atm to do such reasearches
Comment by Tobias Powalowski (tpowa) - Friday, 26 October 2007, 08:50 GMT Comment by Bfg (Bfg) - Friday, 26 October 2007, 09:28 GMT
exactly the same... i was looking for :)
now i vote this and add my comment...
thankyou

ps
using live cd with beta 3 of kde4
http://home.kde.org/~binner/kde-four-live/
the trouble with proxy does not exist.
Comment by Tobias Powalowski (tpowa) - Saturday, 27 October 2007, 19:51 GMT
hrm could you try that:
run kdeinit in a konsole and then then retry your auth proxy thing,
there should be error logging in the konsoloe with kdeinit
Comment by Bfg (Bfg) - Tuesday, 30 October 2007, 07:18 GMT
kio_http_debug: WARNING: (12948) Unsupported or invalid authorization type requested
kio_http_debug: WARNING: (12948) Proxy URL: http://proxy.atac.roma.it:80
kio_http_debug: WARNING: (12948) Request Authorization: Kerberos
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
Comment by Bfg (Bfg) - Monday, 05 November 2007, 11:06 GMT
As suggested me, this is the debugging output using a kdelib with --enamble-debus option

kio_http: (15261) GET http://www.archlinux.org/ HTTP/1.1
kio_http: (15261) User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.8 (like Gecko)
kio_http: (15261) Accept: text/html, image/jpeg, image/png, text/*, image/*, */*
kio_http: (15261) Accept-Encoding: x-gzip, x-deflate, gzip, deflate
kio_http: (15261) Accept-Charset: iso-8859-15, utf-8;q=0.5, *;q=0.5
kio_http: (15261) Accept-Language: it, en
kio_http: (15261) Host: www.archlinux.org
kio_http: (15261) Connection: close
kdecore (KNetwork resolver): shouldResInit: /etc/resolv.conf updated
kio_http: (15261) ============ Received Response:
kio_http: (15261) "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )"
kio_http: (15261) "Via:1.1 PROXY2"
kio_http: (15261) "Proxy-Authenticate: NTLM"
kio_http: (15261) "Proxy-Authenticate: Basic realm="proxy2.atac.roma.it""
kio_http: (15261) "Proxy-Authenticate: Kerberos"
kio_http_debug: WARNING: (15261) Unsupported or invalid authorization type requested
kio_http_debug: WARNING: (15261) Proxy URL: http://proxy2.atac.roma.it:80
kio_http_debug: WARNING: (15261) Request Authorization: Kerberos
kio_http: (15261) "Proxy-Authenticate: Negotiate"
kio_http: (15261) "Connection: close"
kio_http: (15261) "Proxy-Connection: close"
kio_http: (15261) "Pragma: no-cache"
kio_http: (15261) "Cache-Control: no-cache"
kio_http: (15261) "Content-Type: text/html"
kio_http: (15261) "Content-Length: 3773 "
kio_http: (15261) --empty--
kio (kioslave): SlaveBase::checkCachedAuthInfo window = 14680072 url = http://proxy2.atac.roma.it:80
kio (kioslave): SlaveBase::openPassDlg window-id=14680072 progress-id=0
kio (kioslave): SlaveBase::openPassDlg: username=pippo
kio (kioslave): SlaveBase::openPassDlg: password=[hidden]
kio_http: (15261) ============ Sending Header:
kio_http: (15261) GET http://www.archlinux.org/ HTTP/1.1
kio_http: (15261) User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.8 (like Gecko)
kio_http: (15261) Accept: text/html, image/jpeg, image/png, text/*, image/*, */*
kio_http: (15261) Accept-Encoding: x-gzip, x-deflate, gzip, deflate
kio_http: (15261) Accept-Charset: iso-8859-15, utf-8;q=0.5, *;q=0.5
kio_http: (15261) Accept-Language: it, en
kio_http: (15261) Host: www.archlinux.org
kio_http: (15261) Proxy-Connection: Keep-Alive
kio_http: (15261) Proxy-Authorization: NTLM TlRMTVNTUAABAAAABQIAAAAAAAAAAAAAAAAAAAAAAAA=
kio_http: (15261) Connection: close
kio_http: (15261) ============ Received Response:
kio_http: (15261) "HTTP/1.1 407 Proxy Authentication Required ( Access is denied. )"
kio_http: (15261) "Via:1.1 PROXY2"
kio_http: (15261) "Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAFAAUADgAAAAFAoECQooBpF5WGLEAAAAAAAAAAHIAcgBMAAAABQCTCAAAAA9SAE0AXwBTAE8ATgBEAFIASQBPAAIAFABSAE0AXwBTAE8ATgBEAFIASQBPAAEADABQAFIATwBYAFkAMgAEABgAYQB0AGEAYwAuAHIAbwBtAGEALgBpAHQAAwAmAHAAcgBvAHgAeQAyAC4AYQB0AGEAYwAuAHIAbwBtAGEALgBpAHQAAAAAAA=="
kio_http: (15261) "Pragma: no-cache"
kio_http: (15261) "Cache-Control: no-cache"
kio_http: (15261) "Content-Type: text/html"
kio_http: (15261) "Content-Length: 0 "
kio_http: (15261) --empty--
kio (KIOJob): error 11 www.archlinux.org
Comment by Bfg (Bfg) - Wednesday, 07 November 2007, 10:05 GMT
found a workaround installing ntlmaps from aur repository (thank you graziano).
now konqueror proxy authentication works but the problem is bigger than this: i've noticed that is no more possible to open any windows share (with kde file manager) inside the active directory windows domain here at my job.
may be is connected with changes to kerberos?
Comment by Tobias Powalowski (tpowa) - Monday, 03 March 2008, 19:06 GMT
status on kde 3.5.9?
Comment by Bfg (Bfg) - Wednesday, 05 March 2008, 13:12 GMT
tested today, but we are still on same blocked situation.
the only way to work is using ntlmaps.

Comment by Jhon (css143) - Wednesday, 26 March 2008, 14:08 GMT
Which is the password for the proxyserver?
Comment by Glenn Matthys (RedShift) - Tuesday, 17 June 2008, 14:50 GMT
What's the status of this issue?
Comment by Bfg (Bfg) - Thursday, 26 June 2008, 15:26 GMT
still now, in my experience the status is always the same... using an archlinux
kde-common 3.5.9-2
kdebase 3.5.9-2
kdenetwork 3.5.9-1
...
Comment by Maxim (wzzrd) - Friday, 25 July 2008, 06:47 GMT
This bug show similarities and has been voted for quite a lot: http://bugs.kde.org/show_bug.cgi?id=138414
I created comments on both bugs in the KDE bugzilla linking them together (can't actually label one of them as duplicate).

Issue is actually an upstream problem, not limited to one distro.

Loading...