down, and e-mails not recorded

Stephen Rothwell sfr at
Wed Mar 21 09:56:25 AEDT 2018

Hi Jeff,

On Tue, 20 Mar 2018 15:28:46 -0700 Jeff Kirsher <jeffrey.t.kirsher at> wrote:
> Thanks and so far it looks like it is fixed, I will continue to
> monitor it though.  I did notice pwclient throwing some errors, such
> as:
> Traceback (most recent call last):
>   File "/home/jtkirshe/bin/pwclient", line 827, in <module>
>     main()
>   File "/home/jtkirshe/bin/pwclient", line 780, in main
>     action_get(rpc, patch_id)
>   File "/home/jtkirshe/bin/pwclient", line 300, in action_get
>     patch = rpc.patch_get(patch_id)
>   File "/usr/lib64/python2.7/", line 1243, in __call__
>     return self.__send(self.__name, args)
>   File "/usr/lib64/python2.7/", line 1602, in __request
>     verbose=self.__verbose
>   File "/usr/lib64/python2.7/", line 1283, in request
>     return self.single_request(host, handler, request_body, verbose)
>   File "/usr/lib64/python2.7/", line 1311, in single_request
>     self.send_content(h, request_body)
>   File "/usr/lib64/python2.7/", line 1459, in send_content
>     connection.endheaders(request_body)
>   File "/usr/lib64/python2.7/", line 1038, in endheaders
>     self._send_output(message_body)
>   File "/usr/lib64/python2.7/", line 882, in _send_output
>     self.send(msg)
>   File "/usr/lib64/python2.7/", line 844, in send
>     self.connect()
>   File "/usr/lib64/python2.7/", line 821, in connect
>     self.timeout, self.source_address)
>   File "/usr/lib64/python2.7/", line 575, in create_connection
>     raise err
> socket.error: [Errno 111] Connection refused

This looks like what would happen if you tried to use pwclient when our
web server was down.  This happens every now and then for very short
periods of time when we do updates to various things (including
libraries that the web server itself depends on).

Do the developers:  maybe it is worth catching this error in particular
and giving some reasonable message (or, optionally,trying again after a
short wait - or both).
Stephen Rothwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Patchwork mailing list