OpenAttack icon indicating copy to clipboard operation
OpenAttack copied to clipboard

demo.py error

Open xuechen-zed opened this issue 2 years ago • 5 comments

is this URL "https://data.thunlp.org/" unavailable?

xuechen-zed avatar Mar 09 '23 12:03 xuechen-zed

same

LiuXiaozeeee avatar Mar 14 '23 14:03 LiuXiaozeeee

same here

ruiyeNLP avatar Apr 09 '23 09:04 ruiyeNLP

import ssl ssl._create_default_https_context = ssl._create_unverified_context

serena-li avatar Apr 11 '23 03:04 serena-li

import ssl ssl._create_default_https_context = ssl._create_unverified_context

That works! It seems like the SSL certificate of https://data.thunlp.org/ is expired, so disabling SSL verification will work.

Xinyu-Li-123 avatar Apr 15 '23 01:04 Xinyu-Li-123

import ssl ssl._create_default_https_context = ssl._create_unverified_context

That works!

CSLiJT avatar Mar 01 '24 09:03 CSLiJT