oneillal / FIMpy

A File Integrity Monitoring application written in Python - NCI Cyber Security HDip Dissertation
2 stars 0 forks source link

Reconnecting to existing db fails intermittently #2

Open oneillal opened 6 years ago

oneillal commented 6 years ago
Found local VCAP_SERVICES
Traceback (most recent call last):
  File "main.py", line 105, in <module>
    db = client.create_database(CONFIG['db_name'], throw_on_exists=False)
  File "/usr/local/lib/python2.7/dist-packages/cloudant/client.py", line 230, in create_database
    new_db.create()
  File "/usr/local/lib/python2.7/dist-packages/cloudant/database.py", line 348, in create
    resp.status_code, self.database_url, resp.text
cloudant.error.CloudantDatabaseException: Invalid database name during creation. Found: https://32c99717-667e-4413-9866-27be7c7eb9be-bluemix.cloudant.com/33e35b349486
oneillal commented 6 years ago

Still happening...seems to only be an issue when starting as a container.