@shreyansh below is error of post using webhook.
Plz let me know that how to disable/false ssl verification on request url.
{âmethod_nameâ: âfrappe.integrations.doctype.webhook.webhook.enqueue_webhookâ, âlogâ: <function log at 0x7ffab7feb7b8>, âretryâ: 0, âis_asyncâ: True, âuserâ: âAdministratorâ, âkwargsâ: {âdocâ: <erpnext.accounts.doctype.sales_invoice.sales_invoice.SalesInvoice object at 0x7ffab846e5c0>, âwebhookâ: {ânameâ: âHOOK-0001â, âconditionâ: ââ, âwebhook_doceventâ: âon_submitâ, âwebhook_doctypeâ: âSales Invoiceâ}}, âjob_nameâ: âfrappe.integrations.doctype.webhook.webhook.enqueue_webhookâ, âeventâ: None, âmethodâ: <function enqueue_webhook at 0x7ffab79d6488>, âsiteâ: âsite1.localâ}
Traceback (most recent call last):
File â/home/frappe/frappe-bench/env/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.pyâ, line 485, in wrap_socket
cnx.do_handshake()
File â/home/frappe/frappe-bench/env/lib/python3.6/site-packages/OpenSSL/SSL.pyâ, line 1915, in do_handshake
self._raise_ssl_error(self._ssl, result)
File â/home/frappe/frappe-bench/env/lib/python3.6/site-packages/OpenSSL/SSL.pyâ, line 1647, in _raise_ssl_error
_raise_current_error()
File â/home/frappe/frappe-bench/env/lib/python3.6/site-packages/OpenSSL/_util.pyâ, line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [(âSSL routinesâ, âtls_process_server_certificateâ, âcertificate verify failedâ)]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File â/home/frappe/frappe-bench/env/lib/python3.6/site-packages/urllib3/connectionpool.pyâ, line 672, in urlopen
chunked=chunked,
File â/home/frappe/frappe-bench/env/lib/python3.6/site-packages/urllib3/connectionpool.pyâ, line 376, in _make_request
self._validate_conn(conn)
File â/home/frappe/frappe-bench/env/lib/python3.6/site-packages/urllib3/connectionpool.pyâ, line 994, in validate_conn
conn.connect()
File â/home/frappe/frappe-bench/env/lib/python3.6/site-packages/urllib3/connection.pyâ, line 394, in connect
ssl_context=context,
File "/home/frappe/frappe-bench/env/lib/python3.6/site-packages/urllib3/util/ssl.py", line 370, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File â/home/frappe/frappe-bench/env/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.pyâ, line 491, in wrap_socket
raise ssl.SSLError(âbad handshake: %râ % e)
ssl.SSLError: (âbad handshake: Error([(âSSL routinesâ, âtls_process_server_certificateâ, âcertificate verify failedâ)],)â,)