# Couldn't connect to psychopy.org - first Psychopy use

**URL:** <https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604>\
**Category:** Builder\
**Created:** [January 23, 2025, 10:26am UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604 "2025-01-23T10:26:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![IRIO](https://avatars.discourse-cdn.com/v4/letter/i/c5a1d2/32.png) [@IRIO](https://discourse.psychopy.org/u/IRIO)\
**Post date:** [January 23, 2025, 10:26am UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604/1 "2025-01-23T10:26:37Z")

</div>

**OS** : win10  
**PsychoPy version** : v2024.2.4  
\*\*Standard Standalone? \*\* : yes  
**What are you trying to achieve?:** I am a first time user and am trying to run demos and simple scripts to understand how Psychopy works.

**What did you try to make it work?:** I tried to run the colors.py demos in the Coder section but I received the following error message (my computer is connected to the internet so I don’t understand what went wrong):  
522.7231 WARNING Couldn’t connect to [psychopy.org](http://psychopy.org)  
Check internet settings (and proxy setting in PsychoPy Preferences.

## Running: C:\Program Files\PsychoPy\lib\site-packages\psychopy\demos\coder\understanding psychopy\colors.py

The experiment then ended with this:  
File “C:\Program Files\PsychoPy\lib\site-packages\requests\adapters.py”, line 698, in send  
raise SSLError(e, request=request)  
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘[fonts.googleapis.com](http://fonts.googleapis.com)’, port=443): Max retries exceeded with url: /css2?family=Helvetica+Bold&display=swap (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: unable to get local issuer certificate (\_ssl.c:1007)’)))  
36.0793 WARNING Monitor specification not found. Creating a temporary one…  
################# Experiment ended with exit code 1 [pid:9572] #################

I simply downloaded Psychopy and installed it, is there anything else that need to be set up before running experiments?

After this I tried to run a simple routine following a youtube video, but again I get an error message:  
Generating PsychoPy script…

## Running: H:\PROJECTS\_GIT\MA\verbal\_memory\_task\Psychopy\test1\test1\_lastrun.py

4294.0399 INFO Loaded monitor calibration from [‘2025\_01\_23 09:53’]  
4294.0736 INFO Loaded monitor calibration from [‘2025\_01\_23 09:53’]  
Traceback (most recent call last):  
File “H:\PROJECTS\_GIT\MA\verbal\_memory\_task\Psychopy\test1\test1\_lastrun.py”, line 976, in   
win = setupWindow(expInfo=expInfo)  
File “H:\PROJECTS\_GIT\MA\verbal\_memory\_task\Psychopy\test1\test1\_lastrun.py”, line 194, in setupWindow  
win = visual.Window(  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 433, in **init**  
self.setColor(color, colorSpace=colorSpace, log=False)  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 2929, in setColor  
self.color = color  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 2911, in color  
self.\_color = Color(value, self.colorSpace)  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\colors.py”, line 272, in **init**  
self.set(color=color, space=space)  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\colors.py”, line 370, in set  
setattr(self, space, color)  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\colors.py”, line 766, in hex  
color = color.strip(‘#’)  
AttributeError: ‘numpy.int32’ object has no attribute ‘strip’  
Exception ignored in: \<function Window. **del** at 0x000002AE598E7D90\>  
Traceback (most recent call last):  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 665, in **del**  
self.close()  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 2657, in close  
self.backend.close() # moved here, dereferencing the window prevents  
AttributeError: ‘NoneType’ object has no attribute ‘close’  
################# Experiment ended with exit code 1 [pid:2008] #################

---

<div class="post-metadata">

**Author:** ![IRIO](https://avatars.discourse-cdn.com/v4/letter/i/c5a1d2/32.png) [@IRIO](https://discourse.psychopy.org/u/IRIO)\
**Post date:** [January 23, 2025, 1:01pm UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604/2 "2025-01-23T13:01:35Z")

</div>

As I am working on a hospital computer, where there are special restrictions for security reasons, could this be due to the presence of firewalls or other inaccessibility issues?

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [January 23, 2025, 1:09pm UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604/3 "2025-01-23T13:09:24Z")

</div>

Presumably you had sufficient admin rights to install PsychoPy in the first place.

Is it a Mac or a PC?

Have a look at section on testing the installation on my Primer slides here:

> **[PsychoPy Primer 2024](https://docs.google.com/presentation/d/1T66SmoiNKaDG0MjFdbnrVXE7cJYMDwldvjWVBmNPiGY/edit?usp=sharing)**
>
> PsychoPy Primer 2024 Wakefield Morys-Carter tinyurl.com/ psychopy2024

---

<div class="post-metadata">

**Author:** ![IRIO](https://avatars.discourse-cdn.com/v4/letter/i/c5a1d2/32.png) [@IRIO](https://discourse.psychopy.org/u/IRIO)\
**Post date:** [January 23, 2025, 1:29pm UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604/4 "2025-01-23T13:29:43Z")

</div>

Yes, indeed, I have admin rights and the installation went well.  
I am working on a computer, not a Mac. I have done the steps in the primer and everything works, but when I run the code I get the error.

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [January 23, 2025, 1:43pm UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604/5 "2025-01-23T13:43:06Z")

</div>

What error message do you get for a Builder experiment with just a text component and a keyboard component?

At what point does it crash?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/a/9/a994553c89ff0fac57e4c00bb5d9a645fdc8948e.png)

---

<div class="post-metadata">

**Author:** ![IRIO](https://avatars.discourse-cdn.com/v4/letter/i/c5a1d2/32.png) [@IRIO](https://discourse.psychopy.org/u/IRIO)\
**Post date:** [January 23, 2025, 4:19pm UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604/6 "2025-01-23T16:19:10Z")

</div>

I dont’ know what happened but I opened a new file and followed the instructions in the primer and worked. It still says that it can’t connect to Psychotoolbox though, but at least now I can run a script.

WARNING Couldn’t connect to [psychopy.org](http://psychopy.org)  
Check internet settings (and proxy setting in PsychoPy Preferences.

Thanks and sorry for the disturb

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [January 23, 2025, 4:24pm UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604/7 "2025-01-23T16:24:19Z")

</div>

Do you have a Pavlovia account? You probably haven’t signed into it from Builder yet.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/3/b/3b4e1ca0f091dfb6fc03a47587570a2b260243fe.png)

---

<div class="post-metadata">

**Author:** ![IRIO](https://avatars.discourse-cdn.com/v4/letter/i/c5a1d2/32.png) [@IRIO](https://discourse.psychopy.org/u/IRIO)\
**Post date:** [January 23, 2025, 4:39pm UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604/8 "2025-01-23T16:39:30Z")

</div>

I made one earlier and when I try to sign in from Builder it gives me this error, which I think is linked to the fact that I haven’t added the SSH key yet:  
Traceback (most recent call last):  
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connectionpool.py”, line 466, in \_make\_request  
self.\_validate\_conn(conn)  
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connectionpool.py”, line 1095, in \_validate\_conn  
conn.connect()  
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connection.py”, line 730, in connect  
sock\_and\_verified = \_ssl\_wrap\_socket\_and\_match\_hostname(  
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connection.py”, line 909, in _ssl\_wrap\_socket\_and\_match\_hostname  
ssl\_sock = ssl\_wrap\_socket(  
File "C:\Program Files\PsychoPy\lib\site-packages\urllib3\util\ssl_.py", line 469, in ssl\_wrap\_socket  
ssl\_sock = _ssl\_wrap\_socket\_impl(sock, context, tls\_in\_tls, server\_hostname)  
File "C:\Program Files\PsychoPy\lib\site-packages\urllib3\util\ssl_.py", line 513, in \_ssl\_wrap\_socket\_impl  
return ssl\_context.wrap\_socket(sock, server\_hostname=server\_hostname)  
File “C:\Program Files\PsychoPy\lib\ssl.py”, line 513, in wrap\_socket  
return self.sslsocket\_class.\_create(  
File “C:\Program Files\PsychoPy\lib\ssl.py”, line 1071, in \_create  
self.do\_handshake()  
File “C:\Program Files\PsychoPy\lib\ssl.py”, line 1342, in do\_handshake  
self.\_sslobj.do\_handshake()  
ssl.SSLCertVerificationError: [SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: unable to get local issuer certificate (\_ssl.c:1007)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connectionpool.py”, line 789, in urlopen  
response = self.\_make\_request(  
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connectionpool.py”, line 490, in \_make\_request  
raise new\_e  
urllib3.exceptions.SSLError: [SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: unable to get local issuer certificate (\_ssl.c:1007)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):  
File “C:\Program Files\PsychoPy\lib\site-packages\requests\adapters.py”, line 667, in send  
resp = conn.urlopen(  
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connectionpool.py”, line 843, in urlopen  
retries = retries.increment(  
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\util\retry.py”, line 519, in increment  
raise MaxRetryError(\_pool, url, reason) from reason # type: ignore[arg-type]  
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘[gitlab.pavlovia.org](http://gitlab.pavlovia.org)’, port=443): Max retries exceeded with url: /oauth/token?client\_id=944b87ee0e6b4f510881d6f6bc082f64c7bba17d305efdb829e6e0e7ed466b34&code=d8766cb31724a0ac331a793a6c57b0c5b7bb1736c3434fc177071b2eb8b5f47b&grant\_type=authorization\_code&redirect\_uri=https%3A%2F%[2Fgitlab.pavlovia.org](http://2Fgitlab.pavlovia.org)%2F&code\_verifier=cNc8LRWhe0-IVXqI3pgudsDtw094CbZP9U\_kF~A4VEJnvdkoX12.IEvWDoTzP-Nos4Dx4l.QYa3udvcB0vgCo-CTEh5PmaRGmeqO~-RHX0O (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: unable to get local issuer certificate (\_ssl.c:1007)’)))

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [January 23, 2025, 4:52pm UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604/9 "2025-01-23T16:52:36Z")

</div>

Are you connecting via a proxy server?

> [@SSLCertVerificationError](https://discourse.psychopy.org/t/sslcertverificationerror/30144):
>
> URL of experiment: Traceback (most recent call last): File “urllib3/connectionpool.pyc”, line 699, in urlopen File “urllib3/connectionpool.pyc”, line 382, in make\_request File “urllib3/connectionpool.pyc”, line 1010, in validate\_conn File “urllib3/connection.pyc”, line 411, in connect File “urllib3/util/ssl.pyc”, line 428, in ssl\_wrap\_socket File “urllib3/util/ssl.pyc”, line 472, in \_ssl\_wrap\_socket\_impl File “ssl.pyc”, line 500, in wrap\_socket File “ssl.pyc”, line 1040, in \_create Fil…

---

<div class="post-metadata">

**Author:** ![IRIO](https://avatars.discourse-cdn.com/v4/letter/i/c5a1d2/32.png) [@IRIO](https://discourse.psychopy.org/u/IRIO)\
**Post date:** [January 24, 2025, 10:13am UTC](https://discourse.psychopy.org/t/couldnt-connect-to-psychopy-org-first-psychopy-use/43604/10 "2025-01-24T10:13:14Z")

</div>

Yes, indeed. I will ask if the IT department can make an exception for Psychopy, otherwise I’ll try to install it on my personal laptop. Thank you!
