Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Error when authenticating to Enterprise Box #240

Open
nickp60 opened this issue Jul 12, 2023 · 0 comments
Open

SSL Error when authenticating to Enterprise Box #240

nickp60 opened this issue Jul 12, 2023 · 0 comments

Comments

@nickp60
Copy link

nickp60 commented Jul 12, 2023

Hi boxr folks!
I am trying to get this configured with enterprise box. I followed the steps outlined in the guide, with the addition of adding the localhost to list of redirects as outlined in issue #58

When I run box_auth, I get prompted to login as expected. I selected the SSO option, entered my credentials, and clicked approve when prompted to allow the app access to the files. I am then redirected to localhost page showing:

Authentication complete. Please close this page and return to R.

However in R, I see the following error.

box_auth()
Using `BOX_CLIENT_ID` from environment
Using `BOX_CLIENT_SECRET` from environment
Waiting for authentication in browser...
Press Esc/Ctrl + C to abort
Authentication complete.
Error: LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to app.box.com:443 
Retrying in 1 seconds.
Waiting for authentication in browser...
Press Esc/Ctrl + C to abort

The ~/.boxr-oauth file is created but empty.

I was able to solve this by replacing app.box.com with <enterprise_url>.box.com, so I'm going to make a PR for adding an optional URL argument during authentication .

Truncated system info

R version 4.1.2 (2021-11-01)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 11.7.1

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] boxr_0.3.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant