Installing Globus Connect Personal on Ubuntu behind a proxy?

349 views
Skip to first unread message

Julia Gustavsen

unread,
Jun 28, 2022, 10:58:30 AM6/28/22
to Discuss
Hello,
I am looking for help installing Globus Connect Personal on Ubuntu behind a proxy.

I followed the docs here:

I get to the step where I run

./globusconnectpersonal -setup

then get directed to auth.globus.org link where I "allow", I get a Native App Authorization Code which I paste into my terminal 
 
Then I get the following error:

[instance:140513668281344] NetworkError on request
[399033] Failed to execute script 'main' due to unhandled exception!
Traceback (most recent call last):
  File "urllib3/connectionpool.py", line 696, in urlopen
  File "urllib3/connectionpool.py", line 964, in _prepare_proxy
  File "urllib3/connection.py", line 426, in connect
  File "urllib3/util/ssl_.py", line 450, in ssl_wrap_socket
  File "urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
  File "ssl.py", line 365, in wrap_socket
  File "ssl.py", line 776, in __init__
  File "ssl.py", line 1036, in do_handshake
  File "ssl.py", line 648, in do_handshake
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:877)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "requests/adapters.py", line 449, in send
  File "urllib3/connectionpool.py", line 756, in urlopen
  File "urllib3/util/retry.py", line 574, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='auth.globus.org', port=443): Max retries exceeded with url: /v2/oauth2/token (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate
verify failed (_ssl.c:877)'),))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "globus_sdk/base.py", line 467, in send_request
  File "requests/sessions.py", line 542, in request
  File "requests/sessions.py", line 655, in send
  File "requests/adapters.py", line 514, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='auth.globus.org', port=443): Max retries exceeded with url: /v2/oauth2/token (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate veri
fy failed (_ssl.c:877)'),))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "main.py", line 11, in <module>
  File "lib/cli.py", line 194, in main
  File "lib/cli.py", line 117, in cli_endpoint_creation_flow
  File "lib/login.py", line 126, in do_native_app_authentication
  File "lib/login.py", line 189, in _do_native_app_authentication
  File "globus_sdk/auth/client_types/base.py", line 215, in oauth2_exchange_code_for_tokens
  File "globus_sdk/auth/oauth2_native_app.py", line 221, in exchange_code_for_tokens
  File "globus_sdk/auth/client_types/base.py", line 373, in oauth2_token
  File "globus_sdk/base.py", line 267, in post
  File "globus_sdk/base.py", line 474, in _request
  File "globus_sdk/base.py", line 471, in send_request
globus_sdk.exc.GlobusConnectionError: ConnectionError on request

Setup did not complete successfully.

Is there a guide that I can follow to set this up for use on my system? I have an http and ftp proxy.

Thanks, Julia

Michael Link

unread,
Jun 28, 2022, 11:51:58 AM6/28/22
to dis...@globus.org
Hi Julia,

Proxies aren't currently supported, but you may be able to work around
that by using a setup key. You can generate a setup key here:
https://app.globus.org/file-manager/gcp?generate_key

To use that key in the Globus Connect Personal setup dialog, without
clicking "Log In", click the Advanced section of the and choose "I have
a setup key".

This doesn't remove the requirement for other outbound data connections
besides port 443. Any operation of Globus Connect Personal requires the
ability to make outbound connections to the ports noted in the first two
rows of https://docs.globus.org/how-to/configure-firewall-gcp/

Mike

On 6/28/2022 9:58 AM, Julia Gustavsen wrote:
> Hello,
> I am looking for help installing Globus Connect Personal on Ubuntu
> behind a proxy.
>
> I followed the docs here:
> How To Install, Configure, and Uninstall Globus Connect Personal for
> Linux <https://docs.globus.org/how-to/globus-connect-personal-linux/>

Julia Gustavsen

unread,
Jun 29, 2022, 3:12:13 PM6/29/22
to Discuss, ml...@globus.org
Thanks for the reply. Good to know. Unfortunately the setup key did not work (also tried with Windows Globus Connect Personal). 

Cheers, Julia

Michael Link

unread,
Jun 29, 2022, 3:22:28 PM6/29/22
to Discuss, Julia Gustavsen
Sorry to hear that. If you'd like to open a ticket at
sup...@globus.org, we can try to help further. However, if the issue
is that you were unable to make any outbound connections (to our service
on TCP 2223 for instance), only your local network admins can help.

Mike
> > then get directed to auth.globus.org <http://auth.globus.org>
> <http://auth.globus.org>', port=443): Max retries
> > exceeded with url: /v2/oauth2/token (Caused by SSLError(SSLError(1,
> > '[SSL: CERTIFICATE_VERIFY_FAILED] certificate
> > verify failed (_ssl.c:877)'),))
> > During handling of the above exception, another exception occurred:
> > Traceback (most recent call last):
> >   File "globus_sdk/base.py", line 467, in send_request
> >   File "requests/sessions.py", line 542, in request
> >   File "requests/sessions.py", line 655, in send
> >   File "requests/adapters.py", line 514, in send
> > requests.exceptions.SSLError:
> > HTTPSConnectionPool(host='auth.globus.org
> <http://auth.globus.org>', port=443): Max retries
Reply all
Reply to author
Forward
0 new messages