daranzolin / rcanvas

R Client for Canvas LMS API
Other
90 stars 43 forks source link

uploading files no longer working #46

Open tormodb opened 4 years ago

tormodb commented 4 years ago

Thanks for this fantastic package, I really hope you are able to recruit a new maintainer for this! I am not sure if this is an easy fix or not, but when I try to upload files I am getting the following error:

Error in curl::curl_fetch_memory(url, handle = handle) : HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

Is that due to an API change at canvas you think?

bbbruce commented 4 years ago

Please see if the changes I pushed a10c15dd193c444c82107f375d21107569294cdc just now solved your problem. Please note that I've changed the "setup" in two ways. First, the API token is now more securely stored in your OS's keyring and that setting the domain is a per session setting.

scottkosty commented 3 years ago

@tormodb Do you have time to test the fix (see the comment above)?

tormodb commented 3 years ago

hi @scottkosty - sorry for taking so long to respond, but YES - this works now. Fantastic work!

scottkosty commented 3 years ago

@tormodb Thanks for confirming! Glad that the fix by @bbbruce works for you.