Problems with logging in and import to Pavlovia

I’ve got an internal error in PsychoPy while trying to import my experiment to Pavlovia and in says that I’m not logged in Pavlovia but I am.

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connectionpool.py”, line 696, in urlopen
self._prepare_proxy(conn)
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connectionpool.py”, line 964, in _prepare_proxy
conn.connect()
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connection.py”, line 364, in connect
conn = self._connect_tls_proxy(hostname, conn)
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connection.py”, line 501, in connect_tls_proxy
socket = ssl_wrap_socket(
File "C:\Program Files\PsychoPy\lib\site-packages\urllib3\util\ssl
.py", line 453, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "C:\Program Files\PsychoPy\lib\site-packages\urllib3\util\ssl
.py", line 495, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock)
File “C:\Program Files\PsychoPy\lib\ssl.py”, line 500, in wrap_socket
return self.sslsocket_class._create(
File “C:\Program Files\PsychoPy\lib\ssl.py”, line 1040, in _create
self.do_handshake()
File “C:\Program Files\PsychoPy\lib\ssl.py”, line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1131)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\requests\adapters.py”, line 439, in send
resp = conn.urlopen(
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\connectionpool.py”, line 755, in urlopen
retries = retries.increment(
File “C:\Program Files\PsychoPy\lib\site-packages\urllib3\util\retry.py”, line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘gitlab.pavlovia.org’, port=443): Max retries exceeded with url: /api/v4/user (Caused by SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1131)’)))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 1458, in onPavloviaRun
self.onPavloviaSync()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 1452, in onPavloviaSync
pavlovia_ui.syncProject(parent=self, file=self.filename, project=self.project)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 1524, in project
return pavlovia.getProject(self.filename)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1388, in getProject
login(nameSpace, rememberMe=True)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 110, in login
currentSession.setToken(token)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 399, in setToken
self.startSession(token)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 425, in startSession
self.gitlab.auth()
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\client.py”, line 257, in auth
self.user = self._objects.CurrentUserManager(self).get()
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\exceptions.py”, line 304, in wrapped_f
return f(*args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\mixins.py”, line 146, in get
server_data = self.gitlab.http_get(self.path, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\client.py”, line 662, in http_get
result = self.http_request(
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\client.py”, line 594, in http_request
result = self.session.send(prepped, timeout=timeout, **settings)
File “C:\Program Files\PsychoPy\lib\site-packages\requests\sessions.py”, line 655, in send
r = adapter.send(request, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\requests\adapters.py”, line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘gitlab.pavlovia.org’, port=443): Max retries exceeded with url: /api/v4/user (Caused by SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1131)’)))

Are you using a proxy?

Searching for your error on the forum came up with this suggestion.

I tried but it didn’t help

Hi Kay,

Have you managed to resolve your issue?

I also suspect this is to do with proxy settings but I’m trying to track down further information in order to provide better error messages to future users. Could you tell me more about your institution proxy set up so I can help debug? I can jump on a zoom/meet call if needed

thanks
Jon