This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

โš ๏ธ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use ๐Ÿ”— Github Discussions to ask your questions.

Insecure request warning - python 3 action

when I run an action through a workflow it is run by stanley user. I always see insecurerequestwarning in the stderr. Is there a way in python3 to disable this warning since stanley is connecting to localhost?

  InsecureRequestWarning,```

I was able to disable them in my custom action by adding the following:

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

The other option is to use the host name in the valid certificate I installed, but since it is localhost I donโ€™t really have concerns about ssl

Yep, that should do it.

And for the CLI (st2client), you can achieve the same thing by setting general.silence_ssl_warnings = True config option in ~/st2/config.

1 Like