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 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>
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
> 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
> For list information, to unsubscribe, or change your membership options,
> visit: http://www.unidata.ucar.edu/mailing_lists/
>
  • 2018 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the python-users archives: