https://bugs.winehq.org/show_bug.cgi?id=39167
Bug ID: 39167 Summary: localhost don't resolve over proxied network Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: kseltar@gmail.com Distribution: ---
OS: Debian testing (201508) x86_64/amd64 LOCALSERVICE: httpd (port 80) mariadb (3306) NETWORKING: wan force routing to proxy ENV: wine 1.6.2 PlayOnLinux(POL) 4.2 (default 32bit/x86) APP: Dreamweaver MX 8, Firefox 39.0
CASE:
Forced WAN/LAN default routed to proxy server by router_core for access to internet. Every network app as browsers has setted with proxy config. eg:
proxyip: 192.168.24.100 port: 3128
the proxy require authentication for resolv ip/url, because it the browser has this url exceptions:
localhost;127.0.0.1;.domain.type;192.168.0.0/16
similar config to bash environmente http_proxy, etc; also the Desktop environment (KDE or Gnome-like env network settings)
POL has set proxy for download POL system packages
but on app run on app environment every network petition go to the proxy without read desktop/bah env network config (and exeptions) or POL proxy config
MAIN BUG: any url (ip or domain), eg: "http://127.0.0.1/mypage.html", is not checked with the hosts machine /etc/hosts file, and the wined app go to the router and here to the proxy to resolv the url. 127.0.0.1 and localhost are registered on proxy server /etc/hosts file too, and think that the app want its services resolution (eg: httpd) but tehe proxy dont have the service or files required and return 404 page not found,
A MANUAL SOLUTION FOR FIX IT:
add a win-registry on app environment
create a regsitry file or edit wine env register files
example: win7registry.reg for iexplerer env
----------------------- Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "ProxyEnable"=dword:00000001 "GlobalUserOffline"=dword:00000000 "ProxyServer"="<ipproxy:<port>" "ProxyOverride"="localhost;127.0.0.1;.domain.type;192.168.0.0/16;<local>"
----------------------
where <ipproxy>:<port> is the proxy ip address and port
ProxyOverride that has the semicolon ";" spaced urls and address on the wan/lan that i don't like to resolv on proxy proxy
https://bugs.winehq.org/show_bug.cgi?id=39167
--- Comment #1 from KSEltar kseltar@gmail.com --- simil config need to be controled on winecfg dialog
https://bugs.winehq.org/show_bug.cgi?id=39167
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- I don't understand one thing. At least in Firefox among the proxy configuration there is already a box to put some addresses that should not go to proxy, the default values include "localhost".
Do you mean that even when localhost is in Firefox's "No Proxy list" it still tries to resolve using the proxy?
Besides that POL versions of wine are not supported here and wine is currently in version 1.7.53, please install plain wine and check if the problem persists.