IBM Security SOAR

Expand all | Collapse all

APP installation error resilient.co3base.BasicHTTPException: Unauthorized:

  • 1.  APP installation error resilient.co3base.BasicHTTPException: Unauthorized:

    Posted 26 days ago
    Hello,

    I have trouble to install app fn_component.
    i install and deploy app but when i get the logs i have this:

    2021-09-21 08:04:22,353 INFO [filelock] Lock 140448204807920 released on /opt/app-root/src/.resilient/resilient_circuits_lockfile
    Traceback (most recent call last):
    File "/opt/app-root/bin/resilient-circuits", line 8, in <module>
    sys.exit(main())
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/bin/resilient_circuits_cmd.py", line 484, in main
    config_file=args.config_file)
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/bin/resilient_circuits_cmd.py", line 90, in run
    app.run(**kwargs)
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/app.py", line 390, in run
    application = App(*args, **kwargs)
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/app.py", line 229, in __init__
    self.do_initialization()
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/app.py", line 261, in do_initialization
    self.action_component = Actions(self.opts)
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/actions_component.py", line 275, in __init__
    super(Actions, self).__init__(opts)
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/actions_component.py", line 103, in __init__
    self._get_fields(fn_names=self.fn_names)
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/actions_component.py", line 152, in _get_fields
    client = self.rest_client()
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/actions_component.py", line 177, in rest_client
    return get_resilient_client(self.opts)
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/rest_helper.py", line 47, in wrapper
    return func(opts)
    File "/opt/app-root/lib/python3.6/site-packages/resilient_circuits/rest_helper.py", line 90, in get_resilient_client
    resilient_client = resilient.get_client(opts)
    File "/opt/app-root/lib/python3.6/site-packages/resilient/co3.py", line 164, in get_client
    api_key_secret=opts["api_key_secret"])
    File "/opt/app-root/lib/python3.6/site-packages/resilient/co3base.py", line 162, in set_api_key
    BasicHTTPException.raise_if_error(response)
    File "/opt/app-root/lib/python3.6/site-packages/resilient/co3base.py", line 62, in raise_if_error
    raise BasicHTTPException(response)
    resilient.co3base.BasicHTTPException: Unauthorized:

    Anyone know how to solve this ?


    ------------------------------
    romain calvet
    ------------------------------


  • 2.  RE: APP installation error resilient.co3base.BasicHTTPException: Unauthorized:

    Posted 26 days ago
    Very strange : Unauthorized
    Possibilities are:
    - Api Key not authorized : check / reset the Api Key and verify it is the right one on the app.config of the app , and on the message for fn_components
    - the IP of the App Host is banned? See support note : The IBM Resilient IP Ban Safety Mechanism Explained

    ------------------------------
    BENOIT ROSTAGNI
    ------------------------------