SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0019531ClearOSapp-wpadpublic2018-03-27 09:372018-03-29 10:49
ReporterNickH 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version7.4.0 
Target VersionFixed in Version 
Summary0019531: Auto-Generated wpad.dat file has odd final return statement
DescriptionI have two LAN interfaces and the final return statement in the wpad.dat file looks odd to the eye:
function FindProxyForURL(url, host) {
  if (isInNet(myIpAddress(), "172.22.22.0", "255.255.255.0"))
    return "PROXY 172.22.22.1:3128";
  if (isInNet(myIpAddress(), "172.17.222.0", "255.255.255.0"))
    return "DIRECT";
  var myip = myIpAddress();
  if (myip == "")
    return "DIRECT";
  return "PROXY 172.22.22.1:3128; PROXY 172.22.22.1:3128; PROXY 172.17.222.1:3128;";
}

It is doubling up on the IP's for the non-DIRECT interfaces. I am also not sure if you should be returning more than one proxy here either.

I don't know exactly what should be in the file so this may not be a bug.
TagsNo tags attached.
Attached Files

- Relationships
related to 0019581closedbchambers Open source wpad app 

-  Notes
(0007291)
bchambers (administrator)
2018-03-29 10:48

Won't fix for now...see tracker 19581

- Issue History
Date Modified Username Field Change
2018-03-27 09:37 NickH New Issue
2018-03-29 10:46 bchambers Relationship added related to 0019581
2018-03-29 10:48 bchambers Note Added: 0007291
2018-03-29 10:49 bchambers Status new => closed

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7