Project

General

Profile

Bug #1908

AttributeError: WebServer instance has no attribute 'socket'

Added by Luke Murphey over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
07/01/2017
Due date:
% Done:

100%


Description

Traceback (most recent call last):
  File "/opt/splunk/etc/apps/webhooks_input/bin/webhooks_input_app/modular_input.py", line 1328, in execute
    self.do_run(in_stream, log_exception_and_continue=True)
  File "/opt/splunk/etc/apps/webhooks_input/bin/webhooks_input_app/modular_input.py", line 1216, in do_run
    self.do_shutdown()
  File "/opt/splunk/etc/apps/webhooks_input/bin/webhook.py", line 191, in do_shutdown
    httpd.socket.close()
AttributeError: WebServer instance has no attribute 'socket'

Associated revisions

Revision 41 (diff)
Added by luke.murphey over 7 years ago

Checking to make sure the server has a socket before closing it

Reference #1908

History

#1 Updated by Luke Murphey over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF