Code Monkey home page Code Monkey logo

Comments (6)

brendan-r avatar brendan-r commented on June 23, 2024

Hey @martinbruckner ,

I'm using R 3.3.2; this is not the cause.

The errors do not come from boxr but from the httr/curl packages, upon which boxr depends. Reinstalling them is probably a good start. Other than that, I suggest you look for help with those packages (e.g. perform a web search for the error message(s)).

Sorry I can't be more help!

from boxr.

james-matthiesen avatar james-matthiesen commented on June 23, 2024

Hello. Was a solution ever found to this problem? I am experiencing the exact same issue and exact same error message.

> box_auth()
Reading client id from .Renviron
Reading client secret from .Renviron
Waiting for authentication in browser...
Press Esc/Ctrl + C to abort
Authentication complete.
Error in curl::curl_fetch_memory(url, handle = handle) :
Failure when receiving data from the peer

The only thing that has changed since I my last successful use of this package was the R update. I'm afraid I'm still very much an R novice. I understand that the error has to do with the token2.0 creation, but I have difficulty understanding how to investigate the curl error. The internet suggests that it has to do with the certificate my computer is using but this error message in particular has not been getting a lot of love on Stack Overflow, and I'm just about at my wit's end.
@martinbruckner
Did you have any success fixing this error?

from boxr.

martinbruckner avatar martinbruckner commented on June 23, 2024

I have reinstalled the httr and curl packages, but without success.

from boxr.

james-matthiesen avatar james-matthiesen commented on June 23, 2024

That mirrors my process too. Thank you for the response. I'll keep looking.

from boxr.

brendan-r avatar brendan-r commented on June 23, 2024

I would raise this error on the GH issues page for the curl package. I'd include the output of sessionInfo().

You could also try resetting your local token (will require re-authorizing your app, e.g. clicking 'OK' in a browser), by running box_fresh_auth().

from boxr.

james-matthiesen avatar james-matthiesen commented on June 23, 2024

Thank you, I appreciate the help.

from boxr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.