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

--- Comment #8 from Rafael Linux User <[email protected]> ---
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:
------------------------------------------ output end
--------------------------------------------
I observe that «user» is not assigned and the same for «password» (despite it's
hidden) cause it doesn't ask for user/password values. Anyway, the fact is
trying to access thru proxy.

It seems there is no difference if I execute same sentence unassigning
ftp_proxy:
----------------------------------------------------------------------- unset
ftp_proxy -------------------------------
unset ftp_proxy && 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:2611973): GLib-GIO-DEBUG: 09:30:40.385: _g_io_module_get_default:
Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(process:2611973): pxbackend-DEBUG: 09:30:40.385: Active config plugins:
(process:2611973): pxbackend-DEBUG: 09:30:40.385:  - config-env
(process:2611973): pxbackend-DEBUG: 09:30:40.385:  - config-xdp
(process:2611973): pxbackend-DEBUG: 09:30:40.385:  - config-kde
(process:2611973): pxbackend-DEBUG: 09:30:40.385:  - config-gnome
(process:2611973): pxbackend-DEBUG: 09:30:40.385:  - config-sysconfig
(process:2611973): GLib-GIO-DEBUG: 09:30:40.386: Failed to initialize portal
(GNetworkMonitorPortal) for gio-network-monitor: Not using portals
(process:2611973): GLib-GIO-DEBUG: 09:30:40.387: _g_io_module_get_default:
Found default implementation networkmanager (GNetworkMonitorNM) for
‘gio-network-monitor’
(process:2611973): pxbackend-DEBUG: 09:30:40.387: px_manager_constructed: Up
and running
(process:2611973): pxbackend-DEBUG: 09:30:40.387: px_manager_get_proxies_sync:
url=ftp://ftp.slackware.com:0 online=1
(process:2611973): pxbackend-DEBUG: 09:30:40.387: px_manager_get_proxies_sync:
Config[0] = http://10.160.0.12:3120
(process:2611973): pxbackend-DEBUG: 09:30:40.387: px_manager_get_proxies_sync:
Config[1] =
(process:2611973): pxbackend-DEBUG: 09:30:40.387: px_manager_get_proxies_sync:
Proxy[0] = http://10.160.0.12:3120
kf.kio.workers.ftp: proxy urls: QList("ftp://10.162.0.10:3128";)
kf.kio.workers.ftp: QUrl("ftp://ftp.slackware.com";)
kf.kio.workers.ftp: host= "ftp.slackware.com" , port= 0 , user= "" password=
[password hidden]
(process:2611973): pxbackend-DEBUG: 09:30:40.456: px_manager_get_proxies_sync:
url=tcp://10.162.0.10:3128 online=1
(process:2611973): pxbackend-DEBUG: 09:30:40.457: px_manager_get_proxies_sync:
Proxy[0] = direct://
(process:2611973): pxbackend-DEBUG: 09:30:40.457: px_manager_get_proxies_sync:
url=tcp: online=1
(process:2611973): pxbackend-DEBUG: 09:30:40.457: px_manager_get_proxies_sync:
Config[0] = http://10.160.0.12:3120
(process:2611973): pxbackend-DEBUG: 09:30:40.457: px_manager_get_proxies_sync:
Proxy[0] = http://10.160.0.12:3120
(process:2611973): pxbackend-DEBUG: 09:30:40.457: px_manager_get_proxies_sync:
url=tcp: online=1
(process:2611973): pxbackend-DEBUG: 09:30:40.457: px_manager_get_proxies_sync:
Config[0] = http://10.160.0.12:3120
(process:2611973): pxbackend-DEBUG: 09:30:40.457: px_manager_get_proxies_sync:
Proxy[0] = http://10.160.0.12:3120
kf.kio.workers.ftp: m_bLoggedOn= false  m_bBusy= false
kioclient: Error desconocido

kf.kio.workers.ftp: Done
kf.kio.workers.ftp:
----------------------------------------------

As an additional observation, after doing the inline "unset", if I run the
command assigning «ftp_proxy=""», I always get exactly the same output showed
above. Moreover, when I show all the environment variables that contain "proxy"
again, "ftp_proxy" no longer appears, no matter how many times I assign it ""
or even '', when that variable should exist but with an empty value.

-> ftp_proxy=
-> env | grep -i proxy
no_proxy=NoProxyFor=0.0.0.0/0,.mydomain.local,.mysite.es
gopher_proxy=
https_proxy=http://10.160.0.12:3120
socks_proxy=
NO_PROXY=NoProxyFor=0.0.0.0/0,.mydomain.local,.mysite.es
http_proxy=http://10.160.0.12:3120
SOCKS_PROXY=

In this regard, it could be that "ftp_proxy" has an "empty" value assigned by
the system's proxy configuration panel (yast proxy), since in that panel
"http://"; always appears by default, even if left empty; when reopening the
panel, that value shows up again. I make this observation because of what I
mentioned earlier about it not seeming possible to assign "empty" to a variable
as a user.

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

Reply via email to