NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

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

I have a Python program based on the example at 
https://python-awips.readthedocs.io/en/latest/examples/generated/AWIPS_Grids_and_Cartopy.html
 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
  • 2018 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the python-users archives: