ibmresilient / resilient-community-apps

Source code for IBM SOAR Apps that are available on our App Exchange
https://ibm.biz/soar-apps-docs
MIT License
91 stars 95 forks source link

'sn_host' is mandatory and is not set in app.config file #57

Closed anotherancientalien closed 4 years ago

anotherancientalien commented 4 years ago

Hi,

I have installed snow app for resilient. When I trigger a workflow I have this error:

'sn_host' is mandatory and is not set in app.config file.

But with selftest, there isn't any error e-about sn host:

  ---------
 Current Configs in app.config file::
 ---------
 sn_host: https://xxxx
 sn_username: snow_resilient
 sn_table_name: incident
 sn_api_uri: /api/now/table

Also I wonder that is there anyway to disable ssl verify for this app.

Other warnings::

resilient-circuits selftest -l fn-service-now
fn-service-now:
/home/apidev/miniconda3/envs/resilient/lib/python3.8/site-packages/fn_service_now/util/resilient_helper.py:450: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if method is "GET":
/home/apidev/miniconda3/envs/resilient/lib/python3.8/site-packages/fn_service_now/util/resilient_helper.py:455: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif method is "POST":
/home/apidev/miniconda3/envs/resilient/lib/python3.8/site-packages/fn_service_now/util/resilient_helper.py:460: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif method is "PATCH":
self.get_config_option <bound method ResilientHelper.get_config_option of <fn_service_now.util.resilient_helper.ResilientHelper object at 0x7ff344b4d910>>
sj-curtin commented 4 years ago

Hi @PyCrafts,

Looks like you're using Python 3.8 which unfortunatly we do not support.

We recommend using Python v3.6

anotherancientalien commented 4 years ago

Hi @sjcurtinibm ,

Seems that after restarting the resilient_circuits service the error disappeared.

Cheers