Injecting configuration and compiling...
Injecting scraper and running...
[Doctors Scraper] 
[2017-11-01 15:02:01] Started Scraper.
[Doctors Scraper] 
[2017-11-01 15:02:01] Started Scraper.
[Doctors Scraper] 
[2017-11-01 15:02:01] Started Scraper.
[Doctors Scraper] 
[2017-11-01 15:02:01] Started Scraper.
[2017-11-01 15:09:19] Archived: Data has been updated.
[31m[2017-11-01 15:09:19]
- ERROR: elasticsearch_delete_docs() 
- SOURCE: DoctorsScraper 
- MESSAGE: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249b221610>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249b221610>: Failed to establish a new connection: [Errno 111] Connection refused)[0m
[31m[2017-11-01 15:09:19]
- ERROR: elasticsearch_index() 
- SOURCE: DoctorsScraper 
- MESSAGE: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249b221a90>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249b221a90>: Failed to establish a new connection: [Errno 111] Connection refused)[0m
[2017-11-01 15:09:19] Scraper completed. 7680 documents retrieved.
[Foreign Doctors Scraper] 
[2017-11-01 15:09:19] Started Scraper.
[2017-11-01 15:09:19] Archived: Data has been updated.
[31m[2017-11-01 15:09:19]
- ERROR: elasticsearch_delete_docs() 
- SOURCE: DoctorsScraper 
- MESSAGE: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249b221610>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249b221610>: Failed to establish a new connection: [Errno 111] Connection refused)[0m
[31m[2017-11-01 15:09:19]
- ERROR: elasticsearch_index() 
- SOURCE: DoctorsScraper 
- MESSAGE: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249b221a90>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249b221a90>: Failed to establish a new connection: [Errno 111] Connection refused)[0m
[2017-11-01 15:09:19] Scraper completed. 7680 documents retrieved.
[Foreign Doctors Scraper] 
[2017-11-01 15:09:19] Started Scraper.
[2017-11-01 15:10:45] Archived: Data has been updated.
[31m[2017-11-01 15:10:45]
- ERROR: elasticsearch_delete_docs() 
- SOURCE: ForeignDoctorsScraper 
- MESSAGE: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249a8ab310>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249a8ab310>: Failed to establish a new connection: [Errno 111] Connection refused)[0m
[31m[2017-11-01 15:10:45]
- ERROR: elasticsearch_index() 
- SOURCE: ForeignDoctorsScraper 
- MESSAGE: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249a8ab510>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f249a8ab510>: Failed to establish a new connection: [Errno 111] Connection refused)[0m
[2017-11-01 15:10:45] Scraper completed. 1680 documents retrieved.
[Clinical Officers Scraper] 
[2017-11-01 15:10:45] Started Scraper.
[31m[2017-11-01 15:10:47]
- ERROR: scrape_page() 
- SOURCE: http://clinicalofficerscouncil.org/online-services/retention/?currpage=1 
- MESSAGE: time data '05-01-89 00:00' does not match format '%d-%m-%Y'[0m
Traceback (most recent call last):
  File "scraper.py", line 40, in <module>
    clinical_officers_result = clinical_officers_scraper.run_scraper()
  File "/app/healthtools/scrapers/base_scraper.py", line 78, in run_scraper
    self.scrape_site()
  File "/app/healthtools/scrapers/base_scraper.py", line 104, in scrape_site
    results, results_es = self.scrape_page(url, 5)
TypeError: 'NoneType' object is not iterable