# Bugs report (Error about copy and paste)

**URL:** <https://forums.ankiweb.net/t/bugs-report-error-about-copy-and-paste/16919>\
**Category:** Add-ons\
**Created:** [January 22, 2022, 3:52am UTC](https://forums.ankiweb.net/t/bugs-report-error-about-copy-and-paste/16919 "2022-01-22T03:52:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ihou6](https://avatars.discourse-cdn.com/v4/letter/i/7993a0/32.png) [@ihou6](https://forums.ankiweb.net/u/ihou6)\
**Post date:** [January 22, 2022, 3:52am UTC](https://forums.ankiweb.net/t/bugs-report-error-about-copy-and-paste/16919/1 "2022-01-22T03:52:24Z")

</div>

When I need to copy some information with image directly （just by ctrl + C /V ）from the website， it shows me that something error was happened. I have red the information about error and check the database， turn off the plug-in to solve the problem， but it failed. Here’s the information about the feedback of error.

Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2  
Platform: Windows 10  
Flags: frz=True ao=False sv=2  
Add-ons, last update check: 2022-01-22 10:51:37

Caught exception:  
Traceback (most recent call last):  
File “aqt\webview.py”, line 41, in cmd  
File “aqt\webview.py”, line 142, in \_onCmd  
File “aqt\webview.py”, line 595, in \_onBridgeCmd  
File “aqt\editor.py”, line 438, in onBridgeCmd  
File “aqt\editor.py”, line 882, in onPaste  
File “aqt\editor.py”, line 1137, in onPaste  
File “aqt\editor.py”, line 1134, in \_onPaste  
File “aqt\editor.py”, line 865, in doPaste  
File “aqt\editor.py”, line 854, in \_pastePreFilter  
File “aqt\editor.py”, line 789, in \_retrieveURL  
File “anki\httpclient.py”, line 64, in get  
File “requests\sessions.py”, line 555, in get  
File “requests\sessions.py”, line 542, in request  
File “requests\sessions.py”, line 655, in send  
File “requests\adapters.py”, line 439, in send  
File “urllib3\connectionpool.py”, line 696, in urlopen  
File “urllib3\connectionpool.py”, line 964, in _prepare\_proxy  
File “urllib3\connection.py”, line 359, in connect  
File “urllib3\connection.py”, line 500, in connect\_tls\_proxy  
File "urllib3\util\ssl.py", line 453, in ssl\_wrap\_socket  
File "urllib3\util\ssl_.py", line 495, in \_ssl\_wrap\_socket\_impl  
File “ssl.py”, line 500, in wrap\_socket  
File “ssl.py”, line 997, in \_create  
ValueError: check\_hostname requires server\_hostname

Could you tell me what should I do with it? Thanks you!

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [January 22, 2022, 9:34am UTC](https://forums.ankiweb.net/t/bugs-report-error-about-copy-and-paste/16919/2 "2022-01-22T09:34:13Z")

</div>

> [@Help me with this Error](https://forums.ankiweb.net/t/help-me-with-this-error/16081/2):
>
> It looks like it may be caused by the way your proxy is set: [python - Why requests raise this exception "check\_hostname requires server\_hostname"? - Stack Overflow](https://stackoverflow.com/questions/66642705/why-requests-raise-this-exception-check-hostname-requires-server-hostname)

---

<div class="post-metadata">

**Author:** ![ihou6](https://avatars.discourse-cdn.com/v4/letter/i/7993a0/32.png) [@ihou6](https://forums.ankiweb.net/u/ihou6)\
**Post date:** [January 22, 2022, 5:41pm UTC](https://forums.ankiweb.net/t/bugs-report-error-about-copy-and-paste/16919/3 "2022-01-22T17:41:59Z")

</div>

OH，YES ! It really works. After changing my proxy and I can use the functions of copy/paste like before！

Thank you very much!
