https://bugs.kde.org/show_bug.cgi?id=509961

--- Comment #10 from Nicolas Fella <[email protected]> ---
(In reply to Rafael Linux User from comment #8)
> Remaining environment variable "ftp_proxy=" as is assigned by system, this
> is the ouput:
> ---------------------------- ftp_proxy=  as just when logging
> ------------------------------------
>  G_MESSAGES_DEBUG=all QT_LOGGING_RULES=kf.kio.workers.ftp.debug=true
> kioclient ls ftp://ftp.slackware.com                                        
> 
> kf.kio.workers.ftp: Starting
> kf.kio.workers.ftp: "ftp.slackware.com" port= 0 user= ""
> (process:2607403): GLib-GIO-DEBUG: 09:17:32.950: _g_io_module_get_default:
> Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
> (process:2607403): pxbackend-DEBUG: 09:17:32.950: Active config plugins:
> (process:2607403): pxbackend-DEBUG: 09:17:32.950:  - config-env
> (process:2607403): pxbackend-DEBUG: 09:17:32.950:  - config-xdp
> (process:2607403): pxbackend-DEBUG: 09:17:32.951:  - config-kde
> (process:2607403): pxbackend-DEBUG: 09:17:32.951:  - config-gnome
> (process:2607403): pxbackend-DEBUG: 09:17:32.951:  - config-sysconfig
> (process:2607403): GLib-GIO-DEBUG: 09:17:32.952: Failed to initialize portal
> (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
> (process:2607403): GLib-GIO-DEBUG: 09:17:32.953: _g_io_module_get_default:
> Found default implementation networkmanager (GNetworkMonitorNM) for
> ‘gio-network-monitor’
> (process:2607403): pxbackend-DEBUG: 09:17:32.953: px_manager_constructed: Up
> and running
> (process:2607403): pxbackend-DEBUG: 09:17:32.953:
> px_manager_get_proxies_sync: url=ftp://ftp.slackware.com:0 online=1
> (process:2607403): pxbackend-DEBUG: 09:17:32.953:
> px_manager_get_proxies_sync: Config[0] =
> (process:2607403): pxbackend-DEBUG: 09:17:32.953:
> px_manager_get_proxies_sync: Proxy[0] = direct://
> kf.kio.workers.ftp: proxy urls: QList()
> kf.kio.workers.ftp: QUrl("ftp://ftp.slackware.com";)
> kf.kio.workers.ftp: host= "ftp.slackware.com" , port= 0 , user= "" password=
> [password hidden]
> (process:2607403): pxbackend-DEBUG: 09:17:33.021:
> px_manager_get_proxies_sync: url=tcp://ftp.slackware.com:21 online=1
> (process:2607403): pxbackend-DEBUG: 09:17:33.021:
> px_manager_get_proxies_sync: Config[0] = http://10.160.0.12:3120
> (process:2607403): pxbackend-DEBUG: 09:17:33.021:
> px_manager_get_proxies_sync: Proxy[0] = http://10.160.0.12:3120
> kf.kio.core: Can't communicate with kiod_kpasswdserver (for checkAuthInfo)!
> "Did not receive a reply. Possible causes include: the remote application
> did not send a reply, the message bus security policy blocked the reply, the
> reply timeout expired, or the network connection was broken."
> kf.kio.core: Can't communicate with kiod_kpasswdserver (for queryAuthInfo)!
> kf.kio.workers.ftp: user canceled proxy authentication, or communication
> error. 172
> overriding error code!!1 172
> kf.kio.workers.ftp: m_bLoggedOn= false  m_bBusy= false
> kioclient: La comunicación con el servidor de contraseñas local ha fallado
> kf.kio.workers.ftp: Done
> kf.kio.workers.ftp:

What happens here is that for the initial FTP connection it correctly
identifies that no proxy should be used, as can be seen by

> kf.kio.workers.ftp: proxy urls: QList()

The problem is that later when the worker makes a TCP connection to the server
it queries for the SOCKS proxy, and there libproxy reads the http_proxy
environment variable and thus we get the wrong proxy for that. Unsetting
http_proxy should make it work for you then

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to