URLError - When Trying to update

Status
Not open for further replies.

Bacon8tor

Cadet
Joined
Mar 22, 2016
Messages
8
Hello so I have setup 2 freenas machines. They both have static IP's set to them. There is a squid proxy that requires authentication. I have the default gateway set correct , also have the name server , as well as a google name server 8.8.8.8 , and of course the HTTP proxy(plus authentication) i.e. http://user@pass:PROXY_IP:3128.
If I go into the shell and run 'host update.freenas.org'
Code:
[root@freenas2 ~]# host update.freenas.org
update.freenas.org is an alias for freenas-update.scaleengine.net.
freenas-update.scaleengine.net is an alias for update.freenas.anycastcdn.net.
update.freenas.anycastcdn.net has address 104.156.60.49
[root@freenas2 ~]#


but when I use the GUI to check now I get this response

Request Method: GET
Request URL: http://freenas2.ahm.local/system/update/check/
Software Version: FreeNAS-9.10-STABLE-201603252134 (412fb1c)
Exception Type: URLError
Exception Value:
<urlopen error [Errno 8] hostname nor servname provided, or not known>
Exception Location: /usr/local/lib/freenasOS/Configuration.py in TryGetNetworkFile, line 635
Server time: Sat, 16 Apr 2016 16:44:49 -0700
Traceback

" style="margin: 0px 18px 0px 0px; padding-right: 2px; padding-bottom: 2px; border-color: rgb(181, 188, 199); width: auto; vertical-align: middle; color: rgb(0, 0, 0); overflow-y: hidden; resize: none; cursor: default; min-height: 60px; transition-property: background-color, border; transition-duration: 0.35s; overflow-x: auto; height: 396px; outline: none !important;">
Request information
GET
No GET data

POST
No POST data

FILES
No FILES data

COOKIES
Variable Value
fntreeSaveStateCookie 'root'
sessionid 'o3ja6lrmpems18at1aoms4x5uwhdfzan'
csrftoken 'l57ZzoB9rxeBM4hTruzcV9dgMMS0goON'
META
Variable Value
REQUEST_URI '/system/update/check/'
wsgi.multiprocess False
CONTENT_LENGTH ''
SERVER_ADDR '192.168.20.24'
SERVER_NAME 'localhost'
wsgi.multithread True
SERVER_PORT '80'
HTTP_REFERER 'http://freenas2.ahm.local/'
HTTP_HOST 'freenas2.ahm.local'
HTTP_VIA '1.1 proxy2009.ahm.local:3128 (squid/2.6.STABLE21)'
wsgi.input <flup.server.fcgi_base.InputStream object at 0x819f0b290>
SERVER_PROTOCOL 'HTTP/1.0'
wsgi.version (1, 0)
HTTP_ACCEPT_ENCODING 'gzip, deflate, sdch'
SCRIPT_NAME u''
CSRF_COOKIE u'l57ZzoB9rxeBM4hTruzcV9dgMMS0goON'
DOCUMENT_URI '/system/update/check/'
DOCUMENT_ROOT '/usr/local/etc/nginx/html'
wsgi.errors <flup.server.fcgi_base.TeeOutputStream object at 0x819f0b5d0>
HTTP_COOKIE 'sessionid=o3ja6lrmpems18at1aoms4x5uwhdfzan; csrftoken=l57ZzoB9rxeBM4hTruzcV9dgMMS0goON; fntreeSaveStateCookie=root'
REQUEST_METHOD 'GET'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.8'
QUERY_STRING ''
GATEWAY_INTERFACE 'CGI/1.1'
HTTPS ''
HTTP_CONTENT_TYPE 'application/x-www-form-urlencoded'
HTTP_CACHE_CONTROL 'max-age=259200'
HTTP_X_FORWARDED_FOR '192.168.22.71'
HTTP_X_REQUESTED_WITH 'XMLHttpRequest'
PATH_INFO u'/system/update/check/'
HTTP_CONNECTION 'keep-alive'
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36'
HTTP_ACCEPT '*/*'
REMOTE_PORT '58623'
CONTENT_TYPE 'application/x-www-form-urlencoded'
SERVER_SOFTWARE 'nginx/1.8.1'
REDIRECT_STATUS '200'
wsgi.run_once False
REMOTE_ADDR '192.168.20.5'
wsgi.url_scheme 'http'

I have double checked all the network settings. I even tested taking out the prozy authentication, it then failed because it couldnt authenticate(as expected) so I knwo its authenticating and going thru the proxy but why cant I access the updates? I have looked at several post and most where to a gateway issue which im sure is not the case
 
Status
Not open for further replies.
Top