Menu

#74 sr_post - error message after posting a message

SarraBeta
closed
psilva
None
7
2018-06-02
2017-01-26
Jun Hu
No

sr_post is able to post a message but getting an error message at the end. It looks like it had problem to close the socket or it tried to close a socket that already been closed.
...
2017-01-26 18:32:06,692 [INFO] post_log notice=...
2017-01-26 18:32:06,693 [DEBUG] Published1: xs_...
..
2017-01-26 18:32:06,698 [DEBUG] Closed channel #2
Exception ignored in: <bound method="" ssltransport.__del__="" of="" \<amqplib.client_0_8.transport.ssltransport="" object="" at="" 0x7fb782325a90="">>
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/amqplib/client_0_8/transport.py", line 97, in del
self.close()
File "/usr/local/lib/python3.4/dist-packages/amqplib/client_0_8/transport.py", line 139, in close
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/lib/python3.4/ssl.py", line 807, in shutdown
socket.shutdown(self, how)
OSError: [Errno 107] Transport endpoint is not connected</bound>

Discussion

  • psilva

    psilva - 2017-01-27

    works fine in flow_test, not reproduced yet.
    need to try it out on an SSL one?

     
  • Jun Hu

    Jun Hu - 2017-01-30

    yes it appears that happen only to amqps.

     
  • psilva

    psilva - 2017-02-02

    workaround implemented in repo.... just suppressing the harmless message for now.
    leave it there when in debug mode for now, so we look at it later.

     
  • psilva

    psilva - 2017-04-28
    • Priority: 5 --> 7
     
  • psilva

    psilva - 2017-04-28

    It's just a message, and it's been hidden.

     
  • psilva

    psilva - 2017-04-28
    • assigned_to: psilva
     
  • psilva

    psilva - 2018-06-02
    • status: open --> closed
     
  • psilva

    psilva - 2018-06-02
     

Log in to post a comment.

MongoDB Logo MongoDB