VLC ignores addresses excluded from proxy

Bug #1360625 reported by Tim Ritberg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libproxy (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am using Xubuntu 14.04 bit with VLC 2.1.4-0ubuntu14.04.1 and use a proxy (squid) to connect to internet.
I had excluded local addresses and hostname with enviroment variable:
no_proxy=localhost,10.0.0.0/24,mynet.local

and dconf:
org.gnome.system.proxy mode 'auto' (before 'none')
org.gnome.system.proxy autoconfig-url 'http://wpad.mynet.local/wpad.dat'
org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', 'mynet.local', '10.0.0.0/24', 'rasp.mynet.local', 'rasp']

VLC is still using this proxy, its shown in proxy log.
There are no proxy settings set in VLC.

Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

You need libproxy-tools installed here. What does the command line 'proxy http://10.0.0.1/' return?

Revision history for this message
Tim Ritberg (xpert-reactos) wrote :

It returns: direct://

For http://25.0.0.1/ it is retuning the proxy url.

This is working. libproxy-tools is installed.

Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

Make sure you did not force a proxy in the VLC preferences (http-proxy in ~/.config/vlc/vlcrc). If it still fails, please paste the verbose VLC logs.

Revision history for this message
Tim Ritberg (xpert-reactos) wrote :

[access_http] # HTTP input

# HTTP proxy (string)
#http-proxy=

# HTTP proxy password (string)
#http-proxy-pwd=

# HTTP referer value (string)
#http-referrer=

Proxy settings are empty.

Vlc verbose log:

[0x7f9210000958] access_http access error: error: HTTP/1.0 403 Forbidden
[0x7f9210000958] access_http access error: error: HTTP/1.0 403 Forbidden
[0x7f08ac000958] access_http access debug: querying proxy for http://rasp.mynet.local:9981/stream/service/_dev_dvb_adapter0_Realtek_RTL2832__DVB_T_538000000_4015
[0x7f08ac000958] access_http access debug: proxy: http://proxy.mynet.local:3128
[0x7f08ac000958] access_http access debug: http: server='rasp.mynet.local' port=9981 file='/stream/service/_dev_dvb_adapter0_Realtek_RTL2832__DVB_T_538000000_4015'
[0x7f08ac000958] access_http access debug: proxy proxy.mynet.local:3128
[0x7f08ac000958] access_http access debug: protocol 'HTTP' answer code 403
[0x7f08ac000958] access_http access error: error: HTTP/1.0 403 Forbidden
[0x7f08ac000958] access_http access debug: switching to HTTP version 1.0
[0x7f08ac000958] access_http access debug: protocol 'HTTP' answer code 403
[0x7f08ac000958] access_http access error: error: HTTP/1.0 403 Forbidden

Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

VLC uses the proxy it gets from libproxy. Moving.

affects: vlc (Ubuntu) → libproxy (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.