Rokoko / rokoko-studio-live-blender

Rokoko Studio Live plugin for Blender
GNU Lesser General Public License v3.0
326 stars 38 forks source link

Unable to launch browser for sign-in #115

Open cbscribe opened 1 month ago

cbscribe commented 1 month ago

After installing plugin version 1.4.1, clicking the sign-in button reports "No internet connection". Macbook Air M1, MacOS 14.4

I launched blender in Terminal, and it looks like it's because I'm behind a corporate firewall, as the following exception appears:

with url: /graphql (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)')))

Is there anything I can do about this? I'm trying to set up some of my students to do some mocap work.

Full log follows:

Read prefs: "/Users/user/Library/Application Support/Blender/4.0/config/userpref.blend"

### Loading Rokoko Studio Live for Blender...
LOADED UPDATER!
Custom bone list not found.
Custom name list file is not a valid name list file
### Loaded Rokoko Studio Live for Blender successfully!

Checking for Rokoko Studio Live update...
No update found.
Info: Opened Rokoko ID website in your browser.

Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
    conn.connect()
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/urllib3/connection.py", line 416, in connect
    self.sock = ssl_wrap_socket(
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/ssl.py", line 513, in wrap_socket
    return self.sslsocket_class._create(
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/ssl.py", line 1104, in _create
    self.do_handshake()
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/ssl.py", line 1375, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/requests/adapters.py", line 440, in send
    resp = conn.urlopen(
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/urllib3/connectionpool.py", line 785, in urlopen
    retries = retries.increment(
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='rmp-gql-public.rokoko.com', port=443): Max retries exceeded with url: /graphql (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/user/Library/Application Support/Blender/4.0/scripts/addons/rokoko-studio-live-blender-master/core/login_manager.py", line 109, in _get_request_id
    request = requests.post(self.url, json={'query': query}, headers=headers)
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/Applications/Blender.app/Contents/Resources/4.0/python/lib/python3.10/site-packages/requests/adapters.py", line 517, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rmp-gql-public.rokoko.com', port=443): Max retries exceeded with url: /graphql (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/user/Library/Application Support/Blender/4.0/scripts/addons/rokoko-studio-live-blender-master/core/login_manager.py", line 68, in _start_async
    self._get_request_id()
  File "/Users/user/Library/Application Support/Blender/4.0/scripts/addons/rokoko-studio-live-blender-master/core/login_manager.py", line 112, in _get_request_id
    raise Exception("No connection to the server.")
Exception: No connection to the server.