Connection time out

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
ana_dogliotti
Posts: 28
Joined: Mon Sep 12, 2005 1:16 pm America/New_York
Answers: 0

Connection time out

by ana_dogliotti » Fri Jan 13, 2017 2:01 pm America/New_York

Hello,
I have problems accessing data, specifically I'm trying update_luts.py and get the following error:

Error! could not establish a network connection. Check your network connection.
If you do not find a problem please try again later.

Following pfsmith recent post at the OC forum I'm reporting the problem:

1. The date and time you last attempted to access the site
January Friday 13th 15.00 hs GMT (still not working)

2. The IP network address of your system.
xx.xxx.xx.xx

3.  Output from a traceroute command (on Windows use tracert)
ana@ana-VirtualBox:~$ traceroute oceandata.sci.gsfc.nasa.gov
traceroute to oceandata.sci.gsfc.nasa.gov (xx.xxx.xx.xx), 30 hops max, 60 byte packets
1  * * *
2  * * *
3  * * *
4  * * *
5  * * *
6  * * *
7  * * *
8  * * *
9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

4. Output from  "wget -d https://oceancolor.gsfc.nasa.gov"
or "wget -d oceandata.sci.gsfc.nasa.gov"

DEBUG output created by Wget 1.17.1 on linux-gnu.

Reading HSTS entries from /home/ana/.wget-hsts
URI encoding = ‘UTF-8’
URI encoding = ‘UTF-8’
--2017-01-13 11:59:14--  https://oceancolor.gsfc.nasa.gov/
Resolving proxy.fcen.uba.ar (proxy.fcen.uba.ar)... xx.xxx.xx.xx, xx.xxx.xx.xx
Caching proxy.fcen.uba.ar => xx.xxx.xx.xx xx.xxx.xx.xx
Connecting to proxy.fcen.uba.ar (proxy.fcen.uba.ar)|xx.xxx.xx.xx|:8080... connected.
Created socket 3.
Releasing 0x000055e4aac43640 (new refcount 1).

---request begin---
CONNECT oceancolor.gsfc.nasa.gov:443 HTTP/1.1
User-Agent: Wget/1.17.1 (linux-gnu)
Host: oceancolor.gsfc.nasa.gov:443

---request end---
proxy responded with: [HTTP/1.1 200 Connection established

]
Initiating SSL handshake.
Handshake successful; connected socket 3 to SSL handle 0x000055e4aac449b0
certificate:
  subject: CN=oceancolor.sci.gsfc.nasa.gov,OU=PositiveSSL Multi-Domain,OU=Domain Control Validated
  issuer:  CN=COMODO ECC Domain Validation Secure Server CA,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB
X509 certificate successfully verified and matches host oceancolor.gsfc.nasa.gov

---request begin---
GET / HTTP/1.1
User-Agent: Wget/1.17.1 (linux-gnu)
Accept: */*
Accept-Encoding: identity
Host: oceancolor.gsfc.nasa.gov
Connection: Keep-Alive
Proxy-Connection: Keep-Alive

---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 13 Jan 2017 14:59:34 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 13005
Connection: keep-alive
Last-Modified: Thu, 12 Jan 2017 21:02:48 GMT
ETag: "5877eef8-32cd"
Expires: Fri, 13 Jan 2017 15:59:34 GMT
Cache-Control: max-age=3600
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

---response end---
200 OK
Registered socket 3 for persistent reuse.
Parsed Strict-Transport-Security max-age = 31536000, includeSubDomains = true
Added new HSTS host: oceancolor.gsfc.nasa.gov:443 (max-age: 31536000, includeSubdomains: true)
URI content encoding = ‘utf-8’
Length: 13005 (13K) [text/html]
Saving to: ‘index.html’

index.html          100%[===================>]  12,70K  --.-KB/s    in 0s

2017-01-13 11:59:17 (190 MB/s) - ‘index.html’ saved [13005/13005]

Saving HSTS entries to /home/ana/.wget-hsts

Thanks in advance for your help!

Ana

Tags:

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1470
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 5 times

Connection time out

by OB.DAAC - SeanBailey » Wed Jan 18, 2017 8:48 am America/New_York

Ana,

It seems you are able to successfully connect, so the issue is likely the proxy problem with the SeaDAS scripts. 
I've pushed an update to the $OCSSWROOT/run/scripts code with what I hope will resolve your issue connecting from behind a proxy.
Please update your OCSSW installation and try again.

Regards,
Sean

ana_dogliotti
Posts: 28
Joined: Mon Sep 12, 2005 1:16 pm America/New_York
Answers: 0

Connection time out

by ana_dogliotti » Wed Jan 18, 2017 10:20 am America/New_York

Thanks Sean. It should be something related to the proxy since it worked at home :). 
I updated the OCSSW installation (downloaded and run the install_ocssw.py) and now I get the connection interrupted error... I can access to leapsec.dat through the explorer... Any idea?

update_luts.py aqua -v
[ MODIS ]
Connection interrupted, retrying up to 5 more time(s)
Connection interrupted, retrying up to 4 more time(s)
Connection interrupted, retrying up to 3 more time(s)
Connection interrupted, retrying up to 2 more time(s)
Connection interrupted, retrying up to 1 more time(s)
We failed to reach a server.
Please retry this request at a later time.
URL attempted: oceandata.sci.gsfc.nasa.gov
HTTP Error: 501 - Not Implemented
* ERROR: The download failed with status code: 501
* Please check your network connection and for the existence of the remote file:
* oceandata.sci.gsfc.nasa.gov/Ancillary/LUTs/modis/leapsec.dat

Ana

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1470
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 5 times

Connection time out

by OB.DAAC - SeanBailey » Wed Jan 18, 2017 11:47 am America/New_York

Ana,

To rule out a transient network issue, could you try again and let me know if you get the same failure?

Sean

ana_dogliotti
Posts: 28
Joined: Mon Sep 12, 2005 1:16 pm America/New_York
Answers: 0

Connection time out

by ana_dogliotti » Wed Jan 18, 2017 1:11 pm America/New_York

Yes, still the same error... it's strange because the error appears immediately, not after 10 sec of the timeout...

Ana

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1470
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 5 times

Connection time out

by OB.DAAC - SeanBailey » Thu Jan 19, 2017 7:39 pm America/New_York

Hmmm...
well, we may have to resurrect our proxy set up to try to debug this, which means it may be a while before I can be of any help...

Sean

Post Reply