How to bypass SSL verification when using confluence tool? is there any way to force it? The native confluence tool doesnt have any parameter that skips ssl verification. below is my code. please help here
Hey @sirilsam97
thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.If it’s urgent, please let us know. We appreciate your patience!
Wednesday, 9 April
Hi @Monali , Thanks for getting back. Yeah, its urgent. if you have any workaround or temporary solution, that will help us. Thanks
Hi @sirilsam97
I’ll extend the ConfluenceTools
for this in the next release. Thanks for the suggestion!
Hi @Dirk I used below code with agent code and it was able to bypass SSL verification.
import requests
requests.packages.urllib3.disable_warnings(requests.packages.urllib3.exceptions.InsecureRequestWarning)
Here the monkey patch to globally disable SSL verification.
old_request = requests.Session.request
def new_request(self, *args, **kwargs):
kwargs[‘verify’] = False
return old_request(self, *args, **kwargs)
requests.Session.request = new_request
Hi @sirilsam97 that also works.
If you want, you have this option now in release 1.3.2
@Dirk , Yeah I see the changes in github. You guys are really fast. Thanks a lot for your timely response