[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Rafael Linux User
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #28 from Rafael Linux User  ---
(In reply to Nicolas Fella from comment #27)
> Do you have any environment variables like HTTP_PROXY or FTP_PROXY set?

At system level, HTTP_PROXY is assigned, and FTP_PROXY is NOT (and never was).
System proxy settings remains when using Plasma 5.

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #27 from Nicolas Fella  ---
Do you have any environment variables like HTTP_PROXY or FTP_PROXY set?

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #26 from Nicolas Fella  ---
> (process:74936): pxbackend-DEBUG: 15:55:32.095: px_manager_get_proxies_sync: 
> url=ftp://ftp.slackware.com:0 online=1
> (process:74936): pxbackend-DEBUG: 15:55:32.095: px_manager_get_proxies_sync: 
> Config[0] =
> (process:74936): pxbackend-DEBUG: 15:55:32.095: px_manager_get_proxies_sync: 
> Config[1] = 
> pac+file:///home/myuser/Configuraciones/proxy_PAC_configuracion.pac
> (process:74936): pxbackend-DEBUG: 15:55:32.106: px_manager_expand_pac: PAC 
> recevied!
> (process:74936): pxbackend-DEBUG: 15:55:32.106: px_manager_get_proxies_sync: 
> Proxy[0] = http://proxyip:proxyport
>kf.kio.workers.ftp: proxy urls: QList("ftp://proxyip:proxyport";)

Okay, here it get's interesting. libproxy does process the PAC file, and now it
thinks the right proxy is "http://proxyip:proxyport";, and KIO uses that. But
that's not what you want

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Rafael Linux User
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #25 from Rafael Linux User  ---
Can I provide any more evidence? Until next Thursday, I won't be able to prove
anything.

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Rafael Linux User
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #24 from Rafael Linux User  ---
I'm sorry . Fixed:

>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:74936): GLib-GIO-DEBUG: 15:55:32.091: Using cross-namespace EXTERNAL
authentication (this will deadlock if server is GDBus < 2.73.3)
(process:74936): GLib-GIO-DEBUG: 15:55:32.093: _g_io_module_get_default: Found
default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(process:74936): pxbackend-DEBUG: 15:55:32.093: Active config plugins:
(process:74936): pxbackend-DEBUG: 15:55:32.093:  - config-env
(process:74936): pxbackend-DEBUG: 15:55:32.093:  - config-xdp
(process:74936): pxbackend-DEBUG: 15:55:32.093:  - config-kde
(process:74936): pxbackend-DEBUG: 15:55:32.093:  - config-gnome
(process:74936): pxbackend-DEBUG: 15:55:32.093:  - config-sysconfig
(process:74936): GLib-GIO-DEBUG: 15:55:32.094: Failed to initialize portal
(GNetworkMonitorPortal) for gio-network-monitor: Not using portals
(process:74936): GLib-GIO-DEBUG: 15:55:32.094: Using cross-namespace EXTERNAL
authentication (this will deadlock if server is GDBus < 2.73.3)
(process:74936): GLib-GIO-DEBUG: 15:55:32.095: _g_io_module_get_default: Found
default implementation networkmanager (GNetworkMonitorNM) for
‘gio-network-monitor’
(process:74936): pxbackend-DEBUG: 15:55:32.095: px_manager_constructed: Up and
running
(process:74936): pxbackend-DEBUG: 15:55:32.095: px_manager_get_proxies_sync:
url=ftp://ftp.slackware.com:0 online=1
(process:74936): pxbackend-DEBUG: 15:55:32.095: px_manager_get_proxies_sync:
Config[0] =
(process:74936): pxbackend-DEBUG: 15:55:32.095: px_manager_get_proxies_sync:
Config[1] = pac+file:///home/myuser/Configuraciones/proxy_PAC_configuracion.pac
(process:74936): pxbackend-DEBUG: 15:55:32.106: px_manager_expand_pac: PAC
recevied!
(process:74936): pxbackend-DEBUG: 15:55:32.106: px_manager_get_proxies_sync:
Proxy[0] = http://proxyip:proxyport
kf.kio.workers.ftp: proxy urls: QList("ftp://proxyip:proxyport";)
kf.kio.workers.ftp: QUrl("ftp://ftp.slackware.com";)
kf.kio.workers.ftp: host= "ftp.slackware.com" , port= 0 , user= "" password=
[password hidden]
(process:74936): pxbackend-DEBUG: 15:55:32.180: px_manager_get_proxies_sync:
url=tcp://proxyip:proxyport online=1
(process:74936): pxbackend-DEBUG: 15:55:32.180: px_manager_get_proxies_sync:
Config[0] = pac+file:///home/myuser/Configuraciones/proxy_PAC_configuracion.pac
(process:74936): pxbackend-DEBUG: 15:55:32.180: px_manager_get_proxies_sync:
Proxy[0] = direct://
(process:74936): pxbackend-DEBUG: 15:55:32.180: px_manager_get_proxies_sync:
url=tcp: online=1
(process:74936): pxbackend-DEBUG: 15:55:32.180: px_manager_get_proxies_sync:
Config[0] = http://myproxyuser:myproxypassword@proxyip:proxyport
(process:74936): pxbackend-DEBUG: 15:55:32.180: px_manager_get_proxies_sync:
Config[1] = pac+file:///home/myuser/Configuraciones/proxy_PAC_configuracion.pac
(process:74936): pxbackend-DEBUG: 15:55:32.180: px_manager_get_proxies_sync:
Proxy[0] = http://myproxyuser:myproxypassword@proxyip:proxyport
(process:74936): pxbackend-DEBUG: 15:55:32.181: px_manager_get_proxies_sync:
url=tcp: online=1
(process:74936): pxbackend-DEBUG: 15:55:32.181: px_manager_get_proxies_sync:
Config[0] = http://myproxyuser:myproxypassword@proxyip:proxyport
(process:74936): pxbackend-DEBUG: 15:55:32.181: px_manager_get_proxies_sync:
Config[1] = pac+file:///home/myuser/Configuraciones/proxy_PAC_configuracion.pac
(process:74936): pxbackend-DEBUG: 15:55:32.181: px_manager_get_proxies_sync:
Proxy[0] = http://myproxyuser:myproxypassword@proxyip:proxyport
kf.kio.workers.ftp: m_bLoggedOn= false  m_bBusy= false
kioclient: Error desconocido

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

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #23 from Nicolas Fella  ---
> kf.kio.workers.ftp: proxy urls: QList()

That's what I expected to see. It means that the KIO FTP worker is not using a
proxy, which is what you want. Although in this case it's because your
configuration is not a valid URL and thus libproxy doesn't read it

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #22 from Nicolas Fella  ---
> (process:66001): pxbackend-DEBUG: 15:22:56.965: px_manager_get_proxies_sync: 
> Config[1] = pac+file://home/myuser/Configuraciones/proxy_PAC_configuracion.pac
(process:66001): pxbackend-DEBUG: 15:22:56.965: px_manager_pac_download: Could
not download data: URL using bad/illegal format or missing URL

Note that it must be file:///home/user/... with three /

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Rafael Linux User
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #21 from Rafael Linux User  ---
While replacing the sensitive information before publishing it, I made a
mistake, and where it says 
http://myproxyuser:myproxypassword.162.0.10:3128
you should interpret it as 
http://myproxyuser:myproxypassword@proxyip:proxyport
and all that info is the one working before Plasma 6 issues with proxies

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Rafael Linux User
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #20 from Rafael Linux User  ---
My previous [Proxy Settings] content as stored by Plasma in kioslaverc:
[Proxy Settings]
AuthMode=1
NoProxyFor=NO_PROXY
Proxy Config Script=/home/myuser/Configuraciones/proxy_PAC_configuracion.pac
ProxyType=2
ReversedException=false
ftpProxy=
httpProxy=http_proxy
httpsProxy=https_proxy
socksProxy=

So I simply added "file:/" to the path.

Before reading the output of the command, you should keep something important
in mind: The FTP servers I always access are LOCAL. From our LAN, there is no
access to external servers, which is why, before executing the command, I know
it will fail. 

-- And running the command -

G_MESSAGES_DEBUG=all QT_LOGGING_RULES="kf.kio.workers.ftp.debug=true" kioclient
ls ftp://ftp.slackware.com
 OUTPUTS 
kf.kio.workers.ftp: Starting
kf.kio.workers.ftp: "ftp.slackware.com" port= 0 user= ""
(process:66001): GLib-GIO-DEBUG: 15:22:56.921: Using cross-namespace EXTERNAL
authentication (this will deadlock if server is GDBus < 2.73.3)
(process:66001): GLib-GIO-DEBUG: 15:22:56.923: _g_io_module_get_default: Found
default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(process:66001): pxbackend-DEBUG: 15:22:56.923: Active config plugins:
(process:66001): pxbackend-DEBUG: 15:22:56.923:  - config-env
(process:66001): pxbackend-DEBUG: 15:22:56.923:  - config-xdp
(process:66001): pxbackend-DEBUG: 15:22:56.923:  - config-kde
(process:66001): pxbackend-DEBUG: 15:22:56.923:  - config-gnome
(process:66001): pxbackend-DEBUG: 15:22:56.923:  - config-sysconfig
(process:66001): GLib-GIO-DEBUG: 15:22:56.924: Failed to initialize portal
(GNetworkMonitorPortal) for gio-network-monitor: Not using portals
(process:66001): GLib-GIO-DEBUG: 15:22:56.924: Using cross-namespace EXTERNAL
authentication (this will deadlock if server is GDBus < 2.73.3)
(process:66001): GLib-GIO-DEBUG: 15:22:56.925: _g_io_module_get_default: Found
default implementation networkmanager (GNetworkMonitorNM) for
‘gio-network-monitor’
(process:66001): pxbackend-DEBUG: 15:22:56.925: px_manager_constructed: Up and
running
(process:66001): pxbackend-DEBUG: 15:22:56.925: px_manager_get_proxies_sync:
url=ftp://ftp.slackware.com:0 online=1
(process:66001): pxbackend-DEBUG: 15:22:56.925: px_manager_get_proxies_sync:
Config[0] =
(process:66001): pxbackend-DEBUG: 15:22:56.925: px_manager_get_proxies_sync:
Config[1] = pac+file://home/myuser/Configuraciones/proxy_PAC_configuracion.pac
(process:66001): pxbackend-DEBUG: 15:22:56.926: px_manager_pac_download: Could
not download data: URL using bad/illegal format or missing URL

(process:66001): pxbackend-WARNING **: 15:22:56.926: px_manager_expand_pac:
Unable to download PAC from
pac+file://home/myuser/Configuraciones/proxy_PAC_configuracion.pac while online
= 1!
(process:66001): pxbackend-DEBUG: 15:22:56.926: 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:66001): pxbackend-DEBUG: 15:22:56.965: px_manager_get_proxies_sync:
url=tcp://ftp.slackware.com:21 online=1
(process:66001): pxbackend-DEBUG: 15:22:56.965: px_manager_get_proxies_sync:
Config[0] = http://myproxyuser:myproxypassword.162.0.10:3128
(process:66001): pxbackend-DEBUG: 15:22:56.965: px_manager_get_proxies_sync:
Config[1] = pac+file://home/myuser/Configuraciones/proxy_PAC_configuracion.pac
(process:66001): pxbackend-DEBUG: 15:22:56.965: px_manager_pac_download: Could
not download data: URL using bad/illegal format or missing URL

(process:66001): pxbackend-WARNING **: 15:22:56.965: px_manager_expand_pac:
Unable to download PAC from
pac+file://home/myuser/Configuraciones/proxy_PAC_configuracion.pac while online
= 1!
(process:66001): pxbackend-DEBUG: 15:22:56.965: px_manager_get_proxies_sync:
Proxy[0] = http://myproxyuser:myproxypassword.162.0.10:3128
kf.kio.workers.ftp: >  220-

kf.kio.workers.ftp: > 
220

kf.kio.workers.ftp: >  220-  R S Y N C . O S U O S L .
O R G

kf.kio.workers.ftp: >  220-  Oregon State
University

kf.kio.workers.ftp: >  220-  Open Source Lab

kf.kio.workers.ftp: >  220-

kf.kio.workers.ftp: >  220-   Unauthorized use is prohibited -
violators will be prosecuted

kf.kio.workers.ftp: > 
220

kf.kio.workers.ftp: >  220-

kf.kio.workers.ftp: >  220-For more information about the
OSL visit:

kf.kio.workers.ftp: >  220-   
http://osuosl.org/services/hosting

kf.kio.workers.ftp: >  220-

kf.kio.workers.ftp: >  220-  This host is the home to the primary
archives of several

kf.kio.worke

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #19 from Nicolas Fella  ---
Can you please

1) replace .config/kioslaverc with

[Proxy Settings]
Proxy Config Script=file:///home/nico/test.pac
ProxyType=2

and adjust the URL to your PAC file

2) run G_MESSAGES_DEBUG=all QT_LOGGING_RULES="kf.kio.workers.ftp.debug=true"
kioclient ls ftp://ftp.slackware.com
and attach the output?

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Rafael Linux User
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #18 from Rafael Linux User  ---
Specifically, they are telling you "use the proxy exclusively with the HTTP
protocol."

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-17 Thread Rafael Linux User
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #17 from Rafael Linux User  ---
Exactly. The PAC file rules are telling you NOT to use the proxy for the FTP
protocol.

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-15 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #16 from Nicolas Fella  ---
When I use the PAC file you attached  and run "kioclient ls
ftp://ftp.slackware.com"; no proxy is used, which seems to be what you expect?

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-15 Thread Rafael Linux User
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #15 from Rafael Linux User  ---
As of today, January 2025, the problem that appeared with Plasma 6 is still
unresolved, and I have to use the PCMan file manager to access FTP without
using the proxy due to what has already been explained in this thread.

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2025-01-13 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=477081

--- Comment #14 from Nicolas Fella  ---
(In reply to Nicolas Fella from comment #11)
> What happens when you replace /home/myuser/proxy_PAC_configuracion.pac with
> file:///home/myuser/proxy_PAC_configuracion.pac in the UI (or the config
> file directly)?

I'm asking because libproxy, the library that reads the kioslaverc file,
doesn't seem to correctly handle the case of a path instead of a URL in there.
That would explain why configuring PAC URLs wouldn't work.

See https://github.com/libproxy/libproxy/issues/318

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

[dolphin] [Bug 477081] Plasma 6 ignores proxy configuration for FTP protocol

2024-08-14 Thread Rafael Linux User
https://bugs.kde.org/show_bug.cgi?id=477081

Rafael Linux User  changed:

   What|Removed |Added

Summary|Plasma 6 ignores proxy  |Plasma 6 ignores proxy
   |configuration arbitrary |configuration for FTP
   ||protocol

--- Comment #13 from Rafael Linux User  ---
I

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