Re: [python-users] Issue connecting to edex-cloud.unidata.ucar.edu

  • To: Michael James <mjames@xxxxxxxx>
  • Subject: Re: [python-users] Issue connecting to edex-cloud.unidata.ucar.edu
  • From: Steven Decker <sgdecker@xxxxxxxxxxxxxxxxxx>
  • Date: Mon, 16 Apr 2018 14:33:18 +0000
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=sgdecker@xxxxxxxxxxxxxxxxxx;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99
Michael,


I can confirm it is working again on my end.


Thanks,

Steve

________________________________
From: Michael James <mjames@xxxxxxxx>
Sent: Monday, April 16, 2018 10:13:28 AM
To: Steven Decker
Cc: python-users@xxxxxxxxxxxxxxxx
Subject: Re: [python-users] Issue connecting to edex-cloud.unidata.ucar.edu

Hi Steven,

Thanks for letting me know. I restarted the AWIPS EDEX Request instance since 
it was idle and unresponsive for reasons unknown. So 
edex-cloud.unidata.ucar.edu<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fedex-cloud.unidata.ucar.edu&data=02%7C01%7Csgdecker%40envsci.rutgers.edu%7Cec50e4cdc65f4c2510ef08d5a3a43ab7%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C1%7C636594848113264741&sdata=tK5ymHOUSFOxEHcOWIUC79rHcE24GxGyIGu6Hcj%2Fp8w%3D&reserved=0>
 is live again, but there are no log messages to tell why it became locked up.

Michael James
Unidata Program Center
Boulder, CO

On Sun, Apr 15, 2018 at 3:51 PM, Steven Decker 
<sgdecker@xxxxxxxxxxxxxxxxxx<mailto:sgdecker@xxxxxxxxxxxxxxxxxx>> wrote:

I have a Python program based on the example at 
https://python-awips.readthedocs.io/en/latest/examples/generated/AWIPS_Grids_and_Cartopy.html<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpython-awips.readthedocs.io%2Fen%2Flatest%2Fexamples%2Fgenerated%2FAWIPS_Grids_and_Cartopy.html&data=02%7C01%7Csgdecker%40envsci.rutgers.edu%7Cec50e4cdc65f4c2510ef08d5a3a43ab7%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C1%7C636594848113264741&sdata=d2LBCSCRlJmyChdGInBkHoPLpIK4LEeI5ESoaAM4J7E%3D&reserved=0>
 that was working a week ago, but since at least Friday I have been getting the 
following error:

Traceback (most recent call last):
  File "mslp.py", line 20, in <module>
    cycles = DataAccessLayer.getAvailableTimes(request, True)
  File 
"/usr/local/python/3.6/lib/python3.6/site-packages/awips/dataaccess/DataAccessLayer.py",
 line 71, in getAvailableTimes
    return router.getAvailableTimes(request, refTimeOnly)
  File 
"/usr/local/python/3.6/lib/python3.6/site-packages/awips/dataaccess/ThriftClientRouter.py",
 line 57, in getAvailableTimes
    response = self._client.sendRequest(timesRequest)
  File 
"/usr/local/python/3.6/lib/python3.6/site-packages/awips/ThriftClient.py", line 
59, in sendRequest
    response = self.__httpConn.getresponse()
  File "/usr/local/python/3.6/lib/python3.6/http/client.py", line 1331, in 
getresponse
    response.begin()
  File "/usr/local/python/3.6/lib/python3.6/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/local/python/3.6/lib/python3.6/http/client.py", line 258, in 
_read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/local/python/3.6/lib/python3.6/socket.py", line 586, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer


I can ping the server, so I am not sure what has changed to prevent the 
connection. Any ideas?


Thanks,

Steve

_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are
recorded in the Unidata inquiry tracking system and made publicly
available through the web.  Users who post to any of the lists we
maintain are reminded to remove any personal information that they
do not want to be made public.


python-users mailing list
python-users@xxxxxxxxxxxxxxxxxxxxxxxx<mailto:python-users@xxxxxxxxxxxxxxxxxxxxxxxx>
For list information, to unsubscribe, or change your membership options, visit: 
http://www.unidata.ucar.edu/mailing_lists/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.unidata.ucar.edu%2Fmailing_lists%2F&data=02%7C01%7Csgdecker%40envsci.rutgers.edu%7Cec50e4cdc65f4c2510ef08d5a3a43ab7%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C1%7C636594848113264741&sdata=%2BsELpRElYR%2BUO%2BW0JDg17uZ1dpeyqvcoFFKPFjflcnQ%3D&reserved=0>

  • 2018 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the python-users archives: