Skip to content

这个错误是什么原因了?ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) #29

@swq499809608

Description

@swq499809608

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)
2025-10-19 15:35:46.489 | INFO | dingtalk_stream.stream:open_connection:149 - open connection, url=https://api.dingtalk.com/v1.0/gateway/connections/open
2025-10-19 15:35:46.490 | INFO | dingtalk_stream.stream:open_connection:149 - open connection, url=https://api.dingtalk.com/v1.0/gateway/connections/open
2025-10-19 15:35:46.575 | INFO | dingtalk_stream.stream:start:71 - endpoint is %s
2025-10-19 15:35:46.583 | INFO | dingtalk_stream.stream:start:71 - endpoint is %s
^C^CTraceback (most recent call last):
File "/a-one/app/dingtalk/app.py", line 58, in run
future.result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 453, in result
self._condition.wait(timeout)
File "/usr/local/lib/python3.10/threading.py", line 320, in wait
waiter.acquire()
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/a-one/app/dingtalk/app.py", line 62, in
run()
File "/a-one/app/dingtalk/app.py", line 34, in run
with ThreadPoolExecutor(max_workers=max_workers_num) as executor:
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 649, in exit
self.shutdown(wait=True)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 235, in shutdown
t.join()
File "/usr/local/lib/python3.10/threading.py", line 1096, in join
self._wait_for_tstate_lock()
File "/usr/local/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
if lock.acquire(block, timeout):
KeyboardInterrupt
2025-10-19 15:35:49.607 | ERROR | dingtalk_stream.stream:start:89 - unknown exception
Traceback (most recent call last):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions